儲存庫 vbox 的更動 12575
- 時間撮記:
- 2008-9-18 下午02:41:51 (16 年 以前)
- 位置:
- trunk/src/VBox/Installer
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Installer/Makefile.kmk
r12317 r12575 29 29 include $(PATH_SUB_CURRENT)/darwin/Makefile.kmk 30 30 endif 31 if "$(KBUILD_TARGET)" == "solaris" && "$(KBUILD_HOST)" == "solaris" 32 include $(PATH_SUB_CURRENT)/solaris/Makefile.kmk 33 endif 31 34 if "$(KBUILD_TARGET)" == "win" && "$(KBUILD_HOST)" == "win" 32 35 include $(PATH_SUB_CURRENT)/win/Makefile.kmk … … 42 45 SUBDIRS.linux = linux 43 46 endif 44 ifeq ($(KBUILD_HOST),solaris)45 SUBDIRS.solaris = solaris46 endif47 47 48 48 include $(KBUILD_PATH)/subfooter.kmk -
trunk/src/VBox/Installer/solaris/Makefile.kmk
r12502 r12575 1 1 # $Id$ 2 2 ## @file 3 # Makefile for the Solaris installer.3 # Sub-Makefile for the Solaris installer. 4 4 # 5 5 … … 20 20 # 21 21 22 DEPTH = ../../../..23 include $(KBUILD_PATH)/ header.kmk22 SUB_DEPTH = ../../../.. 23 include $(KBUILD_PATH)/subheader.kmk 24 24 25 25 ifneq ($(KBUILD_HOST),solaris) … … 27 27 endif 28 28 29 # 29 30 # Globals 30 SOLARIS_INST_DIR := $(PATH_TARGET)/install 31 SOLARIS_DBG_DIR := $(PATH_TARGET)/installdbg 32 SOLARIS_VBI_DIR := $(PATH_TARGET)/installvbi 31 # 32 VBOX_PATH_SOL_INST_SRC := $(PATH_SUB_CURRENT) 33 SOLARIS_INST_DIR := $(PATH_TARGET)/Installer/solaris/install 34 SOLARIS_DBG_DIR := $(PATH_TARGET)/Installer/solaris/installdbg 35 SOLARIS_VBI_DIR := $(PATH_TARGET)/Installer/solaris/installvbi 33 36 SOL_DBG_OBJCOPY := $(CP) -p # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now. 34 37 SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment … … 45 48 VBIPKG_FILENAME = VirtualBoxKern-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV) 46 49 50 # 47 51 # Targets 52 # 48 53 INSTALLS = solaris-doc 49 54 PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE) … … 209 214 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg 210 215 211 include $(KBUILD_PATH)/ footer.kmk216 include $(KBUILD_PATH)/subfooter.kmk 212 217 213 218 ## @todo r=bird: makepackage.sh packing a directory tree, right? So, there is no guarantee that it's not … … 217 222 $(PATH_BIN)/$(PKG_FILENAME).tar.gz: \ 218 223 $(VBOX_VERSION_STAMP) \ 219 makepackage.sh \220 postinstall.sh \221 preremove.sh \222 vbox.pkginfo \223 vbox.space \224 vbox.pkgresponse \225 vboxdevlink.sed \226 VBox.sh \227 virtualbox.desktop \224 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh \ 225 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh \ 226 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh \ 227 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo \ 228 $(VBOX_PATH_SOL_INST_SRC)/vbox.space \ 229 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse \ 230 $(VBOX_PATH_SOL_INST_SRC)/vboxdevlink.sed \ 231 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh \ 232 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop \ 228 233 $(PATH_ROOT)/doc/ReadMe-Solaris.txt \ 229 Makefile.kmk \234 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \ 230 235 $(if $(VBOX_WITH_SOLARIS_VBI),$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg,) \ 231 236 $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \ … … 278 283 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/libVBoxQtGui.so.4 $(SOLARIS_INST_DIR)/libVBoxQtGui.so.4,) 279 284 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtNetwork.so.4 $(SOLARIS_INST_DIR)/libVBoxQtNetwork.so.4,) 280 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtXml.so.4 $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,)281 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtSql.so.4 $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,)282 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQt3Support.so.4 283 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig 285 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtXml.so.4 $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,) 286 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtSql.so.4 $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,) 287 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQt3Support.so.4 $(SOLARIS_INST_DIR)/libVBoxQt3Support.so.4,) 288 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR)/VBoxQtconfig,) 284 289 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDbg3.so $(SOLARIS_INST_DIR)/VBoxDbg3.so,) 285 290 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxPython.so $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so) … … 358 363 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \ 359 364 --output $(SOLARIS_INST_DIR)/vbox.pkginfo \ 360 $( PATH_CURRENT)/vbox.pkginfo365 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo 361 366 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf $(SOLARIS_INST_DIR)/vboxdrv.conf 362 367 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf $(SOLARIS_INST_DIR)/vboxflt.conf … … 370 375 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/vboxwebsrv $(SOLARIS_INST_DIR)/vboxwebsrv,) 371 376 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/webtest $(SOLARIS_INST_DIR)/webtest,) 372 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $( PATH_CURRENT)/virtualbox-webservice.xml $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,)373 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $( PATH_CURRENT)/smf-vboxwebsrv.sh $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,)377 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-webservice.xml $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,) 378 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,) 374 379 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh $(SOLARIS_INST_DIR)/vnic_setup.sh,) 375 380 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh $(SOLARIS_INST_DIR)/vnic_term.sh,) … … 377 382 -e "s/_HARDENED_/$(if $(VBOX_WITH_HARDENED),hardened,))/" \ 378 383 --output $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp \ 379 $( PATH_CURRENT)/vboxdrv.sh384 $(VBOX_PATH_SOL_INST_SRC)/vboxdrv.sh 380 385 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp $(SOLARIS_INST_DIR)/vboxdrv.sh 381 386 $(QUIET)$(RM) -f $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp 382 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/VBox.sh$(SOLARIS_INST_DIR)/VBox.sh383 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(INSTALL) -m 0644 $( PATH_CURRENT)/virtualbox.desktop$(SOLARIS_INST_DIR)/virtualbox.desktop,)387 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh $(SOLARIS_INST_DIR)/VBox.sh 388 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop $(SOLARIS_INST_DIR)/virtualbox.desktop,) 384 389 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBox.png $(SOLARIS_INST_DIR)/VBox.png 385 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/postinstall.sh$(SOLARIS_INST_DIR)/postinstall.sh386 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/preremove.sh$(SOLARIS_INST_DIR)/preremove.sh387 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/makepackage.sh$(SOLARIS_INST_DIR)/makepackage.sh388 $(QUIET)$(INSTALL) -m 0644 $( PATH_CURRENT)/vbox.pkgresponse$(SOLARIS_INST_DIR)/autoresponse389 $(QUIET)$(INSTALL) -m 0644 $( PATH_CURRENT)/vboxdevlink.sed$(SOLARIS_INST_DIR)/etc/devlink.tab390 $(QUIET)$(INSTALL) -m 0644 $( PATH_CURRENT)/vbox.space$(SOLARIS_INST_DIR)/vbox.space390 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh $(SOLARIS_INST_DIR)/postinstall.sh 391 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh $(SOLARIS_INST_DIR)/preremove.sh 392 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh $(SOLARIS_INST_DIR)/makepackage.sh 393 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse $(SOLARIS_INST_DIR)/autoresponse 394 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vboxdevlink.sed $(SOLARIS_INST_DIR)/etc/devlink.tab 395 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.space $(SOLARIS_INST_DIR)/vbox.space 391 396 $(QUIET)$(SED) \ 392 397 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \ … … 397 402 $(QUIET)$(if $(VBOX_WITH_SOLARIS_VBI),$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg $(SOLARIS_INST_DIR)/$(VBIPKG_FILENAME).pkg,) 398 403 $(call MSG_L1,Creating install package: $(PKG_FILENAME).tar.gz) 399 $(QUIET)$( SOLARIS_INST_DIR)/makepackage.sh $(if $(VBOX_WITH_HARDENING),--hardened) \404 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_INST_DIR)/makepackage.sh $(if $(VBOX_WITH_HARDENING),--hardened) \ 400 405 $(SOLARIS_INST_DIR) \ 401 406 $(PKG_FILENAME) \ … … 410 415 $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \ 411 416 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \ 412 vbi/vboxkern.pkginfo \413 vbi/makepackage.sh \414 vbi/preremove.sh \415 Makefile.kmk \417 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo \ 418 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh \ 419 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh \ 420 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \ 416 421 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \ 417 422 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi … … 427 432 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \ 428 433 --output $(SOLARIS_VBI_DIR)/vboxkern.pkginfo \ 429 $( PATH_CURRENT)/vbi/vboxkern.pkginfo434 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo 430 435 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_VBI_DIR)/vbox.copyright) 431 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/vbi/makepackage.sh$(SOLARIS_VBI_DIR)/makepackage.sh432 $(QUIET)$(INSTALL) -m 0755 $( PATH_CURRENT)/vbi/preremove.sh$(SOLARIS_VBI_DIR)/preremove.sh436 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh $(SOLARIS_VBI_DIR)/makepackage.sh 437 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh $(SOLARIS_VBI_DIR)/preremove.sh 433 438 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).pkg) 434 $(QUIET)$( SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME)439 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME) 435 440 436 441 437 442 $(PATH_BIN)/$(DBG_ARCHIVE): \ 438 443 $(VBOX_VERSION_STAMP) \ 439 Makefile.kmk444 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk 440 445 $(call MSG_L1,Installing debug binaries $(SOLARIS_DBG_DIR)) 441 446 $(QUIET)$(RM) -Rf -- $(SOLARIS_DBG_DIR)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器