VirtualBox

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

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

VBoxRc,VBoxR0: Added RuntimeR?Stub libraries for the stub entrypoint that's required to shut up the microsoft linker.

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