VirtualBox

source: vbox/trunk/src/VBox/VMM/Makefile.kmk@ 28415

Last change on this file since 28415 was 28415, checked in by vboxsync, 15 years ago

Shared paging updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 13.0 KB
Line 
1# $Id: Makefile.kmk 28415 2010-04-16 12:59:40Z vboxsync $
2## @file
3# Top-level makefile for the VMM.
4#
5
6#
7# Copyright (C) 2006-2010 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
22SUB_DEPTH = ../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25# Include sub-makefiles.
26include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
27
28
29#
30# VMMR3.dll
31#
32LIBRARIES += VMMR3
33
34VMMR3_TEMPLATE = VBoxR3Dll
35
36VMMR3_DEFS = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG
37## @todo eliminate IN_GMM_R3
38ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
39 VMMR3_DEFS += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
40endif
41ifdef VBOX_WITH_R0_LOGGING
42 VMMR3_DEFS += VBOX_WITH_R0_LOGGING
43endif
44ifdef VBOX_WITH_MULTI_CORE
45 VMMR3_DEFS += VBOX_WITH_MULTI_CORE
46endif
47ifdef VBOX_WITH_VUSB
48 VMMR3_DEFS += VBOX_WITH_USB
49endif
50ifdef VBOX_WITH_VMI
51 VMMR3_DEFS += \
52 VBOX_WITH_VMI
53endif
54ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
55 VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
56endif
57ifdef VBOX_WITH_LIVE_MIGRATION
58 VMMR3_DEFS += VBOX_WITH_LIVE_MIGRATION
59endif
60ifdef VBOX_WITH_RAW_MODE
61 VMMR3_DEFS += VBOX_WITH_RAW_MODE
62endif
63VMMR3_DEFS.darwin = VMM_R0_SWITCH_STACK
64VMMR3_DEFS.darwin.x86 = \
65 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 \
66 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R3
67
68VMMR3_INCS = \
69 . \
70 PATM
71ifdef VBOX_WITH_VMI
72 VMMR3_INCS += \
73 PARAV
74endif
75
76VMMR3_SOURCES = \
77 CFGM.cpp \
78 CPUM.cpp \
79 DBGF.cpp \
80 DBGFAddr.cpp \
81 DBGFAddrSpace.cpp \
82 DBGFBp.cpp \
83 DBGFCpu.cpp \
84 DBGFDisas.cpp \
85 DBGFInfo.cpp \
86 DBGFLog.cpp \
87 DBGFMem.cpp \
88 DBGFOS.cpp \
89 DBGFStack.cpp \
90 DBGFSym.cpp \
91 EM.cpp \
92 EMRaw.cpp \
93 EMHwaccm.cpp \
94 IOM.cpp \
95 GMM.cpp \
96 MM.cpp \
97 MMHeap.cpp \
98 MMHyper.cpp \
99 MMPagePool.cpp \
100 MMUkHeap.cpp \
101 PDM.cpp \
102 PDMDevice.cpp \
103 PDMDevHlp.cpp \
104 PDMDevMiscHlp.cpp \
105 PDMDriver.cpp \
106 PDMLdr.cpp \
107 PDMCritSect.cpp \
108 PDMQueue.cpp \
109 PDMThread.cpp \
110 PGM.cpp \
111 PGMDbg.cpp \
112 PGMHandler.cpp \
113 PGMMap.cpp \
114 PGMPhys.cpp \
115 PGMPool.cpp \
116 PGMSavedState.cpp \
117 PGMSharedPage.cpp \
118 SELM.cpp \
119 SSM.cpp \
120 STAM.cpp \
121 TM.cpp \
122 TRPM.cpp \
123 VM.cpp \
124 VMEmt.cpp \
125 VMReq.cpp \
126 VMM.cpp \
127 VMMGuruMeditation.cpp \
128 VMMSwitcher.cpp \
129 VMMTests.cpp \
130 HWACCM.cpp \
131 VMMAll/CPUMAllRegs.cpp \
132 VMMAll/CPUMStack.cpp \
133 VMMAll/DBGFAll.cpp \
134 VMMAll/HWACCMAll.cpp \
135 VMMAll/IOMAll.cpp \
136 VMMAll/IOMAllMMIO.cpp \
137 VMMAll/MMAll.cpp \
138 VMMAll/MMAllHyper.cpp \
139 VMMAll/MMAllPagePool.cpp \
140 VMMAll/PDMAll.cpp \
141 VMMAll/PDMAllCritSect.cpp \
142 VMMAll/PDMAllQueue.cpp \
143 VMMAll/PGMAll.cpp \
144 VMMAll/PGMAllHandler.cpp \
145 VMMAll/PGMAllMap.cpp \
146 VMMAll/PGMAllPhys.cpp \
147 VMMAll/PGMAllPool.cpp \
148 VMMAll/REMAll.cpp \
149 VMMAll/SELMAll.cpp \
150 VMMAll/EMAll.cpp \
151 VMMAll/EMAllA.asm \
152 VMMAll/TMAll.cpp \
153 VMMAll/TMAllCpu.cpp \
154 VMMAll/TMAllReal.cpp \
155 VMMAll/TMAllVirtual.cpp \
156 VMMAll/TRPMAll.cpp \
157 VMMAll/VMAll.cpp \
158 VMMAll/VMMAll.cpp \
159 VMMAll/VMMAllA.asm \
160 PATM/CSAM.cpp \
161 PATM/VMMAll/CSAMAll.cpp \
162 PATM/PATM.cpp \
163 PATM/PATMPatch.cpp \
164 PATM/PATMGuest.cpp \
165 PATM/PATMA.asm \
166 PATM/PATMSSM.cpp \
167 PATM/VMMAll/PATMAll.cpp
168ifdef VBOX_WITH_VMI
169 VMMR3_SOURCES += \
170 PARAV/PARAV.cpp \
171 PARAV/PARAVAll.cpp
172endif
173ifdef VBOX_WITH_VUSB
174 VMMR3_SOURCES += PDMUsb.cpp
175endif
176ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
177 VMMR3_SOURCES += \
178 PDMAsyncCompletion.cpp \
179 PDMAsyncCompletionFile.cpp \
180 PDMAsyncCompletionFileFailsafe.cpp \
181 PDMAsyncCompletionFileNormal.cpp \
182 PDMAsyncCompletionFileCache.cpp
183endif
184if defined(VBOX_WITH_WARNINGS_AS_ERRORS) && "$(KBUILD_TARGET)" == "win"
185PDMAsyncCompletionFileCache.cpp_CXXFLAGS = -WX-
186endif
187
188ifdef VBOX_WITH_RAW_MODE
189 VMMR3_SOURCES.x86 += \
190 VMMSwitcher/32BitTo32Bit.asm \
191 VMMSwitcher/32BitToPAE.asm \
192 VMMSwitcher/32BitToAMD64.asm \
193 VMMSwitcher/PAETo32Bit.asm \
194 VMMSwitcher/PAEToAMD64.asm \
195 VMMSwitcher/PAEToPAE.asm
196 VMMR3_SOURCES.amd64 = \
197 VMMSwitcher/AMD64To32Bit.asm \
198 VMMSwitcher/AMD64ToPAE.asm
199 VMMR3_SOURCES.darwin.x86 += \
200 VMMSwitcher/AMD64ToPAE.asm
201endif
202
203
204# SSM wish to know the build type, host os and arch.
205SSM.cpp_DEFS += \
206 KBUILD_TYPE=\"$(KBUILD_TYPE)\" \
207 KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
208 KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
209
210#
211# The VMM DLL.
212#
213DLLS += VBoxVMM
214VBoxVMM_TEMPLATE = VBoxR3Dll
215VBoxVMM_DEFS = $(VMMR3_DEFS)
216VBoxVMM_DEFS.$(KBUILD_TARGET) = $(VMMR3_DEFS.$(KBUILD_TARGET))
217VBoxVMM_SOURCES = VBoxVMMDeps.cpp
218VBoxVMM_SONAME.linux = VBoxVMM.so
219
220VBoxVMM_LIBS = \
221 $(PATH_LIB)/VMMR3$(VBOX_SUFF_LIB) \
222 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
223ifdef VBOX_WITH_DEBUGGER
224 VBoxVMM_LIBS += \
225 $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB)
226endif
227VBoxVMM_LIBS += \
228 $(LIB_REM) \
229 $(LIB_RUNTIME)
230
231VBoxVMM_LIBS.win = $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
232VBoxVMM_LDFLAGS.win = /DELAYLOAD:dbghelp.dll
233VBoxVMM_LDFLAGS.linux = -Wl,--no-undefined
234VBoxVMM_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxVMM.dylib
235VBoxVMM_LDFLAGS.solaris = -mimpure-text
236#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
237# ifeq ($(KBUILD_HOST), linux)
238#VBoxVMM_LIBS += aio
239# endif
240#endif
241
242
243
244#
245# SSMStandalone.lib/a for linking with VBoxSVC and other executables.
246#
247LIBRARIES += SSMStandalone
248SSMStandalone_TEMPLATE = VBOXR3EXE
249SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE
250SSMStandalone_SOURCES = SSM.cpp
251
252
253if defined(VBOX_WITH_RAW_MODE) && $(intersects $(VBOX_LDR_FMT32), pe lx)
254
255 #
256 # VMMGCBuiltin.lib
257 #
258 LIBRARIES += VMMGCBuiltin
259 VMMGCBuiltin_TEMPLATE = VBoxRc
260 ifeq ($(VBOX_LDR_FMT32),pe)
261 VMMGCBuiltin_SOURCES = VMMGC/VMMGCBuiltin.def
262 endif
263 ifeq ($(VBOX_LDR_FMT32),lx)
264 VMMGCBuiltin_SOURCES = $(PATH_VMMGCBuiltin)/VMMGCBuiltin.def
265 $$(PATH_VMMGCBuiltin)/VMMGCBuiltin.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGCBuiltin.def | $$(dir $$@)
266 $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
267 endif
268
269
270 #
271 # VMMGCImp.lib
272 #
273 LIBRARIES += VMMGCImp
274 VMMGCImp_TEMPLATE = VBoxRc
275 VMMGCImp_SOURCES = $(PATH_VMMGCImp)/VMMGC.def
276 VMMGCImp_CLEAN = $(PATH_VMMGCImp)/VMMGC.def
277
278 $$(PATH_VMMGCImp)/VMMGC.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGC.def | $$(dir $$@)
279 ifeq ($(VBOX_LDR_FMT32),lx)
280 $(SED) \
281 -e '/not-os2/d' \
282 -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
283 -e 's/[ \t]DATA[ \t]*/ /' \
284 --output $@ \
285 $<
286 $(APPEND) "$@" ""
287 $(APPEND) "$@" " ___ehInit"
288 else
289 $(SED) \
290 -e '/not-win/d' \
291 -e '/not-$(KBUILD_TARGET_ARCH)/d' \
292 --output $@ $<
293 endif
294
295endif # RC && (pe || lx)
296
297
298if1of ($(VBOX_LDR_FMT), pe lx)
299 #
300 # VMMR0Imp.lib
301 #
302 LIBRARIES += VMMR0Imp
303 VMMR0Imp_TEMPLATE = VBoxR0
304 VMMR0Imp_SOURCES = $(PATH_VMMR0Imp)/VMMR0.def
305 VMMR0Imp_CLEAN = $(PATH_VMMR0Imp)/VMMR0.def
306
307 $$(PATH_VMMR0Imp)/VMMR0.def: $(PATH_SUB_CURRENT)/VMMR0/VMMR0.def | $$(dir $$@)
308 ifeq ($(VBOX_LDR_FMT),lx)
309 $(SED) \
310 -e '/not-os2/d' \
311 -e '/not-amd64/d' \
312 -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
313 -e 's/[ \t]DATA[ \t]*/ /' \
314 --output $@ $<
315 $(APPEND) "$@" ""
316 $(APPEND) "$@" " ___ehInit"
317 else
318 $(SED) \
319 -e '/not-win/d' \
320 -e '/not-$(KBUILD_TARGET_ARCH)/d' \
321 --output $@ $<
322 endif
323endif # R0: pe + lx
324
325
326ifdef VBOX_WITH_RAW_MODE
327 #
328 # VMMGC.gc
329 #
330 SYSMODS += VMMGC
331 VMMGC_TEMPLATE = VBoxRc
332 VMMGC_SYSSUFF = .gc
333
334 VMMGC_DEFS = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE
335 ifdef VBOX_WITH_R0_LOGGING
336 VMMGC_DEFS += VBOX_WITH_R0_LOGGING
337 endif
338 ifdef VBOX_WITH_MULTI_CORE
339 VMMGC_DEFS += VBOX_WITH_MULTI_CORE
340 endif
341 ifdef VBOX_WITH_VMI
342 VMMGC_DEFS += VBOX_WITH_VMI
343 endif
344 ifeq ($(KBUILD_TARGET_ARCH),x86)
345 VMMGC_DEFS.darwin = VMM_R0_SWITCH_STACK
346 VMMGC_DEFS.darwin = \
347 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \
348 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC
349 endif
350
351 VMMGC_INCS := \
352 . \
353 VMMGC \
354 PATM
355
356 VMMGC_LIBS = \
357 $(PATH_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
358 $(PATH_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
359 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
360 VMMGC_LIBS += \
361 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB)
362 endif
363
364 VMMGC_SOURCES = \
365 VMMGC/VMMGC0.asm \
366 VMMGC/VMMGCDeps.cpp \
367 VMMGC/CPUMGC.cpp \
368 VMMGC/CPUMGCA.asm \
369 VMMGC/EMGCA.asm \
370 VMMGC/IOMGC.cpp \
371 VMMGC/MMRamGC.cpp \
372 VMMGC/MMRamGCA.asm \
373 VMMGC/PDMGCDevice.cpp \
374 VMMGC/PGMGC.cpp \
375 VMMGC/SELMGC.cpp \
376 VMMGC/TRPMGC.cpp \
377 VMMGC/TRPMGCHandlers.cpp \
378 VMMGC/TRPMGCHandlersA.asm \
379 VMMGC/VMMGC.cpp \
380 VMMGC/VMMGCA.asm \
381 VMMGC/HWACCMGCA.asm \
382 VMMRZ/DBGFRZ.cpp \
383 VMMRZ/VMMRZ.cpp \
384 VMMAll/CPUMAllRegs.cpp \
385 VMMAll/CPUMAllA.asm \
386 VMMAll/DBGFAll.cpp \
387 VMMAll/IOMAll.cpp \
388 VMMAll/IOMAllMMIO.cpp \
389 VMMAll/EMAll.cpp \
390 VMMAll/EMAllA.asm \
391 VMMAll/MMAll.cpp \
392 VMMAll/MMAllHyper.cpp \
393 VMMAll/PDMAll.cpp \
394 VMMAll/PDMAllCritSect.cpp \
395 VMMAll/PDMAllQueue.cpp \
396 VMMAll/PGMAll.cpp \
397 VMMAll/PGMAllHandler.cpp \
398 VMMAll/PGMAllMap.cpp \
399 VMMAll/PGMAllPhys.cpp \
400 VMMAll/PGMAllPool.cpp \
401 VMMAll/REMAll.cpp \
402 VMMAll/SELMAll.cpp \
403 VMMAll/TMAll.cpp \
404 VMMAll/TMAllCpu.cpp \
405 VMMAll/TMAllReal.cpp \
406 VMMAll/TMAllVirtual.cpp \
407 VMMAll/TRPMAll.cpp \
408 VMMAll/VMAll.cpp \
409 VMMAll/VMMAll.cpp \
410 VMMAll/VMMAllA.asm \
411 PATM/VMMGC/CSAMGC.cpp \
412 PATM/VMMAll/CSAMAll.cpp \
413 PATM/VMMGC/PATMGC.cpp \
414 PATM/VMMAll/PATMAll.cpp
415 ifdef VBOX_WITH_VMI
416 VMMGC_SOURCES += \
417 PARAV/PARAV.cpp \
418 PARAV/PARAVAll.cpp
419 endif
420 ifeq ($(VBOX_LDR_FMT32),pe)
421 VMMGC_SOURCES += VMMGC/VMMGC.def
422 endif
423 ifeq ($(VBOX_LDR_FMT32),lx)
424 VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def
425 endif
426
427
428 # the very last one.
429 VMMGC_SOURCES += VMMGC/VMMGC99.asm
430
431 VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c
432endif # VBOX_WITH_RAW_MODE
433
434
435#
436# VMMR0.r0
437#
438SYSMODS += VMMR0
439VMMR0_TEMPLATE = VBoxR0
440VMMR0_SYSSUFF = .r0
441
442VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 RTASSERT_HAVE_SHOULD_PANIC
443## @todo eliminate IN_GVMM_R0 IN_GMM_R0
444ifdef VBOX_WITH_R0_LOGGING
445 VMMR0_DEFS += VBOX_WITH_R0_LOGGING
446endif
447ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
448 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION
449endif
450ifdef VBOX_WITH_MULTI_CORE
451 VMMR0_DEFS += VBOX_WITH_MULTI_CORE
452endif
453ifdef VBOX_WITH_RAW_MODE
454 VMMR0_DEFS += VBOX_WITH_RAW_MODE
455endif
456VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK
457VMMR0_DEFS.darwin.x86 = \
458 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \
459 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R0
460VMMR0_DEFS.win.amd64 = VBOX_WITH_KERNEL_USING_XMM
461
462ifeq ($(VBOX_LDR_FMT),elf)
463 VMMR0_LDFLAGS = -e VMMR0EntryEx
464endif
465VMMR0_INCS = \
466 . \
467 PATM
468
469VMMR0_SOURCES = \
470 VMMR0/CPUMR0.cpp \
471 VMMR0/CPUMR0A.asm \
472 VMMR0/GMMR0.cpp \
473 VMMR0/GVMMR0.cpp \
474 VMMR0/HWACCMR0.cpp \
475 VMMR0/HWACCMR0A.asm \
476 VMMR0/HWSVMR0.cpp \
477 VMMR0/HWVMXR0.cpp \
478 VMMR0/PDMR0Device.cpp \
479 VMMR0/PGMR0.cpp \
480 VMMR0/TRPMR0.cpp \
481 VMMR0/TRPMR0A.asm \
482 VMMR0/VMMR0.cpp \
483 VMMRZ/DBGFRZ.cpp \
484 VMMRZ/VMMRZ.cpp \
485 VMMAll/CPUMAllA.asm \
486 VMMAll/CPUMAllRegs.cpp \
487 VMMAll/CPUMStack.cpp \
488 VMMAll/DBGFAll.cpp \
489 VMMAll/EMAll.cpp \
490 VMMAll/EMAllA.asm \
491 VMMAll/HWACCMAll.cpp \
492 VMMAll/IOMAll.cpp \
493 VMMAll/IOMAllMMIO.cpp \
494 VMMAll/MMAll.cpp \
495 VMMAll/MMAllHyper.cpp \
496 VMMAll/MMAllPagePool.cpp \
497 VMMAll/PDMAll.cpp \
498 VMMAll/PDMAllCritSect.cpp \
499 VMMAll/PDMAllQueue.cpp \
500 VMMAll/PGMAll.cpp \
501 VMMAll/PGMAllHandler.cpp \
502 VMMAll/PGMAllMap.cpp \
503 VMMAll/PGMAllPhys.cpp \
504 VMMAll/PGMAllPool.cpp \
505 VMMAll/REMAll.cpp \
506 VMMAll/SELMAll.cpp \
507 VMMAll/TMAll.cpp \
508 VMMAll/TMAllCpu.cpp \
509 VMMAll/TMAllReal.cpp \
510 VMMAll/TMAllVirtual.cpp \
511 VMMAll/TRPMAll.cpp \
512 VMMAll/VMAll.cpp \
513 VMMAll/VMMAll.cpp \
514 VMMAll/VMMAllA.asm
515ifeq ($(VBOX_LDR_FMT),pe)
516 VMMR0_SOURCES += VMMR0/VMMR0.def
517endif
518ifeq ($(VBOX_LDR_FMT),lx)
519 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def
520endif
521VMMR0_SOURCES.amd64 = \
522 VMMR0/VMMR0JmpA-amd64.asm
523VMMR0_SOURCES.x86 = \
524 VMMR0/VMMR0JmpA-x86.asm
525VMMR0_SOURCES.darwin.x86 = \
526 VMMR0/PGMR0DynMap.cpp
527
528# disable annoying warnings about array subscript above array bounds in aPages[]
529PGMPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
530VMMAll/PGMAllPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
531
532
533VMMR0_LIBS = \
534 $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \
535 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
536 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB)
537ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
538 VMMR0_LIBS += \
539 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
540endif
541
542#
543# For vmmGetSvnRev.
544#
545VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
546
547include $(KBUILD_PATH)/subfooter.kmk
548
549
550# Alias the PGM templates to the object in which they are defined.
551PGMInternal.o \
552PGMBth.o PGMGst.o PGMShw.o \
553PGMBth.obj PGMGst.obj PGMShw.obj: PGM.o
554PGMAllBth.o PGMAllGst.o PGMAllShw.o \
555PGMAllBth.obj PGMAllGst.obj PGMAllShw.obj: PGMAll.o
556PGMGCBth.o PGMGCGst.o PGMGCShw.o \
557PGMGCBth.obj PGMGCGst.obj PGMGCShw.obj: PGMGC.o
558PGMPhysRWTmpl.o PGMPhysRWTmpl.obj: PGMPhys.o
559
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette