VirtualBox

Changeset 98204 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jan 22, 2023 2:17:08 AM (23 months ago)
Author:
vboxsync
Message:

/Config.kmk: Eliminated unnecessary template NewVBoxGuestR3Exe. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r98194 r98204  
    84158415
    84168416#
    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#
     8419TEMPLATE_VBoxGuestR3Exe = VBox Guest Program w/ IPRT and VBGL.
     8420TEMPLATE_VBoxGuestR3Exe_EXTENDS  = VBoxGuestR3ExeBase
     8421ifeq ($(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)
    84228429 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_asm
    8424  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      = \
    84268433        $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    84278434        $(VBOX_LIB_VBGL_R3_X86) \
    84288435        $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    84298436        $(TEMPLATE_VBoxGuestR3ExeBase_LIBS.x86)
    8430  TEMPLATE_NewVBoxGuestR3Exe_LIBS.$(KBUILD_TARGET_ARCH) = \
     8437 TEMPLATE_VBoxGuestR3Exe_LIBS.$(KBUILD_TARGET_ARCH) = \
    84318438        $(VBOX_LIB_IPRT_GUEST_R3) \
    84328439        $(VBOX_LIB_VBGL_R3) \
     
    84348441        $(TEMPLATE_VBoxGuestR3ExeBase_LIBS.$(KBUILD_TARGET_ARCH))
    84358442else
    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
    84638453endif
    84648454
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette