VirtualBox

Changeset 22683 in vbox


Ignore:
Timestamp:
Sep 1, 2009 5:53:07 PM (15 years ago)
Author:
vboxsync
Message:

Makefiles: Just test for VBOX_WITH_ADDITIONS_DRIVERS.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk

    r21461 r22683  
    2626# Target config.
    2727#
    28 LIBRARIES += \
    29         VBoxGuestR0Lib \
    30         VBoxGuestR0LibBase
     28ifdef VBOX_WITH_ADDITION_DRIVERS
     29 LIBRARIES += \
     30        VBoxGuestR0Lib \
     31        VBoxGuestR0LibBase
     32endif
    3133LIBRARIES += \
    3234        VBoxGuestR3Lib \
     
    3436if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
    3537 LIBRARIES += \
    36         VBoxGuestR3LibXFree86
    37 endif
    38 
    39 ifndef VBOX_WITH_ADDITION_DRIVERS
    40  if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
    41   LIBRARIES := $(filter-out VBoxGuestR0Lib VBoxGuestR0LibBase, $(LIBRARIES))
    42  endif
     38        VBoxGuestR3LibXFree86
    4339endif
    4440
  • trunk/src/VBox/GuestHost/HGSMI/Makefile.kmk

    r22652 r22683  
    2323include $(KBUILD_PATH)/subheader.kmk
    2424
    25 #
    26 # HGSMIGuestR0Lib - for guest additions drivers
    27 #
    28 LIBRARIES += \
    29         HGSMIGuestR0Lib
    3025
    31 #
    32 # HGSMIHostLib - for host devices (R3 only)
    33 #
    34 LIBRARIES += \
    35         HGSMIHostR3Lib
    36 
    37 ifndef VBOX_WITH_ADDITION_DRIVERS
    38  if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip HGSMIGuestR0Lib.
    39   LIBRARIES := $(filter-out HGSMIGuestR0Lib, $(LIBRARIES))
    40  endif
    41 endif
    4226
    4327
    4428#
    45 # HGSMIGuestR0Lib
     29# HGSMIGuestR0Lib - For guest additions drivers.
    4630#
     31ifdef VBOX_WITH_ADDITION_DRIVERS
     32LIBRARIES += HGSMIGuestR0Lib
    4733HGSMIGuestR0Lib_TEMPLATE     = VBOXGUESTR0LIB
    4834HGSMIGuestR0Lib_DEFS         =
    4935HGSMIGuestR0Lib_SOURCES      = \
    5036        HGSMICommon.cpp
     37endif
    5138
    5239#
    53 # HGSMIHostR3Lib
     40# HGSMIHostLib - For host devices (R3 only).
    5441#
     42LIBRARIES += HGSMIHostR3Lib
    5543HGSMIHostR3Lib_TEMPLATE      = VBOXR3
    5644HGSMIHostR3Lib_DEFS          =
  • trunk/src/VBox/Runtime/Makefile.kmk

    r22573 r22683  
    3636 # Only build the additions, sort out the legacy names first.
    3737 #
    38  LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
    39  #LIBRARIES.os2 = RuntimeGuestR0OS2Warp3
     38 LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
     39 ifdef VBOX_WITH_ADDITION_DRIVERS
     40  LIBRARIES += RuntimeGuestR0
     41 endif
     42 #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
    4043 LIBRARIES.win.x86 += RuntimeGuestR0NT4
    41  ifndef VBOX_WITH_ADDITION_DRIVERS
    42   if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
    43    LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
    44   endif
    45  endif
    4644
    4745else ifdef VBOX_ONLY_DOCS
     
    6563 endif
    6664 ifdef VBOX_WITH_ADDITIONS
    67   LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
     65  LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
     66  ifdef VBOX_WITH_ADDITION_DRIVERS
     67   LIBRARIES += RuntimeGuestR0
     68  endif
    6869  #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
    6970  LIBRARIES.win.x86 += RuntimeGuestR0NT4
    70   ifndef VBOX_WITH_ADDITION_DRIVERS
    71    if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
    72     LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
    73    endif
    74   endif
    7571 endif # VBOX_WITH_ADDITIONS
    7672 LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3
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