1 | # $Id: Makefile.kmk 17031 2009-02-23 16:31:56Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the Solaris guest additions base directory.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008 Sun Microsystems, Inc.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | SUB_DEPTH = ../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | ifneq ($(KBUILD_HOST),solaris)
|
---|
26 | $(error "The Solaris guest additions installer can only be built on Solaris!")
|
---|
27 | endif
|
---|
28 |
|
---|
29 | ifeq ($(KBUILD_HOST),solaris)
|
---|
30 | include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
|
---|
31 | endif
|
---|
32 |
|
---|
33 | PKGFILENAME := VBoxSolarisAdditions.pkg
|
---|
34 | PKGINFO_ARCH = $(shell uname -p)
|
---|
35 | PKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M)
|
---|
36 | VBOX_PATH_SOLARIS_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer
|
---|
37 | VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/Installer
|
---|
38 | SOLARIS_ADD_INST_DIR := $(PATH_TARGET)/AdditionsInstaller
|
---|
39 |
|
---|
40 | ifeq ($(KBUILD_TYPE),debug)
|
---|
41 | BIN_COPY := $(CP) -f
|
---|
42 | BIN_COPY_SYMBOLS := $(CP) -f
|
---|
43 | else
|
---|
44 | BIN_COPY := /usr/sfw/bin/gobjcopy -S -R .comment
|
---|
45 | BIN_COPY_SYMBOLS := /usr/sfw/bin/gobjcopy -g -R .comment
|
---|
46 | VBOX_COMPRESS := compress -f
|
---|
47 | endif
|
---|
48 |
|
---|
49 | PACKING += $(PATH_BIN)/additions/$(PKGFILENAME)
|
---|
50 | OTHER_CLEAN += $(PACKING)
|
---|
51 |
|
---|
52 | #
|
---|
53 | # If we are doing a combined package (x86+amd64) include the binaries from both
|
---|
54 | # architectures otherwise use the one from $(PATH_BIN)/additions
|
---|
55 | #
|
---|
56 | ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
|
---|
57 | SOLARIS_ADD_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
|
---|
58 | SOLARIS_ADD_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
|
---|
59 | SOLARIS_ADD_INST_DIR_64 := $(SOLARIS_ADD_INST_DIR)/amd64
|
---|
60 | SOLARIS_ADD_INST_DIR_32 := $(SOLARIS_ADD_INST_DIR)
|
---|
61 | VBOX_SOLPACKFILES = \
|
---|
62 | $(SOLARIS_ADD_BIN_64)/vboxguest \
|
---|
63 | $(SOLARIS_ADD_BIN_64)/vboxvfs \
|
---|
64 | $(SOLARIS_ADD_BIN_64)/VBoxClient \
|
---|
65 | $(SOLARIS_ADD_BIN_64)/VBoxService \
|
---|
66 | $(SOLARIS_ADD_BIN_64)/VBoxControl \
|
---|
67 | $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so \
|
---|
68 | $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so \
|
---|
69 | $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so \
|
---|
70 | $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so \
|
---|
71 | $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so \
|
---|
72 | $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so \
|
---|
73 | $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so \
|
---|
74 | $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so \
|
---|
75 | $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so \
|
---|
76 | $(SOLARIS_ADD_BIN_32)/vboxguest \
|
---|
77 | $(SOLARIS_ADD_BIN_32)/vboxvfs \
|
---|
78 | $(SOLARIS_ADD_BIN_32)/vboxvfsmount \
|
---|
79 | $(SOLARIS_ADD_BIN_32)/VBoxClient \
|
---|
80 | $(SOLARIS_ADD_BIN_32)/VBoxService \
|
---|
81 | $(SOLARIS_ADD_BIN_32)/VBoxControl \
|
---|
82 | $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so \
|
---|
83 | $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so \
|
---|
84 | $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so \
|
---|
85 | $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so \
|
---|
86 | $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so \
|
---|
87 | $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so \
|
---|
88 | $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so \
|
---|
89 | $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so \
|
---|
90 | $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so
|
---|
91 | else
|
---|
92 | SOLARIS_ADD_BIN := $(PATH_BIN)/additions
|
---|
93 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
94 | SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)
|
---|
95 | else
|
---|
96 | SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)/amd64
|
---|
97 | endif
|
---|
98 | VBOX_SOLPACKFILES = \
|
---|
99 | $(SOLARIS_ADD_BIN)/vboxguest \
|
---|
100 | $(SOLARIS_ADD_BIN)/vboxvfs \
|
---|
101 | $(SOLARIS_ADD_BIN)/vboxvfsmount \
|
---|
102 | $(SOLARIS_ADD_BIN)/VBoxClient \
|
---|
103 | $(SOLARIS_ADD_BIN)/VBoxService \
|
---|
104 | $(SOLARIS_ADD_BIN)/VBoxControl \
|
---|
105 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so \
|
---|
106 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so \
|
---|
107 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so \
|
---|
108 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so \
|
---|
109 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so \
|
---|
110 | $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so \
|
---|
111 | $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so \
|
---|
112 | $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so \
|
---|
113 | $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so \
|
---|
114 | $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so \
|
---|
115 | $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so
|
---|
116 | endif
|
---|
117 |
|
---|
118 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
119 |
|
---|
120 | $(PATH_BIN)/additions/VBoxSolarisAdditions.pkg: \
|
---|
121 | $(VBOX_VERSION_STAMP) \
|
---|
122 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
|
---|
123 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
|
---|
124 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
|
---|
125 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
|
---|
126 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
|
---|
127 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
|
---|
128 | $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
|
---|
129 | $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
|
---|
130 | $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
|
---|
131 | $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
|
---|
132 | $(VBOX_SOLPACKFILES) \
|
---|
133 | $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh \
|
---|
134 | $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)) \
|
---|
135 | $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
|
---|
136 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
|
---|
137 | $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
|
---|
138 | $(call MSG_L1,Installing guest additions)
|
---|
139 | @# Clear out the existing package files if needed
|
---|
140 | $(QUIET)rm -rf $(SOLARIS_ADD_INST_DIR)
|
---|
141 | $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)
|
---|
142 | $(QUIET)$(if $(VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_64),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_ISA))
|
---|
143 | $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)/etc
|
---|
144 | $(QUIET)$(SED) \
|
---|
145 | -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
|
---|
146 | -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
|
---|
147 | -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
|
---|
148 | -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
|
---|
149 | --output $(SOLARIS_ADD_INST_DIR)/vboxguest.pkginfo \
|
---|
150 | $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
|
---|
151 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADD_INST_DIR)/makepackage.sh
|
---|
152 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADD_INST_DIR)/postinstall.sh
|
---|
153 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADD_INST_DIR)/preremove.sh
|
---|
154 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh $(SOLARIS_ADD_INST_DIR)/vboxguest.sh
|
---|
155 | $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml $(SOLARIS_ADD_INST_DIR)/vboxservice.xml
|
---|
156 | $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADD_INST_DIR)/vboxguest.space
|
---|
157 | $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADD_INST_DIR)/vboxguest.copyright)
|
---|
158 | $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop $(SOLARIS_ADD_INST_DIR)/vboxclient.desktop
|
---|
159 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient $(SOLARIS_ADD_INST_DIR)/1099.vboxclient
|
---|
160 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(SOLARIS_ADD_INST_DIR)/x11config.pl
|
---|
161 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl $(SOLARIS_ADD_INST_DIR)/x11restore.pl
|
---|
162 | $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf $(SOLARIS_ADD_INST_DIR)/solaris_xorg.conf
|
---|
163 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/VBoxRandR.sh $(SOLARIS_ADD_INST_DIR)/VBoxRandR.sh
|
---|
164 | $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf $(SOLARIS_ADD_INST_DIR)/vboxguest.conf
|
---|
165 | ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
|
---|
166 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxguest $(SOLARIS_ADD_INST_DIR_64)/vboxguest
|
---|
167 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxvfs $(SOLARIS_ADD_INST_DIR_64)/vboxvfs
|
---|
168 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxClient $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
|
---|
169 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxService $(SOLARIS_ADD_INST_DIR_64)/VBoxService
|
---|
170 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxControl $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
|
---|
171 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
|
---|
172 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
|
---|
173 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
|
---|
174 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
|
---|
175 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
|
---|
176 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
|
---|
177 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
|
---|
178 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
|
---|
179 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_16.so
|
---|
180 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
|
---|
181 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
|
---|
182 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxguest $(SOLARIS_ADD_INST_DIR_32)/vboxguest
|
---|
183 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxvfs $(SOLARIS_ADD_INST_DIR_32)/vboxvfs
|
---|
184 | $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN_32)/vboxvfsmount $(SOLARIS_ADD_INST_DIR_32)/vboxvfsmount
|
---|
185 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxClient $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
|
---|
186 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxService $(SOLARIS_ADD_INST_DIR_32)/VBoxService
|
---|
187 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxControl $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
|
---|
188 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
|
---|
189 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
|
---|
190 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
|
---|
191 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
|
---|
192 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
|
---|
193 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
|
---|
194 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
|
---|
195 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
|
---|
196 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_16.so
|
---|
197 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
|
---|
198 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
|
---|
199 | ifdef VBOX_COMPRESS
|
---|
200 | # Compress binaries as we distribute uncompressed pkgs
|
---|
201 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
|
---|
202 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxService
|
---|
203 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
|
---|
204 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
|
---|
205 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
|
---|
206 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
|
---|
207 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
|
---|
208 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
|
---|
209 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
|
---|
210 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
|
---|
211 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
|
---|
212 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
|
---|
213 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
|
---|
214 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
|
---|
215 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxService
|
---|
216 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
|
---|
217 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
|
---|
218 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
|
---|
219 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
|
---|
220 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
|
---|
221 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
|
---|
222 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
|
---|
223 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
|
---|
224 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
|
---|
225 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
|
---|
226 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
|
---|
227 | endif # VBOX_COMPRESS
|
---|
228 | else # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
|
---|
229 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxguest $(SOLARIS_ADD_INST_DIR_ISA)/vboxguest
|
---|
230 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxvfs $(SOLARIS_ADD_INST_DIR_ISA)/vboxvfs
|
---|
231 | $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN)/vboxvfsmount $(SOLARIS_ADD_INST_DIR_ISA)/vboxvfsmount
|
---|
232 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxClient $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
|
---|
233 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxService $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
|
---|
234 | $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxControl $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
|
---|
235 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
|
---|
236 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
|
---|
237 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
|
---|
238 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
|
---|
239 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
|
---|
240 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
|
---|
241 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
|
---|
242 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
|
---|
243 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
|
---|
244 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
|
---|
245 | $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
|
---|
246 | ifdef VBOX_COMPRESS
|
---|
247 | # Compress binaries as we distribute uncompressed pkgs
|
---|
248 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
|
---|
249 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
|
---|
250 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
|
---|
251 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
|
---|
252 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
|
---|
253 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
|
---|
254 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
|
---|
255 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
|
---|
256 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
|
---|
257 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
|
---|
258 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
|
---|
259 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
|
---|
260 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
|
---|
261 | $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
|
---|
262 | endif # VBOX_COMPRESS
|
---|
263 | endif # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
|
---|
264 | $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh $(SOLARIS_ADD_INST_DIR)/VBox.sh
|
---|
265 | $(call MSG_L1,Creating install package: $@)
|
---|
266 | $(QUIET)$(SOLARIS_ADD_INST_DIR)/makepackage.sh $(SOLARIS_ADD_INST_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
|
---|
267 | $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_INST_DIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
|
---|
268 |
|
---|