Changeset 98204 in vbox for trunk/Config.kmk
- Timestamp:
- Jan 22, 2023 2:17:08 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r98194 r98204 8415 8415 8416 8416 # 8417 # Template for building normal R3 programs for the guest additions. 8418 # 8419 TEMPLATE_NewVBoxGuestR3Exe = VBox Guest Program w/ IPRT and VBGL. 8420 TEMPLATE_NewVBoxGuestR3Exe_EXTENDS = VBoxGuestR3ExeBase 8421 if1of ($(KBUILD_TARGET),win) 8417 # Template for building normal R3 programs for the guest additions, strict. 8418 # 8419 TEMPLATE_VBoxGuestR3Exe = VBox Guest Program w/ IPRT and VBGL. 8420 TEMPLATE_VBoxGuestR3Exe_EXTENDS = VBoxGuestR3ExeBase 8421 ifeq ($(KBUILD_TARGET),win) 8422 TEMPLATE_VBoxGuestR3Exe_CFLAGS = $(TEMPLATE_VBoxGuestR3ExeBase_CFLAGS) $(VBOX_VCC_WERR) 8423 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS = $(TEMPLATE_VBoxGuestR3ExeBase_CXXFLAGS) $(VBOX_VCC_WERR) 8424 if1of ($(VBOX_VCC_TOOL_STEM), VCC120) 8425 # VBoxDrvInst.cpp(520) : warning C4313: 'wprintf' : '%d' in format string conflicts with argument 1 of type 'const TCHAR *' [false positive - buggy compiler?] 8426 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS += -wd4313 8427 endif 8428 TEMPLATE_VBoxGuestR3Exe_LDFLAGS = $(TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS) $(VBOX_VCC_LD_WERR) 8422 8429 ifndef VBOX_WITH_NOCRT_STATIC # Temporary kludge to deal with some link order issues. 8423 TEMPLATE_ NewVBoxGuestR3Exe_LDFLAGS.win.x86 = $(TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS.win.x86) -Include:_vcc100_kernel32_fakes_asm8424 endif 8425 TEMPLATE_ NewVBoxGuestR3Exe_LIBS.x86= \8430 TEMPLATE_VBoxGuestR3Exe_LDFLAGS.win.x86 = $(TEMPLATE_VBoxGuestR3ExeBase_LDFLAGS.win.x86) -Include:_vcc100_kernel32_fakes_asm 8431 endif 8432 TEMPLATE_VBoxGuestR3Exe_LIBS.x86 = \ 8426 8433 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 8427 8434 $(VBOX_LIB_VBGL_R3_X86) \ 8428 8435 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 8429 8436 $(TEMPLATE_VBoxGuestR3ExeBase_LIBS.x86) 8430 TEMPLATE_ NewVBoxGuestR3Exe_LIBS.$(KBUILD_TARGET_ARCH) = \8437 TEMPLATE_VBoxGuestR3Exe_LIBS.$(KBUILD_TARGET_ARCH) = \ 8431 8438 $(VBOX_LIB_IPRT_GUEST_R3) \ 8432 8439 $(VBOX_LIB_VBGL_R3) \ … … 8434 8441 $(TEMPLATE_VBoxGuestR3ExeBase_LIBS.$(KBUILD_TARGET_ARCH)) 8435 8442 else 8436 TEMPLATE_NewVBoxGuestR3Exe_LIBS = \ 8437 $(VBOX_LIB_IPRT_GUEST_R3) \ 8438 $(VBOX_LIB_VBGL_R3) \ 8439 $(VBOX_LIB_IPRT_GUEST_R3) \ 8440 $(TEMPLATE_VBoxGuestR3ExeBase_LIBS) 8441 endif 8442 ifeq ($(KBUILD_TARGET),solaris) 8443 TEMPLATE_NewVBoxGuestR3Exe_LIBS += contract 8444 endif 8445 8446 # 8447 # Template for building normal R3 programs for the guest additions, strict. 8448 # 8449 TEMPLATE_VBoxGuestR3Exe = VBox Guest Program w/ IPRT and VBGL. 8450 TEMPLATE_VBoxGuestR3Exe_EXTENDS = NewVBoxGuestR3Exe 8451 TEMPLATE_VBoxGuestR3Exe_EXTENDS_BY = appending 8452 ifeq ($(KBUILD_TARGET),win) 8453 TEMPLATE_VBoxGuestR3Exe_CFLAGS += $(VBOX_VCC_WERR) 8454 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS += $(VBOX_VCC_WERR) 8455 if1of ($(VBOX_VCC_TOOL_STEM), VCC120) 8456 # VBoxDrvInst.cpp(520) : warning C4313: 'wprintf' : '%d' in format string conflicts with argument 1 of type 'const TCHAR *' [false positive - buggy compiler?] 8457 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS += -wd4313 8458 endif 8459 TEMPLATE_VBoxGuestR3Exe_LDFLAGS += $(VBOX_VCC_LD_WERR) 8460 else 8461 TEMPLATE_VBoxGuestR3Exe_CFLAGS += $(VBOX_GCC_WERR) 8462 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS += $(VBOX_GCC_WERR) 8443 TEMPLATE_VBoxGuestR3Exe_CFLAGS = $(TEMPLATE_VBoxGuestR3ExeBase_CFLAGS) $(VBOX_GCC_WERR) 8444 TEMPLATE_VBoxGuestR3Exe_CXXFLAGS = $(TEMPLATE_VBoxGuestR3ExeBase_CXXFLAGS) $(VBOX_GCC_WERR) 8445 TEMPLATE_VBoxGuestR3Exe_LIBS = \ 8446 $(VBOX_LIB_IPRT_GUEST_R3) \ 8447 $(VBOX_LIB_VBGL_R3) \ 8448 $(VBOX_LIB_IPRT_GUEST_R3) \ 8449 $(TEMPLATE_VBoxGuestR3ExeBase_LIBS) 8450 ifeq ($(KBUILD_TARGET),solaris) 8451 TEMPLATE_VBoxGuestR3Exe_LIBS += contract 8452 endif 8463 8453 endif 8464 8454
Note:
See TracChangeset
for help on using the changeset viewer.