VirtualBox

Changeset 12446 in vbox


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
Files:
36 edited

Legend:

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

    r12337 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
     
    111106        32Bit/OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxService.exe \
    112107        32Bit/OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/gengradd.dll \
    113         32Bit/OS2/libc063.dll=./os2/Bin/libc063.dll \
    114         32Bit/OS2/readme.txt=./os2/Bin/readme.txt \
     108        32Bit/OS2/libc063.dll=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/libc063.dll \
     109        32Bit/OS2/readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/readme.txt \
    115110        32Bit/OS2/vboxmouse.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/vboxmouse.sys
    116111else ifdef VBOX_WITH_OS2_ADDITIONS_BIN
    117112 GUESTADDITIONS_FILESPEC.os2.x86 = \
    118         32Bit/OS2/VBoxGuest.sys=./os2/Bin/VBoxGuest.sys \
    119         32Bit/OS2/VBoxService.exe=./os2/Bin/VBoxService.exe \
    120         32Bit/OS2/gengradd.dll=./os2/Bin/gengradd.dll \
    121         32Bit/OS2/libc063.dll=./os2/Bin/libc063.dll \
    122         32Bit/OS2/readme.txt=./os2/Bin/readme.txt \
    123         32Bit/OS2/vboxmouse.sys=./os2/Bin/vboxmouse.sys
     113        32Bit/OS2/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/VBoxGuest.sys \
     114        32Bit/OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/VBoxService.exe \
     115        32Bit/OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/gengradd.dll \
     116        32Bit/OS2/libc063.dll=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/libc063.dll \
     117        32Bit/OS2/readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/readme.txt \
     118        32Bit/OS2/vboxmouse.sys=$(VBOX_PATH_ADDITIONS_SRC)/os2/Bin/vboxmouse.sys
    124119endif
    125120
     
    263258endif
    264259
    265 
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/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/WINNT/Graphics/Display/Mirror/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
     
    4641        $(PATH_LIB)/additions/RuntimeW32GuestR0$(VBOXW32GUEST_SUFF_LIB)
    4742
    48 
    4943include $(KBUILD_PATH)/subfooter.kmk
    5044
  • trunk/src/VBox/Additions/WINNT/Graphics/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
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/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/WINNT/Graphics/Miniport/Mirror/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
     
    4338        $(VBOX_LIB_IPRT_GUEST_R0)
    4439
    45 $(error Fix inf editing and dirver signing)
     40$(error Fix inf editing and driver signing)
    4641
    4742include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/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/WINNT/Graphics/OpenGL/test/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/WINNT/Makefile.kmk

    r12170 r12446  
    1919#
    2020
    21 ifdef VBOX_SINGLE_MAKEFILE
    2221SUB_DEPTH = ../../../..
    23 else
    24 SUB_DEPTH = ..
    25 DEPTH    ?= ../../../..
    26 endif
    2722include $(KBUILD_PATH)/subheader.kmk
    2823
  • trunk/src/VBox/Additions/WINNT/MouseFilter/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
  • trunk/src/VBox/Additions/WINNT/VBoxGINA/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
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/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
     
    5752#
    5853SYSMODS.x86 += VBoxGuestNT
     54$(warning Try out VBoxGuestNT_EXTENDS again!)
     55## @todo check this out!!!
    5956ifeq (kBuild,0.1.4) # This doesn't work because of the VBoxGuest_NOINST stuff above. ## @todo kBuild: change the NOINST test from ifdef to ifneq ($(strip $($(target)_NOINST)),)
    6057VBoxGuestNT_EXTENDS   = VBoxGuest
  • trunk/src/VBox/Additions/WINNT/VBoxHook/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
  • trunk/src/VBox/Additions/WINNT/VBoxHook/testcase/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/WINNT/VBoxService/Makefile.kmk

    r12170 r12446  
    1111#
    1212
    13 ifdef VBOX_SINGLE_MAKEFILE
    1413SUB_DEPTH = ../../../../..
    15 else
    16 DEPTH    ?= ../../../../..
    17 SUB_DEPTH = ../..
    18 endif
    1914include $(KBUILD_PATH)/subheader.kmk
    2015
     
    5550VBoxService.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
    5651VBoxService.cpp_DEPS = $(VBOX_SVN_REV_KMK)
     52
     53# The icon is configurable.
    5754VBoxService.rc_INCS = $(PATH_VBoxService)
    5855VBoxService.rc_DEPS = $(PATH_VBoxService)/VBoxService-icon.rc
    5956VBoxService.rc_CLEAN = $(PATH_VBoxService)/VBoxService-icon.rc
    6057
     58# Icon include file.
     59$$(PATH_VBoxService)/VBoxService-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxService_PATH)/Makefile.kmk | $$(dir $$@)
     60        $(RM) -f $@
     61        $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
     62
    6163include $(KBUILD_PATH)/subfooter.kmk
    6264
    63 # Icon include file.
    64 $(PATH_VBoxService)/VBoxService-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(VBoxService_PATH)/Makefile.kmk | $$(call DIRDEP,$$(@D))
    65         $(RM) -f $@
    66         $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
  • trunk/src/VBox/Additions/WINNT/VBoxTray/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
     
    5954VBoxTray.rc_CLEAN = $(PATH_VBoxTray)/VBoxTray-icon.rc
    6055
    61 include $(KBUILD_PATH)/subfooter.kmk
    62 
    6356# Icon include file.
    64 $(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(VBoxTray_PATH)/Makefile.kmk | $$(call DIRDEP,$$(@D))
     57$$(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxTray_PATH)/Makefile.kmk | $$(dir $$@)
    6558        $(RM) -f $@
    6659        $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
    6760
     61include $(KBUILD_PATH)/subfooter.kmk
     62
  • trunk/src/VBox/Additions/WINNT/VBoxTray/testcase/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/WINNT/i8042prt/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
     
    6055        $(PATH_VBoxMouseNT)/MSG00001.bin
    6156
    62 
    63 include $(KBUILD_PATH)/subfooter.kmk
    64 
    65 $(PATH_VBoxMouseNT)/i8042log.rc: $(VBoxMouseNT_PATH)/i8042log.mc | $(call DIRDEP,$(PATH_VBoxMouseNT))
     57$$(PATH_VBoxMouseNT)/i8042log.rc: $(PATH_SUB_CURRENT)/i8042log.mc | $$(dir $$@)
    6658        $(call MSG_COMPILE,VBoxMouseNT,$<,$@,RC)
    6759        $(QUIET)$(WIN32_MC) \
     
    7163                $(subst /,\\,$<)
    7264
     65
     66include $(KBUILD_PATH)/subfooter.kmk
     67
  • 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
  • trunk/src/VBox/Additions/freebsd/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
     
    3227endif
    3328
     29# Include sub-makefiles.
    3430include $(PATH_SUB_CURRENT)/vboxvfs/Makefile.kmk
    3531
    36 PKGFILENAME    := VBoxFreeBSDAdditions.tbz
    37 PKGINFO_ARCH    = $(shell uname -p)
     32# Globals
     33VBOX_FBSD_ADD_INS_OUT_DIR := $(PATH_TARGET)/Additions/FreeBSD/Installer
     34BLDDIRS                   += $(VBOX_FBSD_ADD_INS_OUT_DIR)
     35
     36VBOX_FBSD_ADD_PKG_FILENAME := VBoxFreeBSDAdditions.tbz
     37VBOX_FBSD_ADD_PKGINFO_ARCH    = $(shell uname -p)
    3838VBOX_PATH_FREEBSD_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer
    3939VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/installer
    40 FREEBSDINSTDIR := $(PATH_TARGET)/install
    4140
    4241ifeq ($(KBUILD_TYPE),debug)
    43  BIN_COPY         := $(CP) -f
    44  BIN_COPY_SYMBOLS := $(CP) -f
     42 VBOX_FBSD_ADD_BIN_COPY         := $(CP) -f
     43 VBOX_FBSD_ADD_BIN_COPY_SYMBOLS := $(CP) -f
    4544else
    46  BIN_COPY         := objcopy -S -R .comment
    47  BIN_COPY_SYMBOLS := objcopy -g -R .comment
     45 VBOX_FBSD_ADD_BIN_COPY         := objcopy -S -R .comment
     46 VBOX_FBSD_ADD_BIN_COPY_SYMBOLS := objcopy -g -R .comment
    4847endif
    4948
    50 PACKING     += $(PATH_BIN)/additions/$(PKGFILENAME)
     49# Targets.
     50PACKING     += $(PATH_BIN)/additions/$(VBOX_FBSD_ADD_PKG_FILENAME)
    5151OTHER_CLEAN += $(PACKING)
    5252
     
    7373        $(call MSG_L1,Installing guest additions)
    7474        @# Clear out the existing package files if needed
    75         $(QUIET)rm -rf $(FREEBSDINSTDIR)
    76         $(QUIET)$(MKDIR) -p $(FREEBSDINSTDIR)
    77         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_FREEBSD_ADDITION_INSTALLER)/vboxguest.sh                     $(FREEBSDINSTDIR)/vboxguest.sh
    78         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient                    $(FREEBSDINSTDIR)/1099.vboxclient
    79         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl                         $(FREEBSDINSTDIR)/x11config.pl
    80         $(QUIET)$(CP) -f $(PATH_BIN)/additions/vboxguest.ko                                                 $(FREEBSDINSTDIR)/vboxguest.ko
    81         $(QUIET)$(if $(VBOX_DO_STRIP),strip $(FREEBSDINSTDIR)/vboxguest.ko,)
    82         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxClient                                                $(FREEBSDINSTDIR)/VBoxClient
    83         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxService                                               $(FREEBSDINSTDIR)/VBoxService
    84         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxControl                                               $(FREEBSDINSTDIR)/VBoxControl
    85         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so                                       $(FREEBSDINSTDIR)/vboxvideo_drv_13.so
    86         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so                                       $(FREEBSDINSTDIR)/vboxvideo_drv_14.so
    87         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so                                       $(FREEBSDINSTDIR)/vboxvideo_drv_70.so
    88         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so                                       $(FREEBSDINSTDIR)/vboxvideo_drv_71.so
    89         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so                                       $(FREEBSDINSTDIR)/vboxmouse_drv_14.so
    90         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so                                       $(FREEBSDINSTDIR)/vboxmouse_drv_70.so
    91         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so                                       $(FREEBSDINSTDIR)/vboxmouse_drv_71.so
     75        $(QUIET)$(RM) -Rf -- $(VBOX_FBSD_ADD_INS_OUT_DIR)
     76        $(QUIET)$(MKDIR) -p $(VBOX_FBSD_ADD_INS_OUT_DIR)
     77        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_FREEBSD_ADDITION_INSTALLER)/vboxguest.sh         $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxguest.sh
     78        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient        $(VBOX_FBSD_ADD_INS_OUT_DIR)/1099.vboxclient
     79        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl             $(VBOX_FBSD_ADD_INS_OUT_DIR)/x11config.pl
     80        $(QUIET)$(CP) -f $(PATH_BIN)/additions/vboxguest.ko                                     $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxguest.ko
     81        $(QUIET)$(if $(VBOX_DO_STRIP),strip $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxguest.ko,)
     82        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxClient                      $(VBOX_FBSD_ADD_INS_OUT_DIR)/VBoxClient
     83        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxService                     $(VBOX_FBSD_ADD_INS_OUT_DIR)/VBoxService
     84        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxControl                     $(VBOX_FBSD_ADD_INS_OUT_DIR)/VBoxControl
     85        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxvideo_drv_13.so
     86        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxvideo_drv_14.so
     87        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxvideo_drv_70.so
     88        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxvideo_drv_71.so
     89        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxmouse_drv_14.so
     90        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxmouse_drv_70.so
     91        $(QUIET)$(VBOX_FBSD_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so             $(VBOX_FBSD_ADD_INS_OUT_DIR)/vboxmouse_drv_71.so
    9292        $(call MSG_L1,Creating install package: $@)
    93         $(QUIET)$(VBOX_MAKESELF) $(FREEBSDINSTDIR) $@ \
     93        $(QUIET)$(VBOX_MAKESELF) $(VBOX_FBSD_ADD_INS_OUT_DIR) $@ \
    9494                "VirtualBox $(VBOX_VERSION_STRING) Guest Additions for FreeBSD installation" /bin/sh ./install.sh " 1> /dev/null 2> /dev/null"
    9595
  • trunk/src/VBox/Additions/freebsd/vboxvfs/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
     
    3833vboxvfs_TEMPLATE      = VBOXGUESTR0
    3934vboxvfs_DEFS          = VBOX_WITH_HGCM
    40 vboxvfs_INCS         := \
    41        $(PATH_SUB_CURRENT) \
    42        $(PATH_TARGET)
     35vboxvfs_INCS          = \
     36        . \
     37       $(PATH_vboxfs)
    4338vboxvfs_SOURCES       = \
    4439        vboxvfs_vfsops.c \
     
    4843        $(VBOX_LIB_IPRT_GUEST_R0)
    4944vboxvfs_DEPS          = \
    50        $(PATH_TARGET)/vnode_if.h \
    51        $(PATH_TARGET)/vnode_if_newproto.h \
    52        $(PATH_TARGET)/vnode_if_typedef.h
     45       $$(PATH_vboxvfs)/vnode_if.h \
     46       $$(PATH_vboxvfs)/vnode_if_newproto.h \
     47       $$(PATH_vboxvfs)/vnode_if_typedef.h
    5348vboxvfs_CLEAN        += $(vboxvfs_DEPS)
    5449
    5550VBOX_AWK := /usr/bin/awk
    5651
    57 $(PATH_TARGET)/vnode_if.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
     52$$(PATH_vboxvfs)/vnode_if.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
    5853        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    5954        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/vnode_if.awk $(VBOX_FREEBSD_SRC)/kern/vnode_if.src -h
    60         $(QUIET)$(MV) $(PATH_SUB_CURRENT)/vnode_if.h $(PATH_TARGET)/vnode_if.h
     55        $(QUIET)$(MV) $(PATH_vboxvfs)/vnode_if.h $(PATH_vboxvfs)/vnode_if.h
    6156
    62 $(PATH_TARGET)/vnode_if_newproto.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
     57$$(PATH_vboxvfs)/vnode_if_newproto.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
    6358        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    6459        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/vnode_if.awk $(VBOX_FREEBSD_SRC)/kern/vnode_if.src -p
    65         $(QUIET)$(MV) $(PATH_SUB_CURRENT)/vnode_if_newproto.h $(PATH_TARGET)/vnode_if_newproto.h
     60        $(QUIET)$(MV) $(PATH_vboxvfs)/vnode_if_newproto.h $(PATH_vboxvfs)/vnode_if_newproto.h
    6661
    67 $(PATH_TARGET)/vnode_if_typedef.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
     62$$(PATH_vboxvfs)/vnode_if_typedef.h: $(VBOX_FREEBSD_SRC)/kern/vnode_if.src
    6863        $(call MSG_TOOL,awk,VBoxGuest,$<,$@)
    6964        $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/vnode_if.awk $(VBOX_FREEBSD_SRC)/kern/vnode_if.src -q
    70         $(QUIET)$(MV) $(PATH_SUB_CURRENT)/vnode_if_typedef.h $(PATH_TARGET)/vnode_if_typedef.h
     65        $(QUIET)$(MV) $(PATH_vboxvfs)/vnode_if_typedef.h $(PATH_vboxvfs)/vnode_if_typedef.h
    7166
    7267include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r12333 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
     25#
     26# Include sub-makefiles.
     27#
    3028include $(PATH_SUB_CURRENT)/module/Makefile.kmk
    3129include $(PATH_SUB_CURRENT)/daemon/Makefile.kmk
    3230include $(PATH_SUB_CURRENT)/sharedfolders/Makefile.kmk
    3331
     32#
     33# Targets
     34#
    3435ifndef VBOX_OSE
    3536 PACKING     += $(PATH_BIN)/additions/VBoxLinuxAdditions.run
     
    3940endif
    4041
     42#
     43# Globals
     44#
     45VBOX_LNX_ADD_INS_OUT_DIR           := $(PATH_TARGET)/Additions/Installer/linux
     46BLDDIRS                            += $(VBOX_LNX_ADD_INS_OUT_DIR)
    4147VBOX_PATH_LINUX_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/installer
    4248VBOX_PATH_X11_ADDITION_INSTALLER   := $(PATH_ROOT)/src/VBox/Additions/x11/installer
    4349
     50ifeq ($(KBUILD_TYPE),debug)
     51 VBOX_LNX_ADD_BIN_COPY              = $(CP) -f
     52 VBOX_LNX_ADD_BIN_COPY_SYMBOLS      = $(CP) -f
     53else
     54 VBOX_LNX_ADD_BIN_COPY              = objcopy -S -R .comment
     55 VBOX_LNX_ADD_BIN_COPY_SYMBOLS      = objcopy -g -R .comment
     56endif
     57
    4458include $(KBUILD_PATH)/subfooter.kmk
    4559
    46 ifeq ($(KBUILD_TYPE),debug)
    47  BIN_COPY         = $(CP) -f
    48  BIN_COPY_SYMBOLS = $(CP) -f
    49 else
    50  BIN_COPY         = objcopy -S -R .comment
    51  BIN_COPY_SYMBOLS = objcopy -g -R .comment
    52 endif
    5360
    5461#
     
    99106                $(VBOX_VERSION_STAMP)
    100107        $(call MSG_L1,Creating $@)
    101         $(QUIET)$(MKDIR) -p $(PATH_TARGET)/install
     108        $(QUIET)$(MKDIR) -p $(VBOX_LNX_ADD_INS_OUT_DIR)
    102109# Remove target directory first, otherwise the behaviour of cp will not be
    103110# what we want if it already exists. See the cp manual page for more details.
    104         $(QUIET)rm -rf $(PATH_TARGET)/install/module
    105         $(QUIET)cp -af $(PATH_BIN)/additions/src $(PATH_TARGET)/install/module
    106         $(QUIET)$(MKDIR) -p $(PATH_TARGET)/install/module/test
    107         $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.test  $(PATH_TARGET)/install/module/test/Makefile
    108         $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/test.c         $(PATH_TARGET)/install/module/test/
    109         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxadd-timesync           $(PATH_TARGET)/install/vboxadd-timesync
    110         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxClient                 $(PATH_TARGET)/install/VBoxClient
    111         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/VBoxControl                $(PATH_TARGET)/install/VBoxControl
     111        $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_INS_OUT_DIR)/module
     112        $(QUIET)cp -af $(PATH_BIN)/additions/src $(VBOX_LNX_ADD_INS_OUT_DIR)/module
     113        $(QUIET)$(MKDIR) -p $(VBOX_LNX_ADD_INS_OUT_DIR)/module/test
     114        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.test  $(VBOX_LNX_ADD_INS_OUT_DIR)/module/test/Makefile
     115        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/test.c         $(VBOX_LNX_ADD_INS_OUT_DIR)/module/test/
     116        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxadd-timesync           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxadd-timesync
     117        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxClient                 $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxClient
     118        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/VBoxControl                $(VBOX_LNX_ADD_INS_OUT_DIR)/VBoxControl
    112119        $(QUIET)$(SED) \
    113120            -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" \
     
    116123            -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \
    117124            -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
    118             < $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/install.sh > $(PATH_TARGET)/install/install_.sh
    119         $(QUIET)$(INSTALL) -m 0755 $(PATH_TARGET)/install/install_.sh $(PATH_TARGET)/install/install.sh
    120         $(QUIET)$(RM) $(PATH_TARGET)/install/install_.sh
    121         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh          $(PATH_TARGET)/install
    122         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd-timesync.sh $(PATH_TARGET)/install
    123         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient     $(PATH_TARGET)/install
    124         $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop    $(PATH_TARGET)/install
    125         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd.sh          $(PATH_TARGET)/install
    126         $(QUIET)$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Installer/linux/routines.sh         $(PATH_TARGET)/install
    127         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxvideo.ids         $(PATH_TARGET)/install
    128         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl          $(PATH_TARGET)/install
    129         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl        $(PATH_TARGET)/install
    130         $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/90-vboxguest.fdi    $(PATH_TARGET)/install
    131         $(QUIET)$(BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxmouse_drv.o        $(PATH_TARGET)/install/vboxmouse_drv.o
    132         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so    $(PATH_TARGET)/install/vboxmouse_drv_70.so
    133         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so    $(PATH_TARGET)/install/vboxmouse_drv_71.so
    134         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so    $(PATH_TARGET)/install/vboxmouse_drv_14.so
    135         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_15.so    $(PATH_TARGET)/install/vboxmouse_drv_15.so
    136         $(QUIET)$(BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxvideo_drv.o        $(PATH_TARGET)/install/vboxvideo_drv.o
    137         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so    $(PATH_TARGET)/install/vboxvideo_drv_70.so
    138         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so    $(PATH_TARGET)/install/vboxvideo_drv_71.so
    139         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so    $(PATH_TARGET)/install/vboxvideo_drv_13.so
    140         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so    $(PATH_TARGET)/install/vboxvideo_drv_14.so
    141         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_15.so    $(PATH_TARGET)/install/vboxvideo_drv_15.so
    142         $(QUIET)$(BIN_COPY) $(PATH_BIN)/additions/mountvboxsf            $(PATH_TARGET)/install/mount.vboxsf
    143         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxvfs.sh $(PATH_TARGET)/install
     125            --output $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh \
     126            $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/install.sh
     127        $(QUIET)$(INSTALL) -m 0755 $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh $(VBOX_LNX_ADD_INS_OUT_DIR)/install.sh
     128        $(QUIET)$(RM) $(VBOX_LNX_ADD_INS_OUT_DIR)/install_.sh
     129        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh          $(VBOX_LNX_ADD_INS_OUT_DIR)
     130        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd-timesync.sh $(VBOX_LNX_ADD_INS_OUT_DIR)
     131        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient     $(VBOX_LNX_ADD_INS_OUT_DIR)
     132        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop    $(VBOX_LNX_ADD_INS_OUT_DIR)
     133        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxadd.sh          $(VBOX_LNX_ADD_INS_OUT_DIR)
     134        $(QUIET)$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Installer/linux/routines.sh         $(VBOX_LNX_ADD_INS_OUT_DIR)
     135        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxvideo.ids         $(VBOX_LNX_ADD_INS_OUT_DIR)
     136        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl          $(VBOX_LNX_ADD_INS_OUT_DIR)
     137        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl        $(VBOX_LNX_ADD_INS_OUT_DIR)
     138        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/90-vboxguest.fdi    $(VBOX_LNX_ADD_INS_OUT_DIR)
     139        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxmouse_drv.o       $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv.o
     140        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_70.so
     141        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_71.so
     142        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_14.so
     143        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_15.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv_15.so
     144        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxvideo_drv.o       $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv.o
     145        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_70.so
     146        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_71.so
     147        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_13.so
     148        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_14.so
     149        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_15.so           $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxvideo_drv_15.so
     150        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY) $(PATH_BIN)/additions/mountvboxsf                   $(VBOX_LNX_ADD_INS_OUT_DIR)/mount.vboxsf
     151        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/vboxvfs.sh          $(VBOX_LNX_ADD_INS_OUT_DIR)
    144152ifdef VBOX_SELINUX_CMPLD
    145         $(QUIET)$(INSTALL) -m 0755 $(VBOX_SELINUX_CMPLD)                            $(PATH_TARGET)/install
     153        $(QUIET)$(INSTALL) -m 0755 $(VBOX_SELINUX_CMPLD)                                     $(VBOX_LNX_ADD_INS_OUT_DIR)
    146154endif
    147         $(QUIET)$(VBOX_MAKESELF) $(PATH_TARGET)/install $@ \
     155        $(QUIET)$(VBOX_MAKESELF) $(VBOX_LNX_ADD_INS_OUT_DIR) $@ \
    148156                "VirtualBox $(VBOX_VERSION_STRING) Guest Additions for Linux installation" /bin/sh ./install.sh "> /dev/null"
    149157
  • trunk/src/VBox/Additions/linux/daemon/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
  • trunk/src/VBox/Additions/linux/module/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
  • trunk/src/VBox/Additions/linux/sharedfolders/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
  • trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk

    r11820 r12446  
    44#
    55
    6 DEPTH = ../../../../..
    7 include $(KBUILD_PATH)/header.kmk
     6SUB_DEPTH = ../../../../..
     7include $(KBUILD_PATH)/subheader.kmk
    88
    99#?DLLS += VBoxSF
     
    1414VBoxSF_DEFS          = VBOX_WITH_HGCM
    1515VBoxSF_INCS         := \
    16         $(PATH_SUB_CURRENT) \
     16        . \
    1717        $(PATH_ROOT)/src/VBox/Runtime/include
    1818VBoxSF_LDFLAGS      := $(addprefix -Zlinker , \
     
    3333        end
    3434
    35 include $(KBUILD_PATH)/footer.kmk
     35include $(KBUILD_PATH)/subfooter.kmk
    3636
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r12309 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/solaris/SharedFolders/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
     
    3934vboxvfs_DEFS          = VBOX_WITH_HGCM
    4035vboxvfs_INCS         := \
    41        $(PATH_SUB_CURRENT) \
    42        $(PATH_TARGET)
     36        .
    4337vboxvfs_SOURCES       = \
    4438        vboxvfs_vfsops.c \
  • trunk/src/VBox/Additions/x11/Makefile.kmk

    r12170 r12446  
    1919#
    2020
    21 ifdef VBOX_SINGLE_MAKEFILE
    2221SUB_DEPTH = ../../../..
    23 else
    24 SUB_DEPTH = ..
    25 DEPTH    ?= ../../../..
    26 endif
    2722include $(KBUILD_PATH)/subheader.kmk
    2823
  • trunk/src/VBox/Additions/x11/xclient/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
     
    7570# Actually, this is darn annoying and will *NOT* be tolerated for any new code!
    7671#
    77 VBoxClient_LIBPATH  += $(PATH_TARGET)/VBoxClient
    78 VBoxClient_ORDERDEPS = $(PATH_TARGET)/VBoxClient/libstdc++.a
    79 VBoxClient_CLEAN     = $(PATH_TARGET)/VBoxClient/libstdc++.a
    80 $(PATH_TARGET)/VBoxClient/libstdc++.a:
     72VBoxClient_LIBPATH  += $(PATH_VBoxClient)
     73VBoxClient_ORDERDEPS = $(PATH_VBoxClient)/libstdc++.a
     74VBoxClient_CLEAN     = $(PATH_VBoxClient)/libstdc++.a
     75$$(PATH_VBoxClient)/libstdc++.a:
    8176        $(call MSG_L1,Forcing static libstdc++)
    8277        $(QUIET)$(MKDIR) -p $(@D)
  • trunk/src/VBox/Additions/x11/xgraphics/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
  • trunk/src/VBox/Additions/x11/xmouse/Makefile.kmk

    r12282 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
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