1 | # $Id: Makefile.kmk 8155 2008-04-18 15:16:47Z 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 | DEPTH = ../../..
|
---|
23 | include $(PATH_KBUILD)/subheader.kmk
|
---|
24 |
|
---|
25 | ## @todo get rid of these.
|
---|
26 | # Enable the PDM lock.
|
---|
27 | ifdef VBOX_WITH_PDM_LOCK
|
---|
28 | DEFS += VBOX_WITH_PDM_LOCK
|
---|
29 | endif
|
---|
30 | ifdef VBOX_WITH_INTERNAL_NETWORKING
|
---|
31 | DEFS += VBOX_WITH_INTERNAL_NETWORKING
|
---|
32 | endif
|
---|
33 |
|
---|
34 | # Include sub-makefiles.
|
---|
35 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
36 |
|
---|
37 |
|
---|
38 | #
|
---|
39 | # VMMR3.dll
|
---|
40 | #
|
---|
41 | LIBRARIES += VMMR3
|
---|
42 |
|
---|
43 | VMMR3_TEMPLATE = VBOXR3
|
---|
44 | 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 \
|
---|
45 | 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
|
---|
46 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
47 | VMMR3_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
48 | endif
|
---|
49 | ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
50 | VMMR3_DEFS += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
51 | endif
|
---|
52 | VMMR3_INCS := \
|
---|
53 | PATM \
|
---|
54 | $(PATH_SUB_CURRENT)
|
---|
55 |
|
---|
56 | VMMR3_SOURCES = \
|
---|
57 | CFGM.cpp \
|
---|
58 | CPUM.cpp \
|
---|
59 | CPUMStack.cpp \
|
---|
60 | DBGF.cpp \
|
---|
61 | DBGFAddr.cpp \
|
---|
62 | DBGFBp.cpp \
|
---|
63 | DBGFDisas.cpp \
|
---|
64 | DBGFInfo.cpp \
|
---|
65 | DBGFLog.cpp \
|
---|
66 | DBGFMem.cpp \
|
---|
67 | DBGFStack.cpp \
|
---|
68 | DBGFSym.cpp \
|
---|
69 | EM.cpp \
|
---|
70 | IOM.cpp \
|
---|
71 | GMM.cpp \
|
---|
72 | MM.cpp \
|
---|
73 | MMHeap.cpp \
|
---|
74 | MMHyper.cpp \
|
---|
75 | MMPagePool.cpp \
|
---|
76 | MMPhys.cpp \
|
---|
77 | PDM.cpp \
|
---|
78 | PDMDevice.cpp \
|
---|
79 | PDMDriver.cpp \
|
---|
80 | PDMLdr.cpp \
|
---|
81 | PDMCritSect.cpp \
|
---|
82 | PDMQueue.cpp \
|
---|
83 | PDMThread.cpp \
|
---|
84 | PGM.cpp \
|
---|
85 | PGMDbg.cpp \
|
---|
86 | PGMHandler.cpp \
|
---|
87 | PGMMap.cpp \
|
---|
88 | PGMPhys.cpp \
|
---|
89 | PGMPool.cpp \
|
---|
90 | SELM.cpp \
|
---|
91 | SSM.cpp \
|
---|
92 | STAM.cpp \
|
---|
93 | TM.cpp \
|
---|
94 | TRPM.cpp \
|
---|
95 | VM.cpp \
|
---|
96 | VMEmt.cpp \
|
---|
97 | VMReq.cpp \
|
---|
98 | VMM.cpp \
|
---|
99 | VMMTests.cpp \
|
---|
100 | HWACCM.cpp \
|
---|
101 | VMMAll/CPUMAllRegs.cpp \
|
---|
102 | VMMAll/DBGFAll.cpp \
|
---|
103 | VMMAll/IOMAll.cpp \
|
---|
104 | VMMAll/IOMAllMMIO.cpp \
|
---|
105 | VMMAll/MMAll.cpp \
|
---|
106 | VMMAll/MMAllHyper.cpp \
|
---|
107 | VMMAll/MMAllPagePool.cpp \
|
---|
108 | VMMAll/MMAllPhys.cpp \
|
---|
109 | VMMAll/PDMAll.cpp \
|
---|
110 | VMMAll/PDMAllCritSect.cpp \
|
---|
111 | VMMAll/PDMAllQueue.cpp \
|
---|
112 | VMMAll/PGMAll.cpp \
|
---|
113 | VMMAll/PGMAllHandler.cpp \
|
---|
114 | VMMAll/PGMAllMap.cpp \
|
---|
115 | VMMAll/PGMAllPhys.cpp \
|
---|
116 | VMMAll/PGMAllPool.cpp \
|
---|
117 | VMMAll/SELMAll.cpp \
|
---|
118 | VMMAll/EMAll.cpp \
|
---|
119 | VMMAll/EMAllA.asm \
|
---|
120 | VMMAll/TMAll.cpp \
|
---|
121 | VMMAll/TMAllCpu.cpp \
|
---|
122 | VMMAll/TMAllReal.cpp \
|
---|
123 | VMMAll/TMAllVirtual.cpp \
|
---|
124 | VMMAll/TRPMAll.cpp \
|
---|
125 | VMMAll/VMAll.cpp \
|
---|
126 | VMMAll/VMMAll.cpp \
|
---|
127 | PATM/CSAM.cpp \
|
---|
128 | PATM/VMMAll/CSAMAll.cpp \
|
---|
129 | PATM/PATM.cpp \
|
---|
130 | PATM/PATMPatch.cpp \
|
---|
131 | PATM/PATMGuest.cpp \
|
---|
132 | PATM/PATMA.asm \
|
---|
133 | PATM/PATMSSM.cpp \
|
---|
134 | PATM/VMMAll/PATMAll.cpp
|
---|
135 | VMMR3_SOURCES.x86 += \
|
---|
136 | VMMSwitcher/32BitTo32Bit.asm \
|
---|
137 | VMMSwitcher/32BitToPAE.asm \
|
---|
138 | VMMSwitcher/PAETo32Bit.asm \
|
---|
139 | VMMSwitcher/PAEToPAE.asm
|
---|
140 | VMMR3_SOURCES.amd64 = \
|
---|
141 | VMMSwitcher/AMD64ToPAE.asm
|
---|
142 | VMMR3_SOURCES.darwin.x86 += \
|
---|
143 | VMMSwitcher/AMD64ToPAE.asm
|
---|
144 |
|
---|
145 | ifdef VBOX_WITH_USB
|
---|
146 | VMMR3_DEFS += VBOX_WITH_USB
|
---|
147 | VMMR3_SOURCES += PDMUsb.cpp
|
---|
148 | endif
|
---|
149 |
|
---|
150 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
151 | VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
152 | VMMR3_DEFS.linux += __USE_FILE_OFFSET64 __USE_LARGEFILE64
|
---|
153 | VMMR3_SOURCES += PDMAsyncCompletion.cpp
|
---|
154 | VMMR3_SOURCES.linux += \
|
---|
155 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
156 | PDMAsyncCompletionHostLinux.cpp \
|
---|
157 | PDMAsyncCompletionHostPosix.cpp
|
---|
158 |
|
---|
159 | VMMR3_SOURCES.win += \
|
---|
160 | PDMAsyncCompletionSocketWin.cpp \
|
---|
161 | PDMAsyncCompletionHostWin.cpp
|
---|
162 |
|
---|
163 | VMMR3_SOURCES.solaris += \
|
---|
164 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
165 | PDMAsyncCompletionHostSolaris.cpp
|
---|
166 |
|
---|
167 | VMMR3_SOURCES.darwin += \
|
---|
168 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
169 | PDMAsyncCompletionHostDarwin.cpp
|
---|
170 |
|
---|
171 | VMMR3_SOURCES.freebsd += \
|
---|
172 | PDMAsyncCompletionSocketPosix.cpp \
|
---|
173 | PDMAsyncCompletionHostDarwin.cpp
|
---|
174 |
|
---|
175 | endif
|
---|
176 |
|
---|
177 | #
|
---|
178 | # The VMM DLL.
|
---|
179 | #
|
---|
180 | DLLS += VBoxVMM
|
---|
181 | VBoxVMM_TEMPLATE = VBOXR3
|
---|
182 | VBoxVMM_DEFS = $(VMMR3_DEFS)
|
---|
183 | VBoxVMM_SOURCES = VBoxVMMDeps.cpp
|
---|
184 | VBoxVMM_SONAME.linux = VBoxVMM.so
|
---|
185 |
|
---|
186 | VBoxVMM_LIBS = \
|
---|
187 | $(PATH_LIB)/VMMR3$(VBOX_SUFF_LIB) \
|
---|
188 | $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
189 | ifdef VBOX_WITH_DEBUGGER
|
---|
190 | VBoxVMM_LIBS += \
|
---|
191 | $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB)
|
---|
192 | endif
|
---|
193 | VBoxVMM_LIBS += \
|
---|
194 | $(LIB_REM) \
|
---|
195 | $(LIB_RUNTIME)
|
---|
196 |
|
---|
197 | VBoxVMM_LIBS.win = $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
|
---|
198 | VBoxVMM_LDFLAGS.win = /DELAYLOAD:dbghelp.dll
|
---|
199 | VBoxVMM_LDFLAGS.linux = -Wl,--no-undefined
|
---|
200 | VBoxVMM_LDFLAGS.darwin = -install_name @executable_path/VBoxVMM.dylib
|
---|
201 | VBoxVMM_LDFLAGS.solaris = -mimpure-text
|
---|
202 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
203 | ifeq ($(BUILD_PLATFORM), linux)
|
---|
204 | VBoxVMM_LIBS += aio
|
---|
205 | endif
|
---|
206 | endif
|
---|
207 |
|
---|
208 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
209 |
|
---|
210 | #
|
---|
211 | # VMMGCBuiltin.lib
|
---|
212 | #
|
---|
213 | LIBRARIES += VMMGCBuiltin
|
---|
214 | VMMGCBuiltin_TEMPLATE = VBOXGC
|
---|
215 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
216 | VMMGCBuiltin_SOURCES = VMMGC/VMMGCBuiltin.def
|
---|
217 | endif
|
---|
218 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
219 | VMMGCBuiltin_SOURCES = $(PATH_TARGET)/VMMGCBuiltin.def
|
---|
220 | $(PATH_TARGET)/VMMGCBuiltin.def: VMMGC/VMMGCBuiltin.def | $(call DIRDEP,$(PATH_TARGET))
|
---|
221 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > $@.tmp
|
---|
222 | $(MV) -f $@.tmp $@
|
---|
223 | endif
|
---|
224 |
|
---|
225 |
|
---|
226 | #
|
---|
227 | # VMMGCImp.lib
|
---|
228 | #
|
---|
229 | LIBRARIES += VMMGCImp
|
---|
230 | VMMGCImp_TEMPLATE = VBOXGC
|
---|
231 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
232 | VMMGCImp_SOURCES = VMMGC/VMMGC.def
|
---|
233 | endif
|
---|
234 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
235 | VMMGCImp_SOURCES = $(PATH_TARGET)/VMMGC.def
|
---|
236 | $(PATH_TARGET)/VMMGC.def: VMMGC/VMMGC.def | $(call DIRDEP,$(PATH_TARGET))
|
---|
237 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > $@.tmp
|
---|
238 | $(APPEND) "$@.tmp" ""
|
---|
239 | $(APPEND) "$@.tmp" " ___ehInit"
|
---|
240 | $(MV) -f $@.tmp $@
|
---|
241 | endif
|
---|
242 |
|
---|
243 | endif # GC: pe + lx
|
---|
244 |
|
---|
245 |
|
---|
246 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
247 | #
|
---|
248 | # VMMR0Imp.lib
|
---|
249 | #
|
---|
250 | LIBRARIES += VMMR0Imp
|
---|
251 | VMMR0Imp_TEMPLATE = VBOXR0
|
---|
252 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
253 | VMMR0Imp_SOURCES = VMMR0/VMMR0.def
|
---|
254 | endif
|
---|
255 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
256 | VMMR0Imp_SOURCES = $(PATH_TARGET)/VMMR0.def
|
---|
257 | $(PATH_TARGET)/VMMR0.def: VMMR0/VMMR0.def | $(call DIRDEP,$(PATH_TARGET))
|
---|
258 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > $@.tmp
|
---|
259 | $(APPEND) "$@.tmp" ""
|
---|
260 | $(APPEND) "$@.tmp" " ___ehInit"
|
---|
261 | $(MV) -f $@.tmp $@
|
---|
262 | endif
|
---|
263 | endif # R0: pe + lx
|
---|
264 |
|
---|
265 |
|
---|
266 | #
|
---|
267 | # VMMGC.gc
|
---|
268 | #
|
---|
269 | SYSMODS += VMMGC
|
---|
270 | VMMGC_TEMPLATE = VBOXGC
|
---|
271 | VMMGC_INCS := \
|
---|
272 | $(PATH_SUB_CURRENT) \
|
---|
273 | VMMGC \
|
---|
274 | PATM
|
---|
275 | 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
|
---|
276 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
277 | VMMGC_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
278 | endif
|
---|
279 | VMMGC_SYSSUFF = .gc
|
---|
280 | VMMGC_LIBS = \
|
---|
281 | $(PATH_LIB)/DisasmGC$(VBOX_SUFF_LIB) \
|
---|
282 | $(PATH_LIB)/RuntimeGC$(VBOX_SUFF_LIB)
|
---|
283 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
284 | VMMGC_LIBS += \
|
---|
285 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB)
|
---|
286 | endif
|
---|
287 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
288 | VMMGC_LDFLAGS = -Entry:VMMGCEntry
|
---|
289 | endif
|
---|
290 | VMMGC_SOURCES = \
|
---|
291 | VMMGC/VMMGC0.asm \
|
---|
292 | VMMGC/VMMGCDeps.cpp \
|
---|
293 | VMMGC/CPUMGC.cpp \
|
---|
294 | VMMGC/CPUMGCA.asm \
|
---|
295 | VMMGC/EMGCA.asm \
|
---|
296 | VMMGC/DBGFGC.cpp \
|
---|
297 | VMMGC/IOMGC.cpp \
|
---|
298 | VMMGC/MMRamGC.cpp \
|
---|
299 | VMMGC/MMRamGCA.asm \
|
---|
300 | VMMGC/PDMGCDevice.cpp \
|
---|
301 | VMMGC/PGMGC.cpp \
|
---|
302 | VMMGC/SELMGC.cpp \
|
---|
303 | VMMGC/TRPMGC.cpp \
|
---|
304 | VMMGC/TRPMGCHandlers.cpp \
|
---|
305 | VMMGC/TRPMGCHandlersA.asm \
|
---|
306 | VMMGC/VMMGC.cpp \
|
---|
307 | VMMGC/VMMGCA.asm \
|
---|
308 | VMMAll/CPUMAllRegs.cpp \
|
---|
309 | VMMAll/CPUMAllA.asm \
|
---|
310 | VMMAll/DBGFAll.cpp \
|
---|
311 | VMMAll/IOMAll.cpp \
|
---|
312 | VMMAll/IOMAllMMIO.cpp \
|
---|
313 | VMMAll/EMAll.cpp \
|
---|
314 | VMMAll/EMAllA.asm \
|
---|
315 | VMMAll/MMAll.cpp \
|
---|
316 | VMMAll/MMAllHyper.cpp \
|
---|
317 | VMMAll/PDMAll.cpp \
|
---|
318 | VMMAll/PDMAllCritSect.cpp \
|
---|
319 | VMMAll/PDMAllQueue.cpp \
|
---|
320 | VMMAll/PGMAll.cpp \
|
---|
321 | VMMAll/PGMAllHandler.cpp \
|
---|
322 | VMMAll/PGMAllMap.cpp \
|
---|
323 | VMMAll/PGMAllPhys.cpp \
|
---|
324 | VMMAll/PGMAllPool.cpp \
|
---|
325 | VMMAll/REMAll.cpp \
|
---|
326 | VMMAll/SELMAll.cpp \
|
---|
327 | VMMAll/TMAll.cpp \
|
---|
328 | VMMAll/TMAllCpu.cpp \
|
---|
329 | VMMAll/TMAllReal.cpp \
|
---|
330 | VMMAll/TMAllVirtual.cpp \
|
---|
331 | VMMAll/TRPMAll.cpp \
|
---|
332 | VMMAll/VMAll.cpp \
|
---|
333 | VMMAll/VMMAll.cpp \
|
---|
334 | PATM/VMMGC/CSAMGC.cpp \
|
---|
335 | PATM/VMMAll/CSAMAll.cpp \
|
---|
336 | PATM/VMMGC/PATMGC.cpp \
|
---|
337 | PATM/VMMAll/PATMAll.cpp
|
---|
338 |
|
---|
339 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
340 | VMMGC_SOURCES += VMMGC/VMMGC.def
|
---|
341 | endif
|
---|
342 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
343 | VMMGC_SOURCES += $(PATH_TARGET)/VMMGC.def
|
---|
344 | endif
|
---|
345 |
|
---|
346 | # the very last one.
|
---|
347 | VMMGC_SOURCES += VMMGC/VMMGC99.asm
|
---|
348 |
|
---|
349 | VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c
|
---|
350 |
|
---|
351 |
|
---|
352 | #
|
---|
353 | # VMMR0.r0
|
---|
354 | #
|
---|
355 | SYSMODS += VMMR0
|
---|
356 | VMMR0_TEMPLATE = VBOXR0
|
---|
357 | VMMR0_INCS := \
|
---|
358 | $(PATH_SUB_CURRENT) \
|
---|
359 | PATM
|
---|
360 | 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
|
---|
361 | ifdef VBOX_WITH_IDT_PATCHING
|
---|
362 | VMMR0_DEFS += VBOX_WITH_IDT_PATCHING
|
---|
363 | endif
|
---|
364 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
365 | VMMR0_LDFLAGS = -Entry:VMMR0EntryEx
|
---|
366 | endif
|
---|
367 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
368 | VMMR0_LDFLAGS = -e VMMR0EntryEx
|
---|
369 | endif
|
---|
370 | VMMR0_SYSSUFF = .r0
|
---|
371 | VMMR0_SOURCES = \
|
---|
372 | VMMR0/CPUMR0.cpp \
|
---|
373 | VMMR0/DBGFR0.cpp \
|
---|
374 | VMMR0/GMMR0.cpp \
|
---|
375 | VMMR0/GVMMR0.cpp \
|
---|
376 | VMMR0/HWACCMR0.cpp \
|
---|
377 | VMMR0/HWACCMR0A.asm \
|
---|
378 | VMMR0/HWSVMR0.cpp \
|
---|
379 | VMMR0/HWVMXR0.cpp \
|
---|
380 | VMMR0/PDMR0Device.cpp \
|
---|
381 | VMMR0/PGMR0.cpp \
|
---|
382 | VMMR0/TRPMR0.cpp \
|
---|
383 | VMMR0/TRPMR0A.asm \
|
---|
384 | VMMR0/VMMR0.cpp \
|
---|
385 | VMMR0/VMMR0A.asm \
|
---|
386 | VMMAll/CPUMAllA.asm \
|
---|
387 | VMMAll/CPUMAllRegs.cpp \
|
---|
388 | VMMAll/DBGFAll.cpp \
|
---|
389 | VMMAll/EMAll.cpp \
|
---|
390 | VMMAll/EMAllA.asm \
|
---|
391 | VMMAll/IOMAll.cpp \
|
---|
392 | VMMAll/IOMAllMMIO.cpp \
|
---|
393 | VMMAll/MMAll.cpp \
|
---|
394 | VMMAll/MMAllHyper.cpp \
|
---|
395 | VMMAll/MMAllPagePool.cpp \
|
---|
396 | VMMAll/MMAllPhys.cpp \
|
---|
397 | VMMAll/PDMAll.cpp \
|
---|
398 | VMMAll/PDMAllCritSect.cpp \
|
---|
399 | VMMAll/PDMAllQueue.cpp \
|
---|
400 | VMMAll/PGMAll.cpp \
|
---|
401 | VMMAll/PGMAllHandler.cpp \
|
---|
402 | VMMAll/PGMAllMap.cpp \
|
---|
403 | VMMAll/PGMAllPhys.cpp \
|
---|
404 | VMMAll/PGMAllPool.cpp \
|
---|
405 | VMMAll/REMAll.cpp \
|
---|
406 | VMMAll/SELMAll.cpp \
|
---|
407 | VMMAll/TMAll.cpp \
|
---|
408 | VMMAll/TMAllCpu.cpp \
|
---|
409 | VMMAll/TMAllReal.cpp \
|
---|
410 | VMMAll/TMAllVirtual.cpp \
|
---|
411 | VMMAll/TRPMAll.cpp \
|
---|
412 | VMMAll/VMAll.cpp \
|
---|
413 |
|
---|
414 |
|
---|
415 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
416 | VMMR0_SOURCES += VMMR0/VMMR0.def
|
---|
417 | endif
|
---|
418 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
419 | VMMR0_SOURCES += $(PATH_TARGET)/VMMR0.def
|
---|
420 | endif
|
---|
421 |
|
---|
422 | VMMR0_LIBS = \
|
---|
423 | $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \
|
---|
424 | $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
|
---|
425 | $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB)
|
---|
426 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
427 | VMMR0_LIBS += \
|
---|
428 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
429 | endif
|
---|
430 |
|
---|
431 |
|
---|
432 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
433 |
|
---|
434 |
|
---|
435 | # Alias the PGM templates to the object in which they are defined.
|
---|
436 | PGMBth.o PGMGst.o PGMShw.o \
|
---|
437 | PGMBth.obj PGMGst.obj PGMShw.obj: PGM.o
|
---|
438 | PGMAllBth.o PGMAllGst.o PGMAllShw.o \
|
---|
439 | PGMAllBth.obj PGMAllGst.obj PGMAllShw.obj: PGMAll.o
|
---|
440 | PGMGCBth.o PGMGCGst.o PGMGCShw.o \
|
---|
441 | PGMGCBth.obj PGMGCGst.obj PGMGCShw.obj: PGMGC.o
|
---|
442 |
|
---|