VirtualBox

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

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

AsyncCompletion: Remove obsolete write cache

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