Makefile.kmk revision 384478d3896257fbce9ceb8c01e74040b969e6d7
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# Makefile for the Solaris guest additions base directory.
8c6fb701605a315f86160241e36fa643f8158ddevboxsync# Copyright (C) 2008-2010 Oracle Corporation
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# available from http://www.virtualbox.org. This file is free software;
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# you can redistribute it and/or modify it under the terms of the GNU
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# General Public License (GPL) as published by the Free Software
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# The contents of this file may alternatively be used under the terms
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# of the Common Development and Distribution License Version 1.0
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# VirtualBox OSE distribution, in which case the provisions of the
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# CDDL are applicable instead of those of the GPL.
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# You may elect to license modified versions of this file under the
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# terms and conditions of either the GPL or the CDDL or both.
456f370fcde010d585d9174df045978a6c9893c1vboxsyncSUB_DEPTH = ../../../..
27537ffef7291d0bb3a24e459a6b94c65586defevboxsyncinclude $(KBUILD_PATH)/subheader.kmk
8c5d1958147c3988a7693b5a7666f5fe21a93b7bvboxsyncifneq ($(KBUILD_HOST),solaris)
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync$(error "The Solaris guest additions installer can only be built on Solaris!")
8c5d1958147c3988a7693b5a7666f5fe21a93b7bvboxsyncifeq ($(KBUILD_HOST),solaris)
c4c106ad74e0ad745ac49a2c4182c4f42ced7248vboxsync include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
742ee7392dfc0ce0b48216189ce26534208b3f48vboxsync include $(PATH_SUB_CURRENT)/DRM/Makefile.kmk
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncifdef VBOX_WITH_COMBINED_SOLARIS_PACKAGE ## @todo remove this when tinderclient.pl is updated.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBOX_WITH_COMBINED_GUEST_PACKAGE := 1
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncPKGINFO_ARCH = $(shell uname -p)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncPKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncVBOX_PATH_SOLARIS_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncVBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/Installer
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADDDIR_NAME_64 := amd64
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADDDIR_NAME_32 := i386
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADDINST_OUT_DIR := $(PATH_TARGET)/AdditionsInstaller
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_VBOXADDINST_SUBDIR := /opt/VirtualBoxAdditions
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_VBOXADDINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)$(SOLARIS_VBOXADDINST_SUBDIR)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_VBOXADDINST_DIR_32 := $(SOLARIS_VBOXADDINST_DIR)/$(SOLARIS_ADDDIR_NAME_32)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_VBOXADDINST_DIR_64 := $(SOLARIS_VBOXADDINST_DIR)/$(SOLARIS_ADDDIR_NAME_64)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_OUT_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_OUT_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_OUT_BIN_ISA := $(PATH_OUT_BASE)/solaris.$(KBUILD_TARGET_ARCH)/$(KBUILD_TYPE)/bin/additions
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_DRIVERINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)/usr/kernel/drv
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_DRIVERINST_DIR_32 := $(SOLARIS_ADD_DRIVERINST_DIR)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_DRIVERINST_DIR_64 := $(SOLARIS_ADD_DRIVERINST_DIR)/amd64
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_SYSLIBINST_DIR_32 := $(SOLARIS_ADDINST_OUT_DIR)/usr/lib
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_SYSLIBINST_DIR_64 := $(SOLARIS_ADDINST_OUT_DIR)/usr/lib/amd64
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_USRBIN_DIR := $(SOLARIS_ADDINST_OUT_DIR)/usr/bin
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_ETCFS_DIR := $(SOLARIS_ADDINST_OUT_DIR)/etc/fs/vboxfs
9b5e4e8f5c00e8cd2289a73d173c96e551c79397vboxsyncSOLARIS_ADD_SERVICESINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)/var/svc/manifest/application/virtualbox
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncifeq ($(KBUILD_TARGET_ARCH),x86)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADDDIR_NAME_ISA := $(SOLARIS_ADDDIR_NAME_32)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_VBOXADDINST_DIR_ISA := $(SOLARIS_VBOXADDINST_DIR_32)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADD_DRIVERINST_DIR_ISA := $(SOLARIS_ADD_DRIVERINST_DIR_32)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADD_SYSLIBINST_DIR_ISA := $(SOLARIS_ADD_SYSLIBINST_DIR_32)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADDDIR_NAME_ISA := $(SOLARIS_ADDDIR_NAME_64)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_VBOXADDINST_DIR_ISA := $(SOLARIS_VBOXADDINST_DIR_64)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADD_DRIVERINST_DIR_ISA := $(SOLARIS_ADD_DRIVERINST_DIR_64)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADD_SYSLIBINST_DIR_ISA := $(SOLARIS_ADD_SYSLIBINST_DIR_64)
f7d6665d93770b79026556438d5e081807917420vboxsyncifeq ($(KBUILD_TYPE),debug)
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync BIN_COPY := $(CP) -f
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync BIN_COPY_SYMBOLS := $(CP) -f
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync BIN_COPY := /usr/sfw/bin/gobjcopy -S -R .comment
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync BIN_COPY_SYMBOLS := /usr/sfw/bin/gobjcopy -g -R .comment
76800c2d8e954bb5249d2d30f4af41c6ea03ad5evboxsync VBOX_COMPRESS := compress -f
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncINSTALLS += solaris-addcommon solaris-addcommonbins
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncPROGRAMS += VBoxAddISAExec
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsyncPACKING += $(PATH_STAGE_BIN)/additions/$(PKGFILENAME)
de0f1c1251cc9a7d80f9ebeb8f03fb2989fd6cd0vboxsyncOTHER_CLEAN += $(PACKING) $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME)
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsync# VBoxAddISAExec
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncVBoxAddISAExec_TEMPLATE = VBOXR3EXE
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncVBoxAddISAExec_NAME = VBoxISAExec
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncVBoxAddISAExec_INST = $(INST_ADDITIONS)
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncVBoxAddISAExec_DEPS = $(VBOX_SVN_REV_KMK)
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncVBoxAddISAExec_SOURCES = $(PATH_ROOT)/src/VBox/Installer/solaris/VBoxISAExec.c
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync# Install to $(PATH_STAGE_BIN)/additions/ files from various source paths (to pack them using rules)
e1efbeea1e5e1e63cc2be01c582cec73bc58e839vboxsyncsolaris-addcommonbins_INST = bin/additions/
e1efbeea1e5e1e63cc2be01c582cec73bc58e839vboxsyncsolaris-addcommonbins_MODE = a+rx,u+w
e1efbeea1e5e1e63cc2be01c582cec73bc58e839vboxsyncsolaris-addcommonbins_SOURCES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
142a193b7c7ba74914c647ad7ec4d3dc88c03208vboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient=>1099.vboxclient \
6f17b5db855742e2cf9d2902a53b58c020f6bba9vboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
6f17b5db855742e2cf9d2902a53b58c020f6bba9vboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncsolaris-addcommon_INST = bin/additions/
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncsolaris-addcommon_MODE = a+r,u+w
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncsolaris-addcommon_SOURCES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf=>vboxguest.conf \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop \
8c6fb701605a315f86160241e36fa643f8158ddevboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
8c6fb701605a315f86160241e36fa643f8158ddevboxsync $(VBOX_BRAND_LICENSE_TXT)=>LICENSE
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Create full directory tree
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncBLDDIRS += \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADDINST_OUT_DIR) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/,\
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_32) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_64) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_STRIP_BINS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxClient \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxService \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxControl \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync vboxfsmount \
46d187d353685ef44f46d06582d0d69291e0f75evboxsync $(if ($VBOX_WITH_PAM),pam_vbox.so,) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(if $(VBOX_OSE),,vboxfs_s10)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_SYSLIBS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_DRIVERS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_DRIVERS_CONF = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_XORG_DRIVERS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_COMMON_BINS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxISAExec
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_USRBIN_LINKS = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxService \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxClient \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxControl
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_COMMON = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ADD_SERVICES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncifdef VBOX_COMPRESS
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ADD_COMPRESS_FILES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_XORG_DRIVERS) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxService \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxClient \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync VBoxControl
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ARCH_ADD_DEPFILES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)) \
ea196eaae4348f1908e5693c07f62d1759d870d1vboxsync $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)) \
c440a4da1761fc24bdcc868d6bdc9a892fe53575vboxsync $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_64)/,$(SOLARIS_ADD_SYSLIBS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)) \
c440a4da1761fc24bdcc868d6bdc9a892fe53575vboxsync $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync SOLARIS_ARCH_ADD_DEPFILES = \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_STRIP_BINS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_ISA)/,$(SOLARIS_ADD_SYSLIBS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_ISA)/,$(SOLARIS_ADD_DRIVERS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_XORG_DRIVERS))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncSOLARIS_ARCH_ADD_DEPFILES += \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# -=-=-=-=-=-=-=- Additions package -=-=-=-=-=-=-=-
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync$(PATH_STAGE_BIN)/additions/$(PKGFILENAME): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_VERSION_STAMP) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
f339edb4ba0e574e342ab15370e695f2a7f5fb25vboxsync $(VBOX_BRAND_LICENSE_TXT) \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(PATH_SUB_CURRENT)/solaris/Makefile.kmk \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ARCH_ADD_DEPFILES)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(call MSG_L1,Installing guest additions)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(SED) \
407e4f581d7a567b1b8fe0af00b2be49df2a2af0vboxsync -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
407e4f581d7a567b1b8fe0af00b2be49df2a2af0vboxsync -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync --output $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.pkginfo \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADDINST_OUT_DIR)/postinstall.sh
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADDINST_OUT_DIR)/preremove.sh
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.space
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.depend
f339edb4ba0e574e342ab15370e695f2a7f5fb25vboxsync # don't display the license on package install, since 4.0
f339edb4ba0e574e342ab15370e695f2a7f5fb25vboxsync #$(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.copyright
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(call MSG_L1,Creating install package: $@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_ETCFS_DIR)
9b5e4e8f5c00e8cd2289a73d173c96e551c79397vboxsync $(QUIET)$(MKDIR) -p $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/1099.vboxclient $(SOLARIS_ADD_USRBIN_DIR)/VBoxClient-all
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync ifdef VBOX_COMPRESS
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_COMPRESS_FILES))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_COMPRESS_FILES))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_32)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncelse # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync ifdef VBOX_COMPRESS
2084a447d1acb619df7c393fac41b79d517e4b3dvboxsync $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_COMPRESS_FILES))
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_ISA)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
9b5e4e8f5c00e8cd2289a73d173c96e551c79397vboxsync $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml $(SOLARIS_ADD_SERVICESINST_DIR)/vboxservice.xml
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(QUIET)$(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
3b3bc8a9383a065307e540b83fc3a3d6c548a082vboxsync $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME) $(PATH_STAGE_BIN)/additions/$(PKGFILENAME)
de0f1c1251cc9a7d80f9ebeb8f03fb2989fd6cd0vboxsync $(QUIET)$(RM) -f $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# -=-=-=-=-=-=-=- Package rules -=-=-=-=-=-=-=-
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# 32-bit files
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
ef3815ce74fa922573f9debcab0a1ad912eda207vboxsync $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_SYSLIBINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_DRIVERINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(BIN_COPY) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# 64-bit files
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_64)/,$(SOLARIS_ADD_SYSLIBS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_SYSLIBINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_DRIVERINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(BIN_COPY) $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Common files
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Common binaries/shell scripts
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0755 $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Driver .conf files
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_DRIVERINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $< $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# SMF Service files
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_SERVICESINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(INSTALL) -m 0644 $< $@
025d842f9fff7d4d3debcf29678dc4f2511bc032vboxsync# Symlinks from /usr/bin/ to /opt/VirtualBoxAdditions
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS)): \
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(SOLARIS_ADD_USRBIN_DIR)/% : % | $$(dir $$@)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync $(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/$< $@