- Timestamp:
- May 6, 2008 5:01:30 PM (17 years ago)
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/Makefile.kmk
r8623 r8633 27 27 endif 28 28 29 SOLARISINSTDIR := $(PATH_TARGET)/install 30 SOLARISDBGDIR := $(PATH_TARGET)/installdbg 29 31 PKGINFO_ARCH = $(shell uname -p) 30 32 PKGFILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-$(BUILD_TARGET_ARCH)-r$(VBOX_SVN_REV) 31 33 DBGARCHIVE = VirtualBox-dbg.tar.bz2 32 34 PACKING = $(PATH_BIN)/$(PKGFILENAME).tar.gz $(PATH_BIN)/$(DBGARCHIVE) 33 OTHER_CLEAN = $(addprefix $(PATH_TARGET)/install/,vbox.pkginfo vbox.pkgresponse ReadMe.txt \ 34 makepackage.sh vboxdrv vboxdrv.conf prototype \ 35 vboxdrv.sh postinstall.sh preremove.sh VBox.sh vnic_setup.sh vnic_term.sh) 35 OTHER_CLEAN = $(addprefix $(SOLARISINSTDIR)/,vbox.pkginfo vbox.space vbox.pkgresponse \ 36 makepackage.sh prototype postinstall.sh preremove.sh etc/devlink.tab) 36 37 37 38 INSTALLS = solaris-doc … … 91 92 $(if $(and $(not $(VBOX_OSE)),$(VBOX_WITH_QTGUI)),License-$(VBOX_LICENSE_VER).html) \ 92 93 components/VBoxXPCOMBase.xpt \ 93 components/VirtualBox_XPCOM.xpt 94 components/VirtualBox_XPCOM.xpt \ 95 autoresponse \ 96 vboxdrv.conf \ 97 vboxdrv.sh \ 98 VBox.sh \ 99 vnic_setup.sh \ 100 vnic_term.sh \ 101 ReadMe.txt 94 102 95 103 SOLARISNLS = \ … … 99 107 nls/VirtualBox_$(f).qm nls/qt_$(f).qm),) 100 108 109 SOLARISSDK = \ 110 $(if $(VBOX_WITH_QTGUI),$(foreach f,\ 111 $(shell $(CAT_EXT) \ 112 sdkfiles),\ 113 $(f)),) 114 115 SOLARISNLS = \ 116 $(if $(VBOX_WITH_QTGUI),$(foreach f,\ 117 $(shell $(CAT_EXT) \ 118 $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/nls/ApprovedLanguages.txt),\ 119 nls/VirtualBox_$(f).qm nls/qt_$(f).qm),) 120 101 121 ifdef VBOX_WITH_DOCS 102 122 ifndef $(VBOX_OSE) … … 120 140 VBoxHeadless 121 141 endif 122 123 124 SOLARISARCHFILES := $(SOLARISSTRIPBIN) $(SOLARISSTRIPOBJ) $(SOLARISNOSTRIP) $(SOLARISNLS) 125 SOLARISINSTDIR := $(PATH_TARGET)/install 126 SOLARISDBGDIR := $(PATH_TARGET)/installdbg 142 ifdef VBOX_WITH_WEBSERVICES 143 SOLARISSTRIPBIN += \ 144 vboxwebsrv \ 145 webtest 146 endif 147 148 # Guest Additions 149 SOLARISNOSTRIP += \ 150 $(if $(VBOX_OSE),,additions/VBoxGuestAdditions.iso) 151 152 SOLARISARCHFILES := $(SOLARISSTRIPBIN) $(SOLARISSTRIPOBJ) $(SOLARISNOSTRIP) $(SOLARISNLS) $(SOLARISSDK) 127 153 128 154 OTHER_CLEAN += $(addprefix $(SOLARISINSTDIR)/,$(SOLARISARCHFILES)) \ 129 155 $(SOLARISINSTDIR)/$(PKGFILENAME).tar.gz \ 130 $( PATH_BIN)/$(PKGFILENAME).tar.gz\156 $(SOLARISINSTDIR)/$(PKGFILENAME).pkg \ 131 157 $(addprefix $(SOLARISDBGDIR)/,$(SOLARISSTRIPBIN)) \ 132 158 $(SOLARISDBGDIR)/$(DBGARCHIVE) … … 136 162 137 163 $(PATH_BIN)/$(PKGFILENAME).tar.gz: \ 164 $(addprefix $(SOLARISINSTDIR)/,$(SOLARISSDK)) \ 138 165 $(VBOX_VERSION_STAMP) \ 139 166 makepackage.sh \ … … 141 168 preremove.sh \ 142 169 vbox.pkginfo \ 170 vbox.space \ 143 171 vbox.pkgresponse \ 144 172 vboxdevlink.sed \ 145 vboxdrv.sh \146 VBox.sh \147 173 $(PATH_ROOT)/doc/ReadMe-Solaris.txt \ 148 174 Makefile.kmk 149 175 $(call MSG_L1,Installing binaries $(SOLARISINSTDIR)) 150 @# Clear out the existing package files if needed151 $(QUIET)rm -rf $(SOLARISINSTDIR)152 176 $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR)/additions 153 177 $(QUIET)$(MKDIR) -p $(SOLARISINSTDIR)/components … … 227 251 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/components/VirtualBox_XPCOM.xpt $(SOLARISINSTDIR)/components/VirtualBox_XPCOM.xpt 228 252 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(CP) $(foreach f,$(SOLARISNLS),$(PATH_BIN)/$(f)) $(SOLARISINSTDIR)/nls,) 229 $(QUIET)$(if $(VBOX_WITH_QTGUI),cp -p -L -R $(PATH_BIN)/sdk $(SOLARISINSTDIR),)230 253 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/vboxwebsrv $(SOLARISINSTDIR)/vboxwebsrv,) 231 254 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/webtest $(SOLARISINSTDIR)/webtest,) … … 253 276 254 277 $(PATH_BIN)/$(DBGARCHIVE): \ 278 $(addprefix $(SOLARISINSTDIR)/,$(SOLARISSTRIPBIN)) \ 255 279 $(VBOX_VERSION_STAMP) \ 256 280 Makefile.kmk … … 282 306 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxHeadless $(SOLARISDBGDIR)/VBoxHeadless,) 283 307 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDbg.so $(SOLARISDBGDIR)/VBoxDbg.so,) 308 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(PATH_BIN)/vboxwebsrv $(SOLARISDBGDIR)/vboxwebsrv,) 309 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(PATH_BIN)/webtest $(SOLARISDBGDIR)/webtest,) 284 310 $(call MSG_L1,Packing $@) 285 311 $(QUIET)/usr/sfw/bin/gtar --owner 0 --group 0 -cjRhf $(PATH_BIN)/$(DBGARCHIVE) -C $(SOLARISDBGDIR) $(SOLARISSTRIPBIN) 286 312 $(QUIET)chmod 0644 $(PATH_BIN)/$(DBGARCHIVE) 287 313 314 $(addprefix $(SOLARIS_INST_DIR)/,$(SOLARIS_SDK)): $$(subst $$(SOLARIS_INST_DIR)/,$(PATH_BIN)/,$$@) 315 $(RM) -f $@ 316 $(MKDIR) -p $(@D) 317 $(CP) -pf $< $@ 318
Note:
See TracChangeset
for help on using the changeset viewer.