VirtualBox

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

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

introduced VBOX_WITH_VUSB

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