VirtualBox

source: vbox/trunk/src/VBox/Additions/solaris/Makefile.kmk@ 34632

Last change on this file since 34632 was 34632, checked in by vboxsync, 14 years ago

Installer/Solaris: do not show license on package install, eliminate redundant OSE checks

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 38.4 KB
Line 
1# $Id: Makefile.kmk 34632 2010-12-02 17:17:39Z vboxsync $
2## @file
3# Makefile for the Solaris guest additions base directory.
4#
5
6#
7# Copyright (C) 2008 Oracle Corporation
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# The contents of this file may alternatively be used under the terms
18# of the Common Development and Distribution License Version 1.0
19# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
20# VirtualBox OSE distribution, in which case the provisions of the
21# CDDL are applicable instead of those of the GPL.
22#
23# You may elect to license modified versions of this file under the
24# terms and conditions of either the GPL or the CDDL or both.
25#
26
27SUB_DEPTH = ../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30ifneq ($(KBUILD_HOST),solaris)
31$(error "The Solaris guest additions installer can only be built on Solaris!")
32endif
33
34ifeq ($(KBUILD_HOST),solaris)
35 include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
36 include $(PATH_SUB_CURRENT)/DRM/Makefile.kmk
37endif
38
39ifdef VBOX_WITH_COMBINED_SOLARIS_PACKAGE ## @todo remove this when tinderclient.pl is updated.
40 VBOX_WITH_COMBINED_GUEST_PACKAGE := 1
41endif
42
43PKGFILENAME := VBoxSolarisAdditions.pkg
44PKGINFO_ARCH = $(shell uname -p)
45PKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M)
46VBOX_PATH_SOLARIS_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer
47VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/Installer
48
49SOLARIS_ADDDIR_NAME_64 := amd64
50SOLARIS_ADDDIR_NAME_32 := i386
51
52SOLARIS_ADDINST_OUT_DIR := $(PATH_TARGET)/AdditionsInstaller
53SOLARIS_VBOXADDINST_SUBDIR := /opt/VirtualBoxAdditions
54SOLARIS_VBOXADDINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)$(SOLARIS_VBOXADDINST_SUBDIR)
55SOLARIS_VBOXADDINST_DIR_32 := $(SOLARIS_VBOXADDINST_DIR)/$(SOLARIS_ADDDIR_NAME_32)
56SOLARIS_VBOXADDINST_DIR_64 := $(SOLARIS_VBOXADDINST_DIR)/$(SOLARIS_ADDDIR_NAME_64)
57
58SOLARIS_ADD_OUT_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
59SOLARIS_ADD_OUT_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
60SOLARIS_ADD_OUT_BIN_ISA := $(PATH_OUT_BASE)/solaris.$(KBUILD_TARGET_ARCH)/$(KBUILD_TYPE)/bin/additions
61
62SOLARIS_ADD_DRIVERINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)/usr/kernel/drv
63SOLARIS_ADD_DRIVERINST_DIR_32 := $(SOLARIS_ADD_DRIVERINST_DIR)
64SOLARIS_ADD_DRIVERINST_DIR_64 := $(SOLARIS_ADD_DRIVERINST_DIR)/amd64
65
66SOLARIS_ADD_SYSLIBINST_DIR_32 := $(SOLARIS_ADDINST_OUT_DIR)/usr/lib
67SOLARIS_ADD_SYSLIBINST_DIR_64 := $(SOLARIS_ADDINST_OUT_DIR)/usr/lib/amd64
68
69SOLARIS_ADD_USRBIN_DIR := $(SOLARIS_ADDINST_OUT_DIR)/usr/bin
70SOLARIS_ADD_ETCFS_DIR := $(SOLARIS_ADDINST_OUT_DIR)/etc/fs/vboxfs
71SOLARIS_ADD_SERVICESINST_DIR := $(SOLARIS_ADDINST_OUT_DIR)/var/svc/manifest/system/virtualbox
72
73ifeq ($(KBUILD_TARGET_ARCH),x86)
74 SOLARIS_ADDDIR_NAME_ISA := $(SOLARIS_ADDDIR_NAME_32)
75 SOLARIS_VBOXADDINST_DIR_ISA := $(SOLARIS_VBOXADDINST_DIR_32)
76 SOLARIS_ADD_DRIVERINST_DIR_ISA := $(SOLARIS_ADD_DRIVERINST_DIR_32)
77 SOLARIS_ADD_SYSLIBINST_DIR_ISA := $(SOLARIS_ADD_SYSLIBINST_DIR_32)
78else
79 SOLARIS_ADDDIR_NAME_ISA := $(SOLARIS_ADDDIR_NAME_64)
80 SOLARIS_VBOXADDINST_DIR_ISA := $(SOLARIS_VBOXADDINST_DIR_64)
81 SOLARIS_ADD_DRIVERINST_DIR_ISA := $(SOLARIS_ADD_DRIVERINST_DIR_64)
82 SOLARIS_ADD_SYSLIBINST_DIR_ISA := $(SOLARIS_ADD_SYSLIBINST_DIR_64)
83endif
84
85ifeq ($(KBUILD_TYPE),debug)
86 BIN_COPY := $(CP) -f
87 BIN_COPY_SYMBOLS := $(CP) -f
88else
89 BIN_COPY := /usr/sfw/bin/gobjcopy -S -R .comment
90 BIN_COPY_SYMBOLS := /usr/sfw/bin/gobjcopy -g -R .comment
91 VBOX_COMPRESS := compress -f
92endif
93
94INSTALLS += solaris-addcommon solaris-addcommonbins
95PROGRAMS += VBoxAddISAExec
96PACKING += $(PATH_BIN)/additions/$(PKGFILENAME)
97OTHER_CLEAN += $(PACKING) $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME)
98
99#
100# VBoxAddISAExec
101#
102VBoxAddISAExec_TEMPLATE = VBOXR3EXE
103VBoxAddISAExec_NAME = VBoxISAExec
104VBoxAddISAExec_INST = $(INST_ADDITIONS)
105VBoxAddISAExec_DEPS = $(VBOX_SVN_REV_KMK)
106VBoxAddISAExec_SOURCES = $(PATH_ROOT)/src/VBox/Installer/solaris/VBoxISAExec.c
107
108#
109# Install to $(PATH_BIN)/additions/ files from various source paths (to pack them using rules)
110#
111solaris-addcommonbins_INST = bin/additions/
112solaris-addcommonbins_MODE = a+rx,u+w
113solaris-addcommonbins_SOURCES = \
114 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
115 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
116 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
117 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
118 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient=>1099.vboxclient \
119 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
120 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
121 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh
122
123solaris-addcommon_INST = bin/additions/
124solaris-addcommon_MODE = a+r,u+w
125solaris-addcommon_SOURCES = \
126 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf=>vboxguest.conf \
127 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop \
128 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml
129
130#
131# Create full directory tree
132#
133BLDDIRS += \
134 $(SOLARIS_ADDINST_OUT_DIR) \
135 $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/,\
136 opt \
137 opt/VirtualBoxAdditions \
138 opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_32) \
139 opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_64) \
140 usr \
141 usr/bin \
142 usr/lib \
143 usr/lib/amd64 \
144 usr/kernel \
145 usr/kernel/drv \
146 usr/kernel/drv/amd64 \
147 var \
148 var/svc \
149 var/svc/manifest \
150 var/svc/manifest/system \
151 var/svc/manifest/system/virtualbox \
152 )
153
154SOLARIS_ADD_STRIP_BINS = \
155 VBoxClient \
156 VBoxService \
157 VBoxControl \
158 vboxfsmount \
159 vboxfs \
160 $(if ($VBOX_WITH_PAM),pam_vbox.so,) \
161 $(if $(VBOX_OSE),,vboxfs_s10)
162
163SOLARIS_ADD_SYSLIBS = \
164 VBoxOGL.so \
165 VBoxOGLcrutil.so \
166 VBoxOGLfeedbackspu.so \
167 VBoxOGLpassthroughspu.so \
168 VBoxOGLarrayspu.so \
169 VBoxOGLerrorspu.so \
170 VBoxOGLpackspu.so
171
172SOLARIS_ADD_DRIVERS = \
173 vboxguest
174
175SOLARIS_ADD_DRIVERS_CONF = \
176 vboxguest.conf
177
178SOLARIS_ADD_XORG_DRIVERS = \
179 vboxmouse_drv_14.so \
180 vboxmouse_drv_15.so \
181 vboxmouse_drv_16.so \
182 vboxmouse_drv_17.so \
183 vboxmouse_drv_70.so \
184 vboxmouse_drv_71.so \
185 vboxvideo_drv_13.so \
186 vboxvideo_drv_14.so \
187 vboxvideo_drv_15.so \
188 vboxvideo_drv_16.so \
189 vboxvideo_drv_17.so \
190 vboxvideo_drv_70.so \
191 vboxvideo_drv_71.so
192
193SOLARIS_ADD_COMMON_BINS = \
194 vboxguest.sh \
195 x11config.pl \
196 x11config15sol.pl \
197 x11restore.pl \
198 VBox.sh \
199 1099.vboxclient \
200 VBoxISAExec
201
202SOLARIS_ADD_USRBIN_LINKS = \
203 VBoxService \
204 VBoxClient \
205 VBoxControl
206
207SOLARIS_ADD_COMMON = \
208 vboxclient.desktop \
209 solaris_xorg.conf \
210 solaris_xorg_modeless.conf
211
212SOLARIS_ADD_SERVICES = \
213 vboxservice.xml
214
215ifdef VBOX_COMPRESS
216 SOLARIS_ADD_COMPRESS_FILES = \
217 $(SOLARIS_ADD_XORG_DRIVERS) \
218 VBoxService \
219 VBoxClient \
220 VBoxControl
221endif
222
223ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
224 SOLARIS_ARCH_ADD_DEPFILES = \
225 $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)) \
226 $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)) \
227 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)) \
228 $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)) \
229 $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)) \
230 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)) \
231 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
232 $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS))
233else
234 SOLARIS_ARCH_ADD_DEPFILES = \
235 $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_STRIP_BINS)) \
236 $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_ISA)/,$(SOLARIS_ADD_SYSLIBS)) \
237 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_ISA)/,$(SOLARIS_ADD_DRIVERS)) \
238 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
239 $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_XORG_DRIVERS))
240endif
241
242SOLARIS_ARCH_ADD_DEPFILES += \
243 $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)) \
244 $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)) \
245 $(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)) \
246 $(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS))
247
248
249
250include $(KBUILD_PATH)/subfooter.kmk
251
252#
253# -=-=-=-=-=-=-=- Additions package -=-=-=-=-=-=-=-
254#
255
256$(PATH_BIN)/additions/$(PKGFILENAME): \
257 $(VBOX_VERSION_STAMP) \
258 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
259 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
260 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
261 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
262 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend \
263 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
264 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
265 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
266 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
267 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
268 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
269 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
270 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
271 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
272 $(VBOX_BRAND_LICENSE_TXT) \
273 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
274 $(PATH_SUB_CURRENT)/solaris/Makefile.kmk \
275 $(SOLARIS_ARCH_ADD_DEPFILES)
276 $(call MSG_L1,Installing guest additions)
277 $(QUIET)$(SED) \
278 -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
279 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
280 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
281 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
282 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
283 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
284 --output $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.pkginfo \
285 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
286 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh
287 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADDINST_OUT_DIR)/postinstall.sh
288 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADDINST_OUT_DIR)/preremove.sh
289 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.space
290 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.depend
291 # don't display the license on package install, since 4.0
292 #$(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.copyright
293 $(call MSG_L1,Creating install package: $@)
294 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_ETCFS_DIR)
295 $(QUIET)$(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/1099.vboxclient $(SOLARIS_ADD_USRBIN_DIR)/VBoxClient-all
296ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
297 ifdef VBOX_COMPRESS
298 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_COMPRESS_FILES))
299 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_COMPRESS_FILES))
300 endif
301 $(QUIET)$(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_32)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
302else # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
303 ifdef VBOX_COMPRESS
304 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_COMPRESS_FILES))
305 endif
306 $(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_ISA)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
307endif
308 $(QUIET)$(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
309 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
310 $(QUIET)$(RM) -f $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME)
311
312
313
314#
315# -=-=-=-=-=-=-=- Package rules -=-=-=-=-=-=-=-
316#
317
318#
319# 32-bit files
320#
321$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)): \
322 $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
323 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
324
325$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)): \
326 $(SOLARIS_ADD_SYSLIBINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
327 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
328
329$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)): \
330 $(SOLARIS_ADD_DRIVERINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
331 $(INSTALL) -m 0644 $< $@
332
333$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
334 $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
335 $(BIN_COPY) $< $@
336
337
338#
339# 64-bit files
340#
341$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)): \
342 $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
343 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
344
345$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_64)/,$(SOLARIS_ADD_SYSLIBS)): \
346 $(SOLARIS_ADD_SYSLIBINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
347 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
348
349$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)): \
350 $(SOLARIS_ADD_DRIVERINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
351 $(INSTALL) -m 0644 $< $@
352
353$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
354 $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
355 $(BIN_COPY) $< $@
356
357
358#
359# Common files
360#
361$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)): \
362 $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
363 $(INSTALL) -m 0644 $< $@
364
365#
366# Common binaries/shell scripts
367#
368$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)): \
369 $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
370 $(INSTALL) -m 0755 $< $@
371
372#
373# Driver .conf files
374#
375$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)): \
376 $(SOLARIS_ADD_DRIVERINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
377 $(INSTALL) -m 0644 $< $@
378
379#
380# SMF Service files
381#
382$(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)): \
383 $(SOLARIS_ADD_SERVICESINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
384 $(INSTALL) -m 0644 $< $@
385
386#
387# Symlinks from /usr/bin/ to /opt/VirtualBoxAdditions
388#
389$(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS)): \
390 $(SOLARIS_ADD_USRBIN_DIR)/% : % | $$(dir $$@)
391 $(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/$< $@
392
393
394
395#
396# @todo Delete once the new packaging works
397#
398ifdef OBSOLETE_PACKAGING
399#
400# If we are doing a combined package (x86+amd64) include the binaries from both
401# architectures otherwise use the one from $(PATH_BIN)/additions
402#
403VBOX_CROGL_FILES = \
404 VBoxOGL.so \
405 VBoxOGLcrutil.so \
406 VBoxOGLfeedbackspu.so \
407 VBoxOGLpassthroughspu.so \
408 VBoxOGLarrayspu.so \
409 VBoxOGLerrorspu.so \
410 VBoxOGLpackspu.so
411VBOX_CROGL_FILES_32 = $(addprefix $(SOLARIS_ADD_BIN_32)/,$(VBOX_CROGL_FILES))
412VBOX_CROGL_FILES_64 = $(addprefix $(SOLARIS_ADD_BIN_64)/,$(VBOX_CROGL_FILES))
413VBOX_CROGL_FILES_ISA = $(addprefix $(SOLARIS_ADD_BIN)/,$(VBOX_CROGL_FILES))
414
415ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
416 SOLARIS_ADD_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
417 SOLARIS_ADD_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
418 SOLARIS_ADD_INST_DIR_64 := $(SOLARIS_ADD_INST_DIR)/amd64
419 SOLARIS_ADD_INST_DIR_32 := $(SOLARIS_ADD_INST_DIR)
420 VBOX_SOLPACKFILES = \
421 $(SOLARIS_ADD_BIN_64)/vboxguest \
422 $(SOLARIS_ADD_BIN_64)/vboxfs \
423 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_64)/vboxfs_s10) \
424 $(SOLARIS_ADD_BIN_64)/VBoxClient \
425 $(SOLARIS_ADD_BIN_64)/VBoxService \
426 $(SOLARIS_ADD_BIN_64)/VBoxControl \
427 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so \
428 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so \
429 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so \
430 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_16.so \
431 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_17.so \
432 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so \
433 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so \
434 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so \
435 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so \
436 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_16.so \
437 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_17.so \
438 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so \
439 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so \
440 $(SOLARIS_ADD_BIN_32)/vboxguest \
441 $(SOLARIS_ADD_BIN_32)/vboxfs \
442 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_32)/vboxfs_s10) \
443 $(SOLARIS_ADD_BIN_32)/vboxfsmount \
444 $(SOLARIS_ADD_BIN_32)/VBoxClient \
445 $(SOLARIS_ADD_BIN_32)/VBoxService \
446 $(SOLARIS_ADD_BIN_32)/VBoxControl \
447 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so \
448 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so \
449 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so \
450 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_16.so \
451 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_17.so \
452 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so \
453 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so \
454 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so \
455 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so \
456 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_16.so \
457 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_17.so \
458 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so \
459 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so
460 ifdef VBOX_WITH_CROGL
461 VBOX_SOLPACKFILES += \
462 $(VBOX_CROGL_FILES_32) \
463 $(VBOX_CROGL_FILES_64)
464 endif
465else
466 SOLARIS_ADD_BIN := $(PATH_BIN)/additions
467 ifeq ($(KBUILD_TARGET_ARCH),x86)
468 SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)
469 else
470 SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)/amd64
471 endif
472 VBOX_SOLPACKFILES = \
473 $(SOLARIS_ADD_BIN)/vboxguest \
474 $(SOLARIS_ADD_BIN)/vboxfs \
475 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN)/vboxfs_s10) \
476 $(SOLARIS_ADD_BIN)/vboxfsmount \
477 $(SOLARIS_ADD_BIN)/VBoxClient \
478 $(SOLARIS_ADD_BIN)/VBoxService \
479 $(SOLARIS_ADD_BIN)/VBoxControl \
480 $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so \
481 $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so \
482 $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so \
483 $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so \
484 $(SOLARIS_ADD_BIN)/vboxvideo_drv_17.so \
485 $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so \
486 $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so \
487 $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so \
488 $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so \
489 $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so \
490 $(SOLARIS_ADD_BIN)/vboxmouse_drv_17.so \
491 $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so \
492 $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so
493 ifdef VBOX_WITH_CROGL
494 VBOX_SOLPACKFILES += \
495 $(VBOX_CROGL_FILES_ISA)
496 endif
497endif
498
499include $(KBUILD_PATH)/subfooter.kmk
500
501$(PATH_BIN)/additions/VBoxSolarisAdditions.pkg: \
502 $(VBOX_VERSION_STAMP) \
503 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
504 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
505 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
506 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
507 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend \
508 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
509 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
510 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
511 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
512 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
513 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
514 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
515 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
516 $(VBOX_SOLPACKFILES) \
517 $(VBOX_BRAND_LICENSE_TXT) \
518 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
519 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
520 $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
521 $(call MSG_L1,Installing guest additions)
522 @# Clear out the existing package files if needed
523 $(QUIET)rm -rf $(SOLARIS_ADD_INST_DIR)
524 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)
525 $(QUIET)$(if $(VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_64),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_ISA))
526 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)/etc
527 $(QUIET)$(SED) \
528 -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
529 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
530 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
531 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
532 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
533 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
534 --output $(SOLARIS_ADD_INST_DIR)/vboxguest.pkginfo \
535 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
536 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADD_INST_DIR)/makepackage.sh
537 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADD_INST_DIR)/postinstall.sh
538 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADD_INST_DIR)/preremove.sh
539 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh $(SOLARIS_ADD_INST_DIR)/vboxguest.sh
540 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml $(SOLARIS_ADD_INST_DIR)/vboxservice.xml
541 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADD_INST_DIR)/vboxguest.space
542 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend $(SOLARIS_ADD_INST_DIR)/vboxguest.depend
543 # don't display the license on package install, since 4.0
544 #$(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADD_INST_DIR)/vboxguest.copyright
545 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop $(SOLARIS_ADD_INST_DIR)/vboxclient.desktop
546 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient $(SOLARIS_ADD_INST_DIR)/1099.vboxclient
547 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(SOLARIS_ADD_INST_DIR)/x11config.pl
548 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl $(SOLARIS_ADD_INST_DIR)/x11config15sol.pl
549 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl $(SOLARIS_ADD_INST_DIR)/x11restore.pl
550 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf $(SOLARIS_ADD_INST_DIR)/solaris_xorg.conf
551 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf $(SOLARIS_ADD_INST_DIR)/solaris_xorg_modeless.conf
552 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf $(SOLARIS_ADD_INST_DIR)/vboxguest.conf
553ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
554 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxguest $(SOLARIS_ADD_INST_DIR_64)/vboxguest
555 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxfs $(SOLARIS_ADD_INST_DIR_64)/vboxfs
556 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_64)/vboxfs_s10)
557 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxClient $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
558 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxService $(SOLARIS_ADD_INST_DIR_64)/VBoxService
559 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxControl $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
560 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
561 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
562 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
563 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
564 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_17.so
565 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
566 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
567 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
568 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
569 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_16.so
570 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_17.so
571 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
572 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
573 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGL.so
574 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLcrutil.so
575 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLfeedbackspu.so
576 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLpassthroughspu.so
577 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLarrayspu.so
578 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLerrorspu.so
579 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLpackspu.so
580 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxguest $(SOLARIS_ADD_INST_DIR_32)/vboxguest
581 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxfs $(SOLARIS_ADD_INST_DIR_32)/vboxfs
582 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_32)/vboxfs_s10)
583 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN_32)/vboxfsmount $(SOLARIS_ADD_INST_DIR_32)/vboxfsmount
584 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxClient $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
585 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxService $(SOLARIS_ADD_INST_DIR_32)/VBoxService
586 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxControl $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
587 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
588 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
589 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
590 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
591 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_17.so
592 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
593 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
594 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
595 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
596 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_16.so
597 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_17.so
598 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
599 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
600 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGL.so
601 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLcrutil.so
602 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLfeedbackspu.so
603 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLpassthroughspu.so
604 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLarrayspu.so
605 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLerrorspu.so
606 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLpackspu.so
607 ifdef VBOX_COMPRESS
608 # Compress binaries as we distribute uncompressed pkgs
609 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
610 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxService
611 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
612 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
613 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
614 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
615 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
616 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_17.so
617 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
618 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
619 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
620 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
621 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_16.so
622 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_17.so
623 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
624 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
625 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
626 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxService
627 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
628 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
629 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
630 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
631 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
632 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_17.so
633 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
634 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
635 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
636 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
637 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_16.so
638 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_17.so
639 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
640 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
641 endif # VBOX_COMPRESS
642else # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
643 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxguest $(SOLARIS_ADD_INST_DIR_ISA)/vboxguest
644 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxfs $(SOLARIS_ADD_INST_DIR_ISA)/vboxfs
645 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_ISA)/vboxfs_s10
646 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN)/vboxfsmount $(SOLARIS_ADD_INST_DIR_ISA)/vboxfsmount
647 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxClient $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
648 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxService $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
649 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxControl $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
650 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
651 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
652 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
653 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
654 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_17.so
655 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
656 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
657 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
658 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
659 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
660 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_17.so
661 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
662 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
663 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGL.so
664 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLcrutil.so
665 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLfeedbackspu.so
666 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLpassthroughspu.so
667 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLarrayspu.so
668 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLerrorspu.so
669 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLpackspu.so
670 ifdef VBOX_COMPRESS
671 # Compress binaries as we distribute uncompressed pkgs
672 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
673 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
674 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
675 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
676 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
677 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
678 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
679 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_17.so
680 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
681 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
682 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
683 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
684 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
685 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_17.so
686 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
687 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
688 endif # VBOX_COMPRESS
689endif # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
690 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh $(SOLARIS_ADD_INST_DIR)/VBox.sh
691 $(call MSG_L1,Creating install package: $@)
692 $(QUIET)$(SOLARIS_ADD_INST_DIR)/makepackage.sh $(SOLARIS_ADD_INST_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
693 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_INST_DIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
694
695endif
696
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette