VirtualBox

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

Last change on this file since 34891 was 34668, checked in by vboxsync, 14 years ago

More extpack build speedup hacking.

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