- 時間撮記:
- 2008-9-14 下午11:32:31 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/freebsd/Makefile.kmk
r12170 r12446 20 20 # 21 21 22 ifdef VBOX_SINGLE_MAKEFILE23 22 SUB_DEPTH = ../../../.. 24 else25 SUB_DEPTH = ..26 DEPTH ?= ../../../..27 endif28 23 include $(KBUILD_PATH)/subheader.kmk 29 24 … … 32 27 endif 33 28 29 # Include sub-makefiles. 34 30 include $(PATH_SUB_CURRENT)/vboxvfs/Makefile.kmk 35 31 36 PKGFILENAME := VBoxFreeBSDAdditions.tbz 37 PKGINFO_ARCH = $(shell uname -p) 32 # Globals 33 VBOX_FBSD_ADD_INS_OUT_DIR := $(PATH_TARGET)/Additions/FreeBSD/Installer 34 BLDDIRS += $(VBOX_FBSD_ADD_INS_OUT_DIR) 35 36 VBOX_FBSD_ADD_PKG_FILENAME := VBoxFreeBSDAdditions.tbz 37 VBOX_FBSD_ADD_PKGINFO_ARCH = $(shell uname -p) 38 38 VBOX_PATH_FREEBSD_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer 39 39 VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/installer 40 FREEBSDINSTDIR := $(PATH_TARGET)/install41 40 42 41 ifeq ($(KBUILD_TYPE),debug) 43 BIN_COPY := $(CP) -f44 BIN_COPY_SYMBOLS := $(CP) -f42 VBOX_FBSD_ADD_BIN_COPY := $(CP) -f 43 VBOX_FBSD_ADD_BIN_COPY_SYMBOLS := $(CP) -f 45 44 else 46 BIN_COPY := objcopy -S -R .comment47 BIN_COPY_SYMBOLS := objcopy -g -R .comment45 VBOX_FBSD_ADD_BIN_COPY := objcopy -S -R .comment 46 VBOX_FBSD_ADD_BIN_COPY_SYMBOLS := objcopy -g -R .comment 48 47 endif 49 48 50 PACKING += $(PATH_BIN)/additions/$(PKGFILENAME) 49 # Targets. 50 PACKING += $(PATH_BIN)/additions/$(VBOX_FBSD_ADD_PKG_FILENAME) 51 51 OTHER_CLEAN += $(PACKING) 52 52 … … 73 73 $(call MSG_L1,Installing guest additions) 74 74 @# 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.sh78 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient $(FREEBSDINSTDIR)/1099.vboxclient79 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(FREEBSDINSTDIR)/x11config.pl80 $(QUIET)$(CP) -f $(PATH_BIN)/additions/vboxguest.ko $(FREEBSDINSTDIR)/vboxguest.ko81 $(QUIET)$(if $(VBOX_DO_STRIP),strip $( FREEBSDINSTDIR)/vboxguest.ko,)82 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/VBoxClient $(FREEBSDINSTDIR)/VBoxClient83 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/VBoxService $(FREEBSDINSTDIR)/VBoxService84 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/VBoxControl $(FREEBSDINSTDIR)/VBoxControl85 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_13.so $(FREEBSDINSTDIR)/vboxvideo_drv_13.so86 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_14.so $(FREEBSDINSTDIR)/vboxvideo_drv_14.so87 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_70.so $(FREEBSDINSTDIR)/vboxvideo_drv_70.so88 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxvideo_drv_71.so $(FREEBSDINSTDIR)/vboxvideo_drv_71.so89 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_14.so $(FREEBSDINSTDIR)/vboxmouse_drv_14.so90 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_70.so $(FREEBSDINSTDIR)/vboxmouse_drv_70.so91 $(QUIET)$( BIN_COPY) $(PATH_BIN)/additions/vboxmouse_drv_71.so $(FREEBSDINSTDIR)/vboxmouse_drv_71.so75 $(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 92 92 $(call MSG_L1,Creating install package: $@) 93 $(QUIET)$(VBOX_MAKESELF) $( FREEBSDINSTDIR) $@ \93 $(QUIET)$(VBOX_MAKESELF) $(VBOX_FBSD_ADD_INS_OUT_DIR) $@ \ 94 94 "VirtualBox $(VBOX_VERSION_STRING) Guest Additions for FreeBSD installation" /bin/sh ./install.sh " 1> /dev/null 2> /dev/null" 95 95
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器