VirtualBox

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

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

VMM,asm.h,Config.kmk: win.amd64 warnings; fixed the ASMAtomicSubU32 signature.

  • 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 26526 2010-02-15 03:36:01Z 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_USB
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 SELM.cpp \
118 SSM.cpp \
119 STAM.cpp \
120 TM.cpp \
121 TRPM.cpp \
122 VM.cpp \
123 VMEmt.cpp \
124 VMReq.cpp \
125 VMM.cpp \
126 VMMGuruMeditation.cpp \
127 VMMSwitcher.cpp \
128 VMMTests.cpp \
129 HWACCM.cpp \
130 VMMAll/CPUMAllRegs.cpp \
131 VMMAll/CPUMStack.cpp \
132 VMMAll/DBGFAll.cpp \
133 VMMAll/HWACCMAll.cpp \
134 VMMAll/IOMAll.cpp \
135 VMMAll/IOMAllMMIO.cpp \
136 VMMAll/MMAll.cpp \
137 VMMAll/MMAllHyper.cpp \
138 VMMAll/MMAllPagePool.cpp \
139 VMMAll/PDMAll.cpp \
140 VMMAll/PDMAllCritSect.cpp \
141 VMMAll/PDMAllQueue.cpp \
142 VMMAll/PGMAll.cpp \
143 VMMAll/PGMAllHandler.cpp \
144 VMMAll/PGMAllMap.cpp \
145 VMMAll/PGMAllPhys.cpp \
146 VMMAll/PGMAllPool.cpp \
147 VMMAll/REMAll.cpp \
148 VMMAll/SELMAll.cpp \
149 VMMAll/EMAll.cpp \
150 VMMAll/EMAllA.asm \
151 VMMAll/TMAll.cpp \
152 VMMAll/TMAllCpu.cpp \
153 VMMAll/TMAllReal.cpp \
154 VMMAll/TMAllVirtual.cpp \
155 VMMAll/TRPMAll.cpp \
156 VMMAll/VMAll.cpp \
157 VMMAll/VMMAll.cpp \
158 VMMAll/VMMAllA.asm \
159 PATM/CSAM.cpp \
160 PATM/VMMAll/CSAMAll.cpp \
161 PATM/PATM.cpp \
162 PATM/PATMPatch.cpp \
163 PATM/PATMGuest.cpp \
164 PATM/PATMA.asm \
165 PATM/PATMSSM.cpp \
166 PATM/VMMAll/PATMAll.cpp
167ifdef VBOX_WITH_VMI
168 VMMR3_SOURCES += \
169 PARAV/PARAV.cpp \
170 PARAV/PARAVAll.cpp
171endif
172ifdef VBOX_WITH_USB
173 VMMR3_SOURCES += PDMUsb.cpp
174endif
175ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
176 VMMR3_SOURCES += \
177 PDMAsyncCompletion.cpp \
178 PDMAsyncCompletionFile.cpp \
179 PDMAsyncCompletionFileFailsafe.cpp \
180 PDMAsyncCompletionFileNormal.cpp \
181 PDMAsyncCompletionFileCache.cpp
182endif
183if defined(VBOX_WITH_WARNINGS_AS_ERRORS) && "$(KBUILD_TARGET)" == "win"
184PDMAsyncCompletionFileCache.cpp_CXXFLAGS = -WX-
185endif
186
187ifdef VBOX_WITH_RAW_MODE
188 VMMR3_SOURCES.x86 += \
189 VMMSwitcher/32BitTo32Bit.asm \
190 VMMSwitcher/32BitToPAE.asm \
191 VMMSwitcher/32BitToAMD64.asm \
192 VMMSwitcher/PAETo32Bit.asm \
193 VMMSwitcher/PAEToAMD64.asm \
194 VMMSwitcher/PAEToPAE.asm
195 VMMR3_SOURCES.amd64 = \
196 VMMSwitcher/AMD64To32Bit.asm \
197 VMMSwitcher/AMD64ToPAE.asm
198 VMMR3_SOURCES.darwin.x86 += \
199 VMMSwitcher/AMD64ToPAE.asm
200endif
201
202
203# SSM wish to know the build type, host os and arch.
204SSM.cpp_DEFS += \
205 KBUILD_TYPE=\"$(KBUILD_TYPE)\" \
206 KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
207 KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
208
209# access to pPool->aPages
210ifneq ($(KBUILD_TARGET),win)
211PGMPool.cpp_CXXFLAGS += \
212 $(VBOX_GCC_Wno-array_bounds)
213endif
214
215#
216# The VMM DLL.
217#
218DLLS += VBoxVMM
219VBoxVMM_TEMPLATE = VBoxR3Dll
220VBoxVMM_DEFS = $(VMMR3_DEFS)
221VBoxVMM_DEFS.$(KBUILD_TARGET) = $(VMMR3_DEFS.$(KBUILD_TARGET))
222VBoxVMM_SOURCES = VBoxVMMDeps.cpp
223VBoxVMM_SONAME.linux = VBoxVMM.so
224
225VBoxVMM_LIBS = \
226 $(PATH_LIB)/VMMR3$(VBOX_SUFF_LIB) \
227 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
228ifdef VBOX_WITH_DEBUGGER
229 VBoxVMM_LIBS += \
230 $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB)
231endif
232VBoxVMM_LIBS += \
233 $(LIB_REM) \
234 $(LIB_RUNTIME)
235
236VBoxVMM_LIBS.win = $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
237VBoxVMM_LDFLAGS.win = /DELAYLOAD:dbghelp.dll
238VBoxVMM_LDFLAGS.linux = -Wl,--no-undefined
239VBoxVMM_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxVMM.dylib
240VBoxVMM_LDFLAGS.solaris = -mimpure-text
241#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
242# ifeq ($(KBUILD_HOST), linux)
243#VBoxVMM_LIBS += aio
244# endif
245#endif
246
247
248
249#
250# SSMStandalone.lib/a for linking with VBoxSVC and other executables.
251#
252LIBRARIES += SSMStandalone
253SSMStandalone_TEMPLATE = VBOXR3EXE
254SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE
255SSMStandalone_SOURCES = SSM.cpp
256
257
258if defined(VBOX_WITH_RAW_MODE) && $(intersects $(VBOX_LDR_FMT32), pe lx)
259
260 #
261 # VMMGCBuiltin.lib
262 #
263 LIBRARIES += VMMGCBuiltin
264 VMMGCBuiltin_TEMPLATE = VBoxRc
265 ifeq ($(VBOX_LDR_FMT32),pe)
266 VMMGCBuiltin_SOURCES = VMMGC/VMMGCBuiltin.def
267 endif
268 ifeq ($(VBOX_LDR_FMT32),lx)
269 VMMGCBuiltin_SOURCES = $(PATH_VMMGCBuiltin)/VMMGCBuiltin.def
270 $$(PATH_VMMGCBuiltin)/VMMGCBuiltin.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGCBuiltin.def | $$(dir $$@)
271 $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
272 endif
273
274
275 #
276 # VMMGCImp.lib
277 #
278 LIBRARIES += VMMGCImp
279 VMMGCImp_TEMPLATE = VBoxRc
280 VMMGCImp_SOURCES = $(PATH_VMMGCImp)/VMMGC.def
281 VMMGCImp_CLEAN = $(PATH_VMMGCImp)/VMMGC.def
282
283 $$(PATH_VMMGCImp)/VMMGC.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGC.def | $$(dir $$@)
284 ifeq ($(VBOX_LDR_FMT32),lx)
285 $(SED) \
286 -e '/not-os2/d' \
287 -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
288 -e 's/[ \t]DATA[ \t]*/ /' \
289 --output $@ \
290 $<
291 $(APPEND) "$@" ""
292 $(APPEND) "$@" " ___ehInit"
293 else
294 $(SED) \
295 -e '/not-win/d' \
296 -e '/not-$(KBUILD_TARGET_ARCH)/d' \
297 --output $@ $<
298 endif
299
300endif # RC && (pe || lx)
301
302
303if1of ($(VBOX_LDR_FMT), pe lx)
304 #
305 # VMMR0Imp.lib
306 #
307 LIBRARIES += VMMR0Imp
308 VMMR0Imp_TEMPLATE = VBoxR0
309 VMMR0Imp_SOURCES = $(PATH_VMMR0Imp)/VMMR0.def
310 VMMR0Imp_CLEAN = $(PATH_VMMR0Imp)/VMMR0.def
311
312 $$(PATH_VMMR0Imp)/VMMR0.def: $(PATH_SUB_CURRENT)/VMMR0/VMMR0.def | $$(dir $$@)
313 ifeq ($(VBOX_LDR_FMT),lx)
314 $(SED) \
315 -e '/not-os2/d' \
316 -e '/not-amd64/d' \
317 -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
318 -e 's/[ \t]DATA[ \t]*/ /' \
319 --output $@ $<
320 $(APPEND) "$@" ""
321 $(APPEND) "$@" " ___ehInit"
322 else
323 $(SED) \
324 -e '/not-win/d' \
325 -e '/not-$(KBUILD_TARGET_ARCH)/d' \
326 --output $@ $<
327 endif
328endif # R0: pe + lx
329
330
331ifdef VBOX_WITH_RAW_MODE
332 #
333 # VMMGC.gc
334 #
335 SYSMODS += VMMGC
336 VMMGC_TEMPLATE = VBoxRc
337 VMMGC_SYSSUFF = .gc
338
339 VMMGC_DEFS = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE
340 ifdef VBOX_WITH_R0_LOGGING
341 VMMGC_DEFS += VBOX_WITH_R0_LOGGING
342 endif
343 ifdef VBOX_WITH_MULTI_CORE
344 VMMGC_DEFS += VBOX_WITH_MULTI_CORE
345 endif
346 ifdef VBOX_WITH_VMI
347 VMMGC_DEFS += VBOX_WITH_VMI
348 endif
349 ifeq ($(KBUILD_TARGET_ARCH),x86)
350 VMMGC_DEFS.darwin = VMM_R0_SWITCH_STACK
351 VMMGC_DEFS.darwin = \
352 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \
353 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC
354 endif
355
356 VMMGC_INCS := \
357 . \
358 VMMGC \
359 PATM
360
361 VMMGC_LIBS = \
362 $(PATH_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
363 $(PATH_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
364 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
365 VMMGC_LIBS += \
366 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB)
367 endif
368
369 VMMGC_SOURCES = \
370 VMMGC/VMMGC0.asm \
371 VMMGC/VMMGCDeps.cpp \
372 VMMGC/CPUMGC.cpp \
373 VMMGC/CPUMGCA.asm \
374 VMMGC/EMGCA.asm \
375 VMMGC/IOMGC.cpp \
376 VMMGC/MMRamGC.cpp \
377 VMMGC/MMRamGCA.asm \
378 VMMGC/PDMGCDevice.cpp \
379 VMMGC/PGMGC.cpp \
380 VMMGC/SELMGC.cpp \
381 VMMGC/TRPMGC.cpp \
382 VMMGC/TRPMGCHandlers.cpp \
383 VMMGC/TRPMGCHandlersA.asm \
384 VMMGC/VMMGC.cpp \
385 VMMGC/VMMGCA.asm \
386 VMMGC/HWACCMGCA.asm \
387 VMMRZ/DBGFRZ.cpp \
388 VMMRZ/VMMRZ.cpp \
389 VMMAll/CPUMAllRegs.cpp \
390 VMMAll/CPUMAllA.asm \
391 VMMAll/DBGFAll.cpp \
392 VMMAll/IOMAll.cpp \
393 VMMAll/IOMAllMMIO.cpp \
394 VMMAll/EMAll.cpp \
395 VMMAll/EMAllA.asm \
396 VMMAll/MMAll.cpp \
397 VMMAll/MMAllHyper.cpp \
398 VMMAll/PDMAll.cpp \
399 VMMAll/PDMAllCritSect.cpp \
400 VMMAll/PDMAllQueue.cpp \
401 VMMAll/PGMAll.cpp \
402 VMMAll/PGMAllHandler.cpp \
403 VMMAll/PGMAllMap.cpp \
404 VMMAll/PGMAllPhys.cpp \
405 VMMAll/PGMAllPool.cpp \
406 VMMAll/REMAll.cpp \
407 VMMAll/SELMAll.cpp \
408 VMMAll/TMAll.cpp \
409 VMMAll/TMAllCpu.cpp \
410 VMMAll/TMAllReal.cpp \
411 VMMAll/TMAllVirtual.cpp \
412 VMMAll/TRPMAll.cpp \
413 VMMAll/VMAll.cpp \
414 VMMAll/VMMAll.cpp \
415 VMMAll/VMMAllA.asm \
416 PATM/VMMGC/CSAMGC.cpp \
417 PATM/VMMAll/CSAMAll.cpp \
418 PATM/VMMGC/PATMGC.cpp \
419 PATM/VMMAll/PATMAll.cpp
420 ifdef VBOX_WITH_VMI
421 VMMGC_SOURCES += \
422 PARAV/PARAV.cpp \
423 PARAV/PARAVAll.cpp
424 endif
425 ifeq ($(VBOX_LDR_FMT32),pe)
426 VMMGC_SOURCES += VMMGC/VMMGC.def
427 endif
428 ifeq ($(VBOX_LDR_FMT32),lx)
429 VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def
430 endif
431
432
433 # the very last one.
434 VMMGC_SOURCES += VMMGC/VMMGC99.asm
435
436 VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c
437endif # VBOX_WITH_RAW_MODE
438
439
440#
441# VMMR0.r0
442#
443SYSMODS += VMMR0
444VMMR0_TEMPLATE = VBoxR0
445VMMR0_SYSSUFF = .r0
446
447VMMR0_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
448## @todo eliminate IN_GVMM_R0 IN_GMM_R0
449ifdef VBOX_WITH_R0_LOGGING
450 VMMR0_DEFS += VBOX_WITH_R0_LOGGING
451endif
452ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
453 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION
454endif
455ifdef VBOX_WITH_MULTI_CORE
456 VMMR0_DEFS += VBOX_WITH_MULTI_CORE
457endif
458ifdef VBOX_WITH_RAW_MODE
459 VMMR0_DEFS += VBOX_WITH_RAW_MODE
460endif
461VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK
462VMMR0_DEFS.darwin.x86 = \
463 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \
464 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R0
465VMMR0_DEFS.win.amd64 = VBOX_WITH_KERNEL_USING_XMM
466
467ifeq ($(VBOX_LDR_FMT),elf)
468 VMMR0_LDFLAGS = -e VMMR0EntryEx
469endif
470VMMR0_INCS = \
471 . \
472 PATM
473
474VMMR0_SOURCES = \
475 VMMR0/CPUMR0.cpp \
476 VMMR0/CPUMR0A.asm \
477 VMMR0/GMMR0.cpp \
478 VMMR0/GVMMR0.cpp \
479 VMMR0/HWACCMR0.cpp \
480 VMMR0/HWACCMR0A.asm \
481 VMMR0/HWSVMR0.cpp \
482 VMMR0/HWVMXR0.cpp \
483 VMMR0/PDMR0Device.cpp \
484 VMMR0/PGMR0.cpp \
485 VMMR0/TRPMR0.cpp \
486 VMMR0/TRPMR0A.asm \
487 VMMR0/VMMR0.cpp \
488 VMMRZ/DBGFRZ.cpp \
489 VMMRZ/VMMRZ.cpp \
490 VMMAll/CPUMAllA.asm \
491 VMMAll/CPUMAllRegs.cpp \
492 VMMAll/CPUMStack.cpp \
493 VMMAll/DBGFAll.cpp \
494 VMMAll/EMAll.cpp \
495 VMMAll/EMAllA.asm \
496 VMMAll/HWACCMAll.cpp \
497 VMMAll/IOMAll.cpp \
498 VMMAll/IOMAllMMIO.cpp \
499 VMMAll/MMAll.cpp \
500 VMMAll/MMAllHyper.cpp \
501 VMMAll/MMAllPagePool.cpp \
502 VMMAll/PDMAll.cpp \
503 VMMAll/PDMAllCritSect.cpp \
504 VMMAll/PDMAllQueue.cpp \
505 VMMAll/PGMAll.cpp \
506 VMMAll/PGMAllHandler.cpp \
507 VMMAll/PGMAllMap.cpp \
508 VMMAll/PGMAllPhys.cpp \
509 VMMAll/PGMAllPool.cpp \
510 VMMAll/REMAll.cpp \
511 VMMAll/SELMAll.cpp \
512 VMMAll/TMAll.cpp \
513 VMMAll/TMAllCpu.cpp \
514 VMMAll/TMAllReal.cpp \
515 VMMAll/TMAllVirtual.cpp \
516 VMMAll/TRPMAll.cpp \
517 VMMAll/VMAll.cpp \
518 VMMAll/VMMAll.cpp \
519 VMMAll/VMMAllA.asm
520ifeq ($(VBOX_LDR_FMT),pe)
521 VMMR0_SOURCES += VMMR0/VMMR0.def
522endif
523ifeq ($(VBOX_LDR_FMT),lx)
524 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def
525endif
526VMMR0_SOURCES.amd64 = \
527 VMMR0/VMMR0JmpA-amd64.asm
528VMMR0_SOURCES.x86 = \
529 VMMR0/VMMR0JmpA-x86.asm
530VMMR0_SOURCES.darwin.x86 = \
531 VMMR0/PGMR0DynMap.cpp
532
533# disable annoying warnings about array subscript above array bounds in aPages[]
534VMMAll/PGMAllPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
535
536
537VMMR0_LIBS = \
538 $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \
539 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
540 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB)
541ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
542 VMMR0_LIBS += \
543 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
544endif
545
546#
547# For vmmGetSvnRev.
548#
549VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
550
551include $(KBUILD_PATH)/subfooter.kmk
552
553
554# Alias the PGM templates to the object in which they are defined.
555PGMInternal.o \
556PGMBth.o PGMGst.o PGMShw.o \
557PGMBth.obj PGMGst.obj PGMShw.obj: PGM.o
558PGMAllBth.o PGMAllGst.o PGMAllShw.o \
559PGMAllBth.obj PGMAllGst.obj PGMAllShw.obj: PGMAll.o
560PGMGCBth.o PGMGCGst.o PGMGCShw.o \
561PGMGCBth.obj PGMGCGst.obj PGMGCShw.obj: PGMGC.o
562PGMPhysRWTmpl.o PGMPhysRWTmpl.obj: PGMPhys.o
563
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