VirtualBox

Changeset 12446 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Sep 14, 2008 11:32:31 PM (16 years ago)
Author:
vboxsync
Message:

Additions/Makefiles: Pushed them up to root (sub-makefile wise). Some cleanups, opengl omitted.

Location:
trunk/src/VBox/Additions/common
Files:
5 edited

Legend:

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

    r12170 r12446  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
    2322SUB_DEPTH = ../../../..
    24 else
    25 DEPTH    ?= ../../../..
    26 SUB_DEPTH = ..
    27 endif
    2823include $(KBUILD_PATH)/subheader.kmk
    2924
     
    3227include $(PATH_SUB_CURRENT)/VBoxControl/Makefile.kmk
    3328if1of ($(KBUILD_TARGET), freebsd os2 solaris)
    34 include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
    35 include $(PATH_SUB_CURRENT)/VBoxService/Makefile.kmk
     29 include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
     30 include $(PATH_SUB_CURRENT)/VBoxService/Makefile.kmk
    3631endif
    3732
  • trunk/src/VBox/Additions/common/VBoxControl/Makefile.kmk

    r12170 r12446  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
    2322SUB_DEPTH = ../../../../..
    24 else
    25 SUB_DEPTH = ../..
    26 DEPTH    ?= ../../../../..
    27 endif
    2823include $(KBUILD_PATH)/subheader.kmk
    2924
  • trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk

    r11895 r12446  
    2020#
    2121
    22 DEPTH ?= ../../../../..
    23 SUB_DEPTH = ../..
     22SUB_DEPTH = ../../../../..
    2423include $(KBUILD_PATH)/subheader.kmk
    2524
     
    3635 VBoxGuest_TEMPLATE      = VBOXGUESTR0
    3736 VBoxGuest_DEFS          = VBGL_VBOXGUEST VBOX_WITH_HGCM
    38  VBoxGuest_INCS         := $(PATH_SUB_CURRENT)
     37 VBoxGuest_INCS          = .
    3938 ifneq ($(KBUILD_TARGET),os2)
    4039  VBoxGuest_SOURCES    = \
     
    6362  VBoxGuestLibOs2Hack_NOINST     = 1
    6463  VBoxGuestLibOs2Hack_DEFS       = $(VBoxGuest_DEFS)
    65   VBoxGuestLibOs2Hack_INCS      := \
    66         $(PATH_SUB_CURRENT) \
    67         $(PATH_TARGET) \
     64  VBoxGuestLibOs2Hack_INCS       = \
     65        . \
    6866        $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk
    6967  VBoxGuestLibOs2Hack_SOURCES    = \
     
    8078 vboxguest_TEMPLATE      = VBOXGUESTR0
    8179 vboxguest_DEFS          = VBGL_VBOXGUEST VBOX_WITH_HGCM
    82  vboxguest_INCS         := \
    83         $(PATH_SUB_CURRENT)
     80 vboxguest_INCS          = \
     81        .
    8482 vboxguest_INCS.freebsd  = \
    85         $(PATH_TARGET)
     83        $(PATH_vboxguest)
    8684 vboxguest_SOURCES       = \
    8785        VBoxGuest-$(KBUILD_TARGET).c \
     
    9189        $(VBOX_LIB_IPRT_GUEST_R0)
    9290 vboxguest_DEPS.freebsd  = \
    93         $(PATH_TARGET)/pci_if.h \
    94         $(PATH_TARGET)/bus_if.h \
    95         $(PATH_TARGET)/device_if.h
     91        $(PATH_vboxguest)/pci_if.h \
     92        $(PATH_vboxguest)/bus_if.h \
     93        $(PATH_vboxguest)/device_if.h
    9694 vboxguest_CLEAN.freebsd = $(vboxguest_DEPS.freebsd)
    9795
     
    104102 #
    105103 VBOX_AWK := /usr/bin/awk
    106  $(PATH_TARGET)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m
     104 $$(PATH_vboxguest)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m
    107105        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    108         $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/bus_if.m $(PATH_TARGET)/bus_if.m
    109         $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_TARGET)/bus_if.m -h -p
    110         $(QUIET)$(RM) $(PATH_TARGET)/bus_if.m
     106        $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/bus_if.m $(PATH_vboxguest)/bus_if.m
     107        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_vboxguest)/bus_if.m -h -p
     108        $(QUIET)$(RM) $(PATH_vboxguest)/bus_if.m
    111109
    112  $(PATH_TARGET)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m
     110 $$(PATH_vboxguest)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m
    113111        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    114         $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/device_if.m $(PATH_TARGET)/device_if.m
    115         $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_TARGET)/device_if.m -h -p
    116         $(QUIET)$(RM) $(PATH_TARGET)/device_if.m
     112        $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/kern/device_if.m $(PATH_vboxguest)/device_if.m
     113        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_vboxguest)/device_if.m -h -p
     114        $(QUIET)$(RM) $(PATH_vboxguest)/device_if.m
    117115
    118  $(PATH_TARGET)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m
     116 $$(PATH_vboxguest)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m
    119117        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    120         $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m $(PATH_TARGET)/pci_if.m
    121         $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_TARGET)/pci_if.m -h -p
    122         $(QUIET)$(RM) $(PATH_TARGET)/pci_if.m
     118        $(QUIET)$(CP) -f $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m $(PATH_vboxguest)/pci_if.m
     119        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(PATH_vboxguest)/pci_if.m -h -p
     120        $(QUIET)$(RM) $(PATH_vboxguest)/pci_if.m
    123121
    124122endif
  • trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk

    r12170 r12446  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
    2322SUB_DEPTH = ../../../../..
    24 else
    25 DEPTH    ?= ../../../../..
    26 SUB_DEPTH = ../..
    27 endif
    2823include $(KBUILD_PATH)/subheader.kmk
    2924
     
    10398        VBoxGuestR3LibGR.cpp \
    10499        $(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestR3LibGuestProp.cpp,) \
    105         VBoxGuestR3LibMisc.cpp 
     100        VBoxGuestR3LibMisc.cpp
    106101endif
    107102
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r12170 r12446  
    2020#
    2121
    22 ifdef VBOX_SINGLE_MAKEFILE
    2322SUB_DEPTH = ../../../../..
    24 else
    25 DEPTH    ?= ../../../../..
    26 SUB_DEPTH = ../..
    27 endif
    2823include $(KBUILD_PATH)/subheader.kmk
    2924
    30 ifeq ($(KBUILD_HOST),os2)
    31  ifdef VBOX_WITH_OS2_ADDITIONS
    32   PROGRAMS += VBoxService
    33  endif
    34 else
     25if "$(KBUILD_HOST)" != "os2" || defined(VBOX_WITH_OS2_ADDITIONS)
    3526 PROGRAMS += VBoxService
    3627endif
     
    5647VBoxService_LIBPATH.freebsd = \
    5748        /usr/local/lib
     49
    5850include $(KBUILD_PATH)/subfooter.kmk
    5951
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