1 | # $Id: Makefile.kmk 12980 2008-10-04 21:20:46Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for the VMM.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | SUB_DEPTH = ../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | # Include sub-makefiles.
|
---|
26 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
27 |
|
---|
28 |
|
---|
29 | #
|
---|
30 | # VMMR3.dll
|
---|
31 | #
|
---|
32 | LIBRARIES += VMMR3
|
---|
33 |
|
---|
34 | VMMR3_TEMPLATE = VBOXR3
|
---|
35 | VMMR3_DEFS = IN_VMM_R3 IN_PDM_R3 IN_CFGM_R3 IN_IOM_R3 IN_VM_R3 IN_CPUM_R3 IN_SELM_R3 IN_PGM_R3 IN_TRPM_R3 IN_MM_R3 IN_DBG_R3 \
|
---|
36 | IN_DBGF_R3 IN_PATM_R3 IN_DIS_R3 IN_STAM_R3 IN_CSAM_R3 IN_EM_R3 IN_TM_R3 IN_SSM_R3 IN_HWACCM_R3 IN_GMM_R3
|
---|
37 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
38 | VMMR3_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
39 | endif
|
---|
40 | ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
41 | VMMR3_DEFS += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
42 | endif
|
---|
43 | VMMR3_INCS := \
|
---|
44 | $(PATH_SUB_CURRENT) \
|
---|
45 | PATM
|
---|
46 |
|
---|
47 | VMMR3_SOURCES = \
|
---|
48 | CFGM.cpp \
|
---|
49 | CPUM.cpp \
|
---|
50 | CPUMStack.cpp \
|
---|
51 | DBGF.cpp \
|
---|
52 | DBGFAddr.cpp \
|
---|
53 | DBGFBp.cpp \
|
---|
54 | DBGFDisas.cpp \
|
---|
55 | DBGFInfo.cpp \
|
---|
56 | DBGFLog.cpp \
|
---|
57 | DBGFMem.cpp \
|
---|
58 | DBGFOS.cpp \
|
---|
59 | DBGFStack.cpp \
|
---|
60 | DBGFSym.cpp \
|
---|
61 | EM.cpp \
|
---|
62 | IOM.cpp \
|
---|
63 | GMM.cpp \
|
---|
64 | MM.cpp \
|
---|
65 | MMHeap.cpp \
|
---|
66 | MMHyper.cpp \
|
---|
67 | MMPagePool.cpp \
|
---|
68 | MMPhys.cpp \
|
---|
69 | PDM.cpp \
|
---|
70 | PDMDevice.cpp \
|
---|
71 | PDMDevHlp.cpp \
|
---|
72 | PDMDevMiscHlp.cpp \
|
---|
73 | PDMDriver.cpp \
|
---|
74 | PDMLdr.cpp \
|
---|
75 | PDMCritSect.cpp \
|
---|
76 | PDMQueue.cpp \
|
---|
77 | PDMThread.cpp \
|
---|
78 | PGM.cpp \
|
---|
79 | PGMDbg.cpp \
|
---|
80 | PGMHandler.cpp \
|
---|
81 | PGMMap.cpp \
|
---|
82 | PGMPhys.cpp \
|
---|
83 | PGMPool.cpp \
|
---|
84 | SELM.cpp \
|
---|
85 | SSM.cpp \
|
---|
86 | STAM.cpp \
|
---|
87 | TM.cpp \
|
---|
88 | TRPM.cpp \
|
---|
89 | VM.cpp \
|
---|
90 | VMEmt.cpp \
|
---|
91 | VMReq.cpp \
|
---|
92 | VMM.cpp \
|
---|
93 | VMMTests.cpp \
|
---|
94 | HWACCM.cpp \
|
---|
95 | VMMAll/CPUMAllRegs.cpp \
|
---|
96 | VMMAll/DBGFAll.cpp \
|
---|
97 | VMMAll/HWACCMAll.cpp \
|
---|
98 | VMMAll/IOMAll.cpp \
|
---|
99 | VMMAll/IOMAllMMIO.cpp \
|
---|
100 | VMMAll/MMAll.cpp \
|
---|
101 | VMMAll/MMAllHyper.cpp \
|
---|
102 | VMMAll/MMAllPagePool.cpp \
|
---|
103 | VMMAll/PDMAll.cpp \
|
---|
104 | VMMAll/PDMAllCritSect.cpp \
|
---|
105 | VMMAll/PDMAllQueue.cpp \
|
---|
106 | VMMAll/PGMAll.cpp \
|
---|
107 | VMMAll/PGMAllHandler.cpp \
|
---|
108 | VMMAll/PGMAllMap.cpp \
|
---|
109 | VMMAll/PGMAllPhys.cpp \
|
---|
110 | VMMAll/PGMAllPool.cpp \
|
---|
111 | VMMAll/SELMAll.cpp \
|
---|
112 | VMMAll/EMAll.cpp \
|
---|
113 | VMMAll/EMAllA.asm \
|
---|
114 | VMMAll/TMAll.cpp \
|
---|
115 | VMMAll/TMAllCpu.cpp \
|
---|
116 | VMMAll/TMAllReal.cpp \
|
---|
117 | VMMAll/TMAllVirtual.cpp \
|
---|
118 | VMMAll/TRPMAll.cpp \
|
---|
119 | VMMAll/VMAll.cpp \
|
---|
120 | VMMAll/VMMAll.cpp \
|
---|
121 | PATM/CSAM.cpp \
|
---|
122 | PATM/VMMAll/CSAMAll.cpp \
|
---|
123 | PATM/PATM.cpp \
|
---|
124 | PATM/PATMPatch.cpp \
|
---|
125 | PATM/PATMGuest.cpp \
|
---|
126 | PATM/PATMA.asm \
|
---|
127 | PATM/PATMSSM.cpp \
|
---|
128 | PATM/VMMAll/PATMAll.cpp
|
---|
129 | VMMR3_SOURCES.x86 += \
|
---|
130 | VMMSwitcher/32BitTo32Bit.asm \
|
---|
131 | VMMSwitcher/32BitToPAE.asm \
|
---|
132 | VMMSwitcher/PAETo32Bit.asm \
|
---|
133 | VMMSwitcher/PAEToPAE.asm
|
---|
134 | VMMR3_SOURCES.amd64 = \
|
---|
135 | VMMSwitcher/AMD64ToPAE.asm
|
---|
136 | VMMR3_SOURCES.darwin.x86 += \
|
---|
137 | VMMSwitcher/AMD64ToPAE.asm
|
---|
138 |
|
---|
139 | ifdef VBOX_WITH_USB
|
---|
140 | VMMR3_DEFS += VBOX_WITH_USB
|
---|
141 | VMMR3_SOURCES += PDMUsb.cpp
|
---|
142 | endif
|
---|
143 |
|
---|
144 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
145 | VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
146 | VMMR3_DEFS.linux += __USE_FILE_OFFSET64 __USE_LARGEFILE64
|
---|
147 | VMMR3_SOURCES += PDMAsyncCompletion.cpp
|
---|
148 | VMMR3_SOURCES.linux += \
|
---|
149 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
150 | PDMAsyncCompletionHostPosix.cpp
|
---|
151 |
|
---|
152 | VMMR3_SOURCES.win += \
|
---|
153 | PDMAsyncCompletionSocketWin.cpp \
|
---|
154 | PDMAsyncCompletionHostWin.cpp
|
---|
155 |
|
---|
156 | VMMR3_SOURCES.solaris += \
|
---|
157 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
158 | PDMAsyncCompletionHostSolaris.cpp
|
---|
159 |
|
---|
160 | VMMR3_SOURCES.darwin += \
|
---|
161 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
162 | PDMAsyncCompletionHostPosix.cpp
|
---|
163 |
|
---|
164 | VMMR3_SOURCES.freebsd += \
|
---|
165 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
166 | PDMAsyncCompletionHostFreeBSD.cpp
|
---|
167 |
|
---|
168 | endif
|
---|
169 |
|
---|
170 | #
|
---|
171 | # The VMM DLL.
|
---|
172 | #
|
---|
173 | DLLS += VBoxVMM
|
---|
174 |
|
---|
175 | VBoxVMM_TEMPLATE = VBOXR3
|
---|
176 | VBoxVMM_DEFS = $(VMMR3_DEFS)
|
---|
177 | VBoxVMM_SOURCES = VBoxVMMDeps.cpp
|
---|
178 | VBoxVMM_SONAME.linux = VBoxVMM.so
|
---|
179 |
|
---|
180 | VBoxVMM_LIBS = \
|
---|
181 | $(PATH_LIB)/VMMR3$(VBOX_SUFF_LIB) \
|
---|
182 | $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
183 | ifdef VBOX_WITH_DEBUGGER
|
---|
184 | VBoxVMM_LIBS += \
|
---|
185 | $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB)
|
---|
186 | endif
|
---|
187 | VBoxVMM_LIBS += \
|
---|
188 | $(LIB_REM) \
|
---|
189 | $(LIB_RUNTIME)
|
---|
190 |
|
---|
191 | VBoxVMM_LIBS.win = $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
|
---|
192 | VBoxVMM_LDFLAGS.win = /DELAYLOAD:dbghelp.dll
|
---|
193 | VBoxVMM_LDFLAGS.linux = -Wl,--no-undefined
|
---|
194 | VBoxVMM_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxVMM.dylib
|
---|
195 | VBoxVMM_LDFLAGS.solaris = -mimpure-text
|
---|
196 | #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
197 | # ifeq ($(KBUILD_HOST), linux)
|
---|
198 | #VBoxVMM_LIBS += aio
|
---|
199 | # endif
|
---|
200 | #endif
|
---|
201 |
|
---|
202 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
203 |
|
---|
204 | #
|
---|
205 | # VMMGCBuiltin.lib
|
---|
206 | #
|
---|
207 | LIBRARIES += VMMGCBuiltin
|
---|
208 | VMMGCBuiltin_TEMPLATE = VBOXGC
|
---|
209 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
210 | VMMGCBuiltin_SOURCES = VMMGC/VMMGCBuiltin.def
|
---|
211 | endif
|
---|
212 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
213 | VMMGCBuiltin_SOURCES = $(PATH_VMMGCBuiltin)/VMMGCBuiltin.def
|
---|
214 | $$(PATH_VMMGCBuiltin)/VMMGCBuiltin.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGCBuiltin.def | $$(dir $$@)
|
---|
215 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
|
---|
216 | endif
|
---|
217 |
|
---|
218 |
|
---|
219 | #
|
---|
220 | # VMMGCImp.lib
|
---|
221 | #
|
---|
222 | LIBRARIES += VMMGCImp
|
---|
223 | VMMGCImp_TEMPLATE = VBOXGC
|
---|
224 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
225 | VMMGCImp_SOURCES = VMMGC/VMMGC.def
|
---|
226 | endif
|
---|
227 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
228 | VMMGCImp_SOURCES = $(PATH_VMMGCImp)/VMMGC.def
|
---|
229 | $$(PATH_VMMGCImp)/VMMGC.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGC.def | $$(dir $$@)
|
---|
230 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
|
---|
231 | $(APPEND) "$@" ""
|
---|
232 | $(APPEND) "$@" " ___ehInit"
|
---|
233 | endif
|
---|
234 |
|
---|
235 | endif # GC: pe + lx
|
---|
236 |
|
---|
237 |
|
---|
238 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
239 | #
|
---|
240 | # VMMR0Imp.lib
|
---|
241 | #
|
---|
242 | LIBRARIES += VMMR0Imp
|
---|
243 | VMMR0Imp_TEMPLATE = VBOXR0
|
---|
244 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
245 | VMMR0Imp_SOURCES = VMMR0/VMMR0.def
|
---|
246 | endif
|
---|
247 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
248 | VMMR0Imp_SOURCES = $(PATH_VMMR0Imp)/VMMR0.def
|
---|
249 | $$(PATH_VMMR0Imp)/VMMR0.def: $(PATH_SUB_CURRENT)/VMMR0/VMMR0.def | $$(dir $$@)
|
---|
250 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
|
---|
251 | $(APPEND) "$@" ""
|
---|
252 | $(APPEND) "$@" " ___ehInit"
|
---|
253 | endif
|
---|
254 | endif # R0: pe + lx
|
---|
255 |
|
---|
256 |
|
---|
257 | #
|
---|
258 | # VMMGC.gc
|
---|
259 | #
|
---|
260 | SYSMODS += VMMGC
|
---|
261 | VMMGC_TEMPLATE = VBOXGC
|
---|
262 | VMMGC_INCS := \
|
---|
263 | $(PATH_SUB_CURRENT) \
|
---|
264 | VMMGC \
|
---|
265 | PATM
|
---|
266 | VMMGC_DEFS = IN_VMM_GC IN_PDM_GC IN_CFGM_GC IN_IOM_GC IN_MM_GC IN_RT_GC IN_TRPM_GC IN_SELM_GC IN_VM_GC IN_IOM_GC IN_DIS_GC DIS_CORE_ONLY IN_PGM_GC IN_CPUM_GC IN_EM_GC IN_TM_GC IN_PATM_GC IN_CSAM_GC IN_REM_GC IN_DBGF_GC
|
---|
267 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
268 | VMMGC_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
269 | endif
|
---|
270 | VMMGC_SYSSUFF = .gc
|
---|
271 | VMMGC_LIBS = \
|
---|
272 | $(PATH_LIB)/DisasmGC$(VBOX_SUFF_LIB) \
|
---|
273 | $(PATH_LIB)/RuntimeGC$(VBOX_SUFF_LIB)
|
---|
274 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
275 | VMMGC_LIBS += \
|
---|
276 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB)
|
---|
277 | endif
|
---|
278 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
279 | VMMGC_LDFLAGS = -Entry:VMMGCEntry
|
---|
280 | endif
|
---|
281 | VMMGC_SOURCES = \
|
---|
282 | VMMGC/VMMGC0.asm \
|
---|
283 | VMMGC/VMMGCDeps.cpp \
|
---|
284 | VMMGC/CPUMGC.cpp \
|
---|
285 | VMMGC/CPUMGCA.asm \
|
---|
286 | VMMGC/EMGCA.asm \
|
---|
287 | VMMGC/DBGFGC.cpp \
|
---|
288 | VMMGC/IOMGC.cpp \
|
---|
289 | VMMGC/MMRamGC.cpp \
|
---|
290 | VMMGC/MMRamGCA.asm \
|
---|
291 | VMMGC/PDMGCDevice.cpp \
|
---|
292 | VMMGC/PGMGC.cpp \
|
---|
293 | VMMGC/SELMGC.cpp \
|
---|
294 | VMMGC/TRPMGC.cpp \
|
---|
295 | VMMGC/TRPMGCHandlers.cpp \
|
---|
296 | VMMGC/TRPMGCHandlersA.asm \
|
---|
297 | VMMGC/VMMGC.cpp \
|
---|
298 | VMMGC/VMMGCA.asm \
|
---|
299 | VMMAll/CPUMAllRegs.cpp \
|
---|
300 | VMMAll/CPUMAllA.asm \
|
---|
301 | VMMAll/DBGFAll.cpp \
|
---|
302 | VMMAll/IOMAll.cpp \
|
---|
303 | VMMAll/IOMAllMMIO.cpp \
|
---|
304 | VMMAll/EMAll.cpp \
|
---|
305 | VMMAll/EMAllA.asm \
|
---|
306 | VMMAll/MMAll.cpp \
|
---|
307 | VMMAll/MMAllHyper.cpp \
|
---|
308 | VMMAll/PDMAll.cpp \
|
---|
309 | VMMAll/PDMAllCritSect.cpp \
|
---|
310 | VMMAll/PDMAllQueue.cpp \
|
---|
311 | VMMAll/PGMAll.cpp \
|
---|
312 | VMMAll/PGMAllHandler.cpp \
|
---|
313 | VMMAll/PGMAllMap.cpp \
|
---|
314 | VMMAll/PGMAllPhys.cpp \
|
---|
315 | VMMAll/PGMAllPool.cpp \
|
---|
316 | VMMAll/REMAll.cpp \
|
---|
317 | VMMAll/SELMAll.cpp \
|
---|
318 | VMMAll/TMAll.cpp \
|
---|
319 | VMMAll/TMAllCpu.cpp \
|
---|
320 | VMMAll/TMAllReal.cpp \
|
---|
321 | VMMAll/TMAllVirtual.cpp \
|
---|
322 | VMMAll/TRPMAll.cpp \
|
---|
323 | VMMAll/VMAll.cpp \
|
---|
324 | VMMAll/VMMAll.cpp \
|
---|
325 | PATM/VMMGC/CSAMGC.cpp \
|
---|
326 | PATM/VMMAll/CSAMAll.cpp \
|
---|
327 | PATM/VMMGC/PATMGC.cpp \
|
---|
328 | PATM/VMMAll/PATMAll.cpp
|
---|
329 |
|
---|
330 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
331 | VMMGC_SOURCES += VMMGC/VMMGC.def
|
---|
332 | endif
|
---|
333 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
334 | VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def
|
---|
335 | endif
|
---|
336 |
|
---|
337 | # the very last one.
|
---|
338 | VMMGC_SOURCES += VMMGC/VMMGC99.asm
|
---|
339 |
|
---|
340 | VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c
|
---|
341 |
|
---|
342 |
|
---|
343 | #
|
---|
344 | # VMMR0.r0
|
---|
345 | #
|
---|
346 | SYSMODS += VMMR0
|
---|
347 | VMMR0_TEMPLATE = VBOXR0
|
---|
348 | VMMR0_INCS := \
|
---|
349 | $(PATH_SUB_CURRENT) \
|
---|
350 | PATM
|
---|
351 | VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_TRPM_R0 IN_CPUM_R0 IN_VM_R0 IN_TM_R0 IN_INTNET_R0 IN_HWACCM_R0 IN_EM_R0 IN_PDM_R0 IN_PGM_R0 IN_DIS_R0 IN_MM_R0 IN_SELM_R0 IN_CSAM_R0 IN_PATM_R0 IN_DBGF_R0 IN_REM_R0 IN_IOM_R0 IN_GVMM_R0 IN_GMM_R0 DIS_CORE_ONLY
|
---|
352 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
353 | VMMR0_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
354 | endif
|
---|
355 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
356 | VMMR0_LDFLAGS = -Entry:VMMR0EntryEx
|
---|
357 | endif
|
---|
358 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
359 | VMMR0_LDFLAGS = -e VMMR0EntryEx
|
---|
360 | endif
|
---|
361 | VMMR0_SYSSUFF = .r0
|
---|
362 | VMMR0_SOURCES = \
|
---|
363 | VMMR0/CPUMR0.cpp \
|
---|
364 | VMMR0/DBGFR0.cpp \
|
---|
365 | VMMR0/GMMR0.cpp \
|
---|
366 | VMMR0/GVMMR0.cpp \
|
---|
367 | VMMR0/HWACCMR0.cpp \
|
---|
368 | VMMR0/HWACCMR0A.asm \
|
---|
369 | VMMR0/HWSVMR0.cpp \
|
---|
370 | VMMR0/HWVMXR0.cpp \
|
---|
371 | VMMR0/PDMR0Device.cpp \
|
---|
372 | VMMR0/PGMR0.cpp \
|
---|
373 | VMMR0/TRPMR0.cpp \
|
---|
374 | VMMR0/TRPMR0A.asm \
|
---|
375 | VMMR0/VMMR0.cpp \
|
---|
376 | VMMR0/VMMR0A.asm \
|
---|
377 | VMMAll/CPUMAllA.asm \
|
---|
378 | VMMAll/CPUMAllRegs.cpp \
|
---|
379 | VMMAll/DBGFAll.cpp \
|
---|
380 | VMMAll/EMAll.cpp \
|
---|
381 | VMMAll/EMAllA.asm \
|
---|
382 | VMMAll/HWACCMAll.cpp \
|
---|
383 | VMMAll/IOMAll.cpp \
|
---|
384 | VMMAll/IOMAllMMIO.cpp \
|
---|
385 | VMMAll/MMAll.cpp \
|
---|
386 | VMMAll/MMAllHyper.cpp \
|
---|
387 | VMMAll/MMAllPagePool.cpp \
|
---|
388 | VMMAll/PDMAll.cpp \
|
---|
389 | VMMAll/PDMAllCritSect.cpp \
|
---|
390 | VMMAll/PDMAllQueue.cpp \
|
---|
391 | VMMAll/PGMAll.cpp \
|
---|
392 | VMMAll/PGMAllHandler.cpp \
|
---|
393 | VMMAll/PGMAllMap.cpp \
|
---|
394 | VMMAll/PGMAllPhys.cpp \
|
---|
395 | VMMAll/PGMAllPool.cpp \
|
---|
396 | VMMAll/REMAll.cpp \
|
---|
397 | VMMAll/SELMAll.cpp \
|
---|
398 | VMMAll/TMAll.cpp \
|
---|
399 | VMMAll/TMAllCpu.cpp \
|
---|
400 | VMMAll/TMAllReal.cpp \
|
---|
401 | VMMAll/TMAllVirtual.cpp \
|
---|
402 | VMMAll/TRPMAll.cpp \
|
---|
403 | VMMAll/VMAll.cpp \
|
---|
404 | VMMAll/VMMAll.cpp \
|
---|
405 |
|
---|
406 |
|
---|
407 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
408 | VMMR0_SOURCES += VMMR0/VMMR0.def
|
---|
409 | endif
|
---|
410 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
411 | VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def
|
---|
412 | endif
|
---|
413 |
|
---|
414 | VMMR0_LIBS = \
|
---|
415 | $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \
|
---|
416 | $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
|
---|
417 | $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB)
|
---|
418 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
419 | VMMR0_LIBS += \
|
---|
420 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
421 | endif
|
---|
422 |
|
---|
423 | #
|
---|
424 | # For vmmGetSvnRev.
|
---|
425 | #
|
---|
426 | VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
427 |
|
---|
428 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
429 |
|
---|
430 |
|
---|
431 | # Alias the PGM templates to the object in which they are defined.
|
---|
432 | PGMBth.o PGMGst.o PGMShw.o \
|
---|
433 | PGMBth.obj PGMGst.obj PGMShw.obj: PGM.o
|
---|
434 | PGMAllBth.o PGMAllGst.o PGMAllShw.o \
|
---|
435 | PGMAllBth.obj PGMAllGst.obj PGMAllShw.obj: PGMAll.o
|
---|
436 | PGMGCBth.o PGMGCGst.o PGMGCShw.o \
|
---|
437 | PGMGCBth.obj PGMGCGst.obj PGMGCShw.obj: PGMGC.o
|
---|
438 | PGMPhysRWTmpl.o PGMPhysRWTmpl.obj: PGMPhys.o
|
---|
439 |
|
---|