Changeset 8758 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 11, 2008 6:27:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r8757 r8758 38 38 # Only build the additions, sort out the legacy names first. 39 39 # 40 ifeq ($( BUILD_TARGET),win)40 ifeq ($(KBUILD_TARGET),win) 41 41 LIBRARIES = RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0 42 42 else … … 45 45 #LIBRARIES.win = RuntimeW32NT4GuestR0 46 46 ifndef VBOX_WITH_ADDITION_DRIVERS 47 if1of ($( BUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.47 if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0. 48 48 LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES)) 49 49 endif … … 67 67 LIBRARIES += RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0 68 68 endif 69 ifneq ($( BUILD_TARGET),win)69 ifneq ($(KBUILD_TARGET),win) 70 70 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini 71 71 #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0 72 72 #LIBRARIES.win = RuntimeW32NT4GuestR0 73 73 ifndef VBOX_WITH_ADDITION_DRIVERS 74 if1of ($( BUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.74 if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0. 75 75 LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES)) 76 76 endif … … 242 242 r3/tcp.cpp 243 243 244 #if1of ($( BUILD_TARGET_ARCH),amd64 x86)244 #if1of ($(KBUILD_TARGET_ARCH),amd64 x86) 245 245 # RuntimeR3_SOURCES += common/time/timesupA.asm 246 246 #else … … 258 258 VBox/RTAssertDoBreakpoint-vbox.cpp \ 259 259 VBox/log-vbox.cpp 260 ifneq ($( BUILD_TARGET),win)260 ifneq ($(KBUILD_TARGET),win) 261 261 RuntimeR3_SOURCES += \ 262 262 common/err/errmsgxpcom.cpp … … 493 493 RuntimeR3L4_TEMPLATE = VBOXR3NP 494 494 RuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE 495 ifneq ($( BUILD_TARGET_ARCH),amd64)495 ifneq ($(KBUILD_TARGET_ARCH),amd64) 496 496 RuntimeR3L4_DEFS += __PIC__ 497 497 endif … … 541 541 RuntimeGuestR3_SDKS.win := $(RuntimeR3_SDKS.win) 542 542 RuntimeGuestR3_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) 543 RuntimeGuestR3_DEFS.$( BUILD_TARGET) := $(RuntimeR3_DEFS.$(BUILD_TARGET))543 RuntimeGuestR3_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET)) 544 544 RuntimeGuestR3_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST)) 545 545 RuntimeGuestR3_INCS := $(RuntimeR3_INCS) 546 RuntimeGuestR3_INCS.$( BUILD_TARGET) := $(RuntimeR3_INCS.$(BUILD_TARGET))546 RuntimeGuestR3_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET)) 547 547 RuntimeGuestR3_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST)) 548 548 RuntimeGuestR3_SOURCES := $(filter-out \ … … 555 555 common/time/timesysalias.cpp \ 556 556 VBox/logbackdoor.cpp 557 RuntimeGuestR3_SOURCES.$( BUILD_TARGET) := $(RuntimeR3_SOURCES.$(BUILD_TARGET))557 RuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET)) 558 558 RuntimeGuestR3_SOURCES.$(KBUILD_HOST):= $(RuntimeR3_SOURCES.$(KBUILD_HOST)) 559 RuntimeGuestR3_SOURCES.$( BUILD_TARGET).$(BUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))560 RuntimeGuestR3_SOURCES.$(KBUILD_HOST).$( BUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(BUILD_TARGET_ARCH))561 RuntimeGuestR3_SOURCES.$( BUILD_TARGET).x86 := $(RuntimeR3_SOURCES.$(BUILD_TARGET).x86)559 RuntimeGuestR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) 560 RuntimeGuestR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH)) 561 RuntimeGuestR3_SOURCES.$(KBUILD_TARGET).x86 := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).x86) 562 562 RuntimeGuestR3_SOURCES.$(KBUILD_HOST).x86 := $(RuntimeR3_SOURCES.$(KBUILD_HOST).x86) 563 563 … … 572 572 RuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win) 573 573 RuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) RT_MINI 574 RuntimeGuestR3Mini_DEFS.$( BUILD_TARGET) := $(RuntimeR3_DEFS.$(BUILD_TARGET))574 RuntimeGuestR3Mini_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET)) 575 575 RuntimeGuestR3Mini_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST)) 576 576 RuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS) 577 RuntimeGuestR3Mini_INCS.$( BUILD_TARGET) := $(RuntimeR3_INCS.$(BUILD_TARGET))577 RuntimeGuestR3Mini_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET)) 578 578 RuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST)) 579 579 RuntimeGuestR3Mini_SOURCES = \ … … 636 636 RuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP 637 637 RuntimeLnxHostR3_SOURCES = \ 638 $(RuntimeR3_SOURCES.linux.$( BUILD_TARGET_ARCH)) \638 $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \ 639 639 $(RuntimeR3_SOURCES.linux) \ 640 640 $(RuntimeR3_SOURCES) 641 641 RuntimeLnxHostR3_INCS = \ 642 $(RuntimeR3_INCS.linux.$( BUILD_TARGET_ARCH)) \642 $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \ 643 643 $(RuntimeR3_INCS.linux) \ 644 644 $(RuntimeR3_INCS) … … 650 650 VBoxRT_TEMPLATE = VBOXR3 651 651 VBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL 652 ifeq ($( BUILD_TARGET),darwin)652 ifeq ($(KBUILD_TARGET),darwin) 653 653 VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE) 654 654 endif … … 658 658 VBox/VBoxRTDeps.cpp \ 659 659 $(RuntimeR3_SOURCES) 660 VBoxRT_SOURCES.$( BUILD_TARGET) = $(RuntimeR3_SOURCES.$(BUILD_TARGET))661 VBoxRT_SOURCES.$( BUILD_TARGET).$(BUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))660 VBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET)) 661 VBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) 662 662 VBoxRT_SOURCES.win += r3/win/dllmain-win.cpp 663 663 VBoxRT_SOURCES.win.x86 += r3/win/VBoxRT-win32.def 664 664 VBoxRT_SOURCES.win.amd64 += r3/win/VBoxRT-win64.def 665 665 VBoxRT_INCS = $(RuntimeR3_INCS) 666 VBoxRT_INCS.$( BUILD_TARGET) = $(RuntimeR3_INCS.$(BUILD_TARGET))667 VBoxRT_INCS.$( BUILD_TARGET).$(BUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))666 VBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET)) 667 VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) 668 668 VBoxRT_LIBS = \ 669 669 $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \ … … 687 687 $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \ 688 688 -Wl,-no-whole-archive 689 ifeq ($( BUILD_TARGET),l4)689 ifeq ($(KBUILD_TARGET),l4) 690 690 VBoxRT_LIBS += \ 691 691 $(L4_LIBDIR)/libl4sys.a \ … … 818 818 VBox/strformat-vbox.cpp 819 819 820 #if1of ($( BUILD_TARGET_ARCH),amd64 x86)820 #if1of ($(KBUILD_TARGET_ARCH),amd64 x86) 821 821 # RuntimeR0_SOURCES += common/time/timesupA.asm 822 822 #else … … 831 831 os2/sys0.asm 832 832 833 ifeq ($(filter-out darwin solaris freebsd,$( BUILD_TARGET)),)833 ifeq ($(filter-out darwin solaris freebsd,$(KBUILD_TARGET)),) 834 834 RuntimeR0_SOURCES += \ 835 835 common/math/gcc/adddi3.c \ … … 862 862 common/string/strlen.cpp_CXXFLAGS.win = -Oi- 863 863 864 ifeq ($( BUILD_TARGET),l4)864 ifeq ($(KBUILD_TARGET),l4) 865 865 RuntimeR0Drv_BLD_TRG = linux 866 866 RuntimeR0Drv_BLD_TRG_ARCH = x86 … … 1122 1122 RuntimeGuestR0_SDKS.win := W2K3DDKX86 WINPSDKINCS 1123 1123 RuntimeGuestR0_DEFS := $(RuntimeR0Drv_DEFS) 1124 RuntimeGuestR0_DEFS.$( BUILD_TARGET) := $(RuntimeR0Drv_DEFS.$(BUILD_TARGET))1124 RuntimeGuestR0_DEFS.$(KBUILD_TARGET) := $(RuntimeR0Drv_DEFS.$(KBUILD_TARGET)) 1125 1125 RuntimeGuestR0_INCS := $(PATH_SUB_CURRENT) include 1126 RuntimeGuestR0_INCS.$( BUILD_TARGET) := $(RuntimeR0Drv_INCS.$(BUILD_TARGET))1126 RuntimeGuestR0_INCS.$(KBUILD_TARGET) := $(RuntimeR0Drv_INCS.$(KBUILD_TARGET)) 1127 1127 RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES)) 1128 1128 RuntimeGuestR0_SOURCES += VBox/logbackdoor.cpp 1129 RuntimeGuestR0_SOURCES.$( BUILD_TARGET) := $(RuntimeR0Drv_SOURCES.$(BUILD_TARGET))1130 RuntimeGuestR0_SOURCES.$( BUILD_TARGET).$(BUILD_TARGET_ARCH) := $(RuntimeR0Drv_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))1129 RuntimeGuestR0_SOURCES.$(KBUILD_TARGET) := $(RuntimeR0Drv_SOURCES.$(KBUILD_TARGET)) 1130 RuntimeGuestR0_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR0Drv_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) 1131 1131 ifdef VBOX_USE_VCC80 1132 1132 RuntimeGuestR0_SOURCES.win += \ … … 1155 1155 RuntimeW32GuestR0_INCS := $(PATH_SUB_CURRENT) include 1156 1156 RuntimeW32GuestR0_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS IN_SUP_R0 1157 RuntimeW32GuestR0_DEFS.$( BUILD_TARGET) =1157 RuntimeW32GuestR0_DEFS.$(KBUILD_TARGET) = 1158 1158 RuntimeW32GuestR0_SOURCES = \ 1159 1159 $(filter-out generic/RTLogWriteUser-generic.cpp,$(RuntimeR0Drv_SOURCES)) \ … … 1221 1221 VBox/strformat-vbox.cpp \ 1222 1222 1223 #if1of ($( BUILD_TARGET_ARCH),amd64 x86)1223 #if1of ($(KBUILD_TARGET_ARCH),amd64 x86) 1224 1224 # RuntimeGC_SOURCES += common/time/timesupA.asm 1225 1225 #else … … 1233 1233 endif 1234 1234 1235 if1of ($( BUILD_TARGET), darwin solaris freebsd)1235 if1of ($(KBUILD_TARGET), darwin solaris freebsd) 1236 1236 RuntimeGC_SOURCES += \ 1237 1237 common/math/gcc/adddi3.c \ … … 1262 1262 RuntimeEFCPP_TEMPLATE = $(RuntimeR3_TEMPLATE) 1263 1263 RuntimeEFCPP_SDKS = $(RuntimeR3_SDKS) 1264 RuntimeEFCPP_SDKS.$( BUILD_TARGET) = $(RuntimeR3_SDKS.$(BUILD_TARGET))1264 RuntimeEFCPP_SDKS.$(KBUILD_TARGET) = $(RuntimeR3_SDKS.$(KBUILD_TARGET)) 1265 1265 RuntimeEFCPP_DEFS = $(RuntimeR3_DEFS) 1266 RuntimeEFCPP_DEFS.$( BUILD_TARGET) = $(RuntimeR3_DEFS.$(BUILD_TARGET))1266 RuntimeEFCPP_DEFS.$(KBUILD_TARGET) = $(RuntimeR3_DEFS.$(KBUILD_TARGET)) 1267 1267 RuntimeEFCPP_INCS = $(RuntimeR3_INCS) 1268 RuntimeEFCPP_INCS.$( BUILD_TARGET) = $(RuntimeR3_INCS.$(BUILD_TARGET))1268 RuntimeEFCPP_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET)) 1269 1269 RuntimeEFCPP_SOURCES = r3/alloc-ef-cpp.cpp 1270 1270
Note:
See TracChangeset
for help on using the changeset viewer.