VirtualBox

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

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

Additions/solaris: put LICENSE file in additions install directory, /opt/VirtualBoxAdditions

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 38.5 KB
Line 
1# $Id: Makefile.kmk 34698 2010-12-03 14:14:05Z vboxsync $
2## @file
3# Makefile for the Solaris guest additions base directory.
4#
5
6#
7# Copyright (C) 2008-2010 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 $(VBOX_BRAND_LICENSE_TXT)=>LICENSE
130
131#
132# Create full directory tree
133#
134BLDDIRS += \
135 $(SOLARIS_ADDINST_OUT_DIR) \
136 $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/,\
137 opt \
138 opt/VirtualBoxAdditions \
139 opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_32) \
140 opt/VirtualBoxAdditions/$(SOLARIS_ADDDIR_NAME_64) \
141 usr \
142 usr/bin \
143 usr/lib \
144 usr/lib/amd64 \
145 usr/kernel \
146 usr/kernel/drv \
147 usr/kernel/drv/amd64 \
148 var \
149 var/svc \
150 var/svc/manifest \
151 var/svc/manifest/system \
152 var/svc/manifest/system/virtualbox \
153 )
154
155SOLARIS_ADD_STRIP_BINS = \
156 VBoxClient \
157 VBoxService \
158 VBoxControl \
159 vboxfsmount \
160 vboxfs \
161 $(if ($VBOX_WITH_PAM),pam_vbox.so,) \
162 $(if $(VBOX_OSE),,vboxfs_s10)
163
164SOLARIS_ADD_SYSLIBS = \
165 VBoxOGL.so \
166 VBoxOGLcrutil.so \
167 VBoxOGLfeedbackspu.so \
168 VBoxOGLpassthroughspu.so \
169 VBoxOGLarrayspu.so \
170 VBoxOGLerrorspu.so \
171 VBoxOGLpackspu.so
172
173SOLARIS_ADD_DRIVERS = \
174 vboxguest
175
176SOLARIS_ADD_DRIVERS_CONF = \
177 vboxguest.conf
178
179SOLARIS_ADD_XORG_DRIVERS = \
180 vboxmouse_drv_14.so \
181 vboxmouse_drv_15.so \
182 vboxmouse_drv_16.so \
183 vboxmouse_drv_17.so \
184 vboxmouse_drv_70.so \
185 vboxmouse_drv_71.so \
186 vboxvideo_drv_13.so \
187 vboxvideo_drv_14.so \
188 vboxvideo_drv_15.so \
189 vboxvideo_drv_16.so \
190 vboxvideo_drv_17.so \
191 vboxvideo_drv_70.so \
192 vboxvideo_drv_71.so
193
194SOLARIS_ADD_COMMON_BINS = \
195 vboxguest.sh \
196 x11config.pl \
197 x11config15sol.pl \
198 x11restore.pl \
199 VBox.sh \
200 1099.vboxclient \
201 VBoxISAExec
202
203SOLARIS_ADD_USRBIN_LINKS = \
204 VBoxService \
205 VBoxClient \
206 VBoxControl
207
208SOLARIS_ADD_COMMON = \
209 vboxclient.desktop \
210 solaris_xorg.conf \
211 solaris_xorg_modeless.conf \
212 LICENSE
213
214SOLARIS_ADD_SERVICES = \
215 vboxservice.xml
216
217ifdef VBOX_COMPRESS
218 SOLARIS_ADD_COMPRESS_FILES = \
219 $(SOLARIS_ADD_XORG_DRIVERS) \
220 VBoxService \
221 VBoxClient \
222 VBoxControl
223endif
224
225ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
226 SOLARIS_ARCH_ADD_DEPFILES = \
227 $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)) \
228 $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)) \
229 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)) \
230 $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)) \
231 $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)) \
232 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)) \
233 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
234 $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS))
235else
236 SOLARIS_ARCH_ADD_DEPFILES = \
237 $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_STRIP_BINS)) \
238 $(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_ISA)/,$(SOLARIS_ADD_SYSLIBS)) \
239 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_ISA)/,$(SOLARIS_ADD_DRIVERS)) \
240 $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
241 $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_XORG_DRIVERS))
242endif
243
244SOLARIS_ARCH_ADD_DEPFILES += \
245 $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)) \
246 $(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)) \
247 $(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)) \
248 $(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS))
249
250
251
252include $(KBUILD_PATH)/subfooter.kmk
253
254#
255# -=-=-=-=-=-=-=- Additions package -=-=-=-=-=-=-=-
256#
257
258$(PATH_BIN)/additions/$(PKGFILENAME): \
259 $(VBOX_VERSION_STAMP) \
260 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
261 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
262 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
263 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
264 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend \
265 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
266 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
267 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
268 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
269 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
270 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
271 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
272 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
273 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
274 $(VBOX_BRAND_LICENSE_TXT) \
275 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
276 $(PATH_SUB_CURRENT)/solaris/Makefile.kmk \
277 $(SOLARIS_ARCH_ADD_DEPFILES)
278 $(call MSG_L1,Installing guest additions)
279 $(QUIET)$(SED) \
280 -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
281 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
282 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
283 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
284 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
285 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
286 --output $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.pkginfo \
287 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
288 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh
289 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADDINST_OUT_DIR)/postinstall.sh
290 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADDINST_OUT_DIR)/preremove.sh
291 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.space
292 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.depend
293 # don't display the license on package install, since 4.0
294 #$(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADDINST_OUT_DIR)/vboxguest.copyright
295 $(call MSG_L1,Creating install package: $@)
296 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_ETCFS_DIR)
297 $(QUIET)$(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/1099.vboxclient $(SOLARIS_ADD_USRBIN_DIR)/VBoxClient-all
298ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
299 ifdef VBOX_COMPRESS
300 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_COMPRESS_FILES))
301 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_COMPRESS_FILES))
302 endif
303 $(QUIET)$(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_32)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
304else # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
305 ifdef VBOX_COMPRESS
306 $(QUIET)$(VBOX_COMPRESS) $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_COMPRESS_FILES))
307 endif
308 $(LN_SYMLINK) -f ../../..$(SOLARIS_VBOXADDINST_SUBDIR)/$(SOLARIS_ADDDIR_NAME_ISA)/vboxfsmount $(SOLARIS_ADD_ETCFS_DIR)/mount
309endif
310 $(QUIET)$(SOLARIS_ADDINST_OUT_DIR)/makepackage.sh $(SOLARIS_ADDINST_OUT_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
311 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
312 $(QUIET)$(RM) -f $(SOLARIS_ADDINST_OUT_DIR)/$(PKGFILENAME)
313
314
315
316#
317# -=-=-=-=-=-=-=- Package rules -=-=-=-=-=-=-=-
318#
319
320#
321# 32-bit files
322#
323$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)): \
324 $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
325 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
326
327$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_32)/,$(SOLARIS_ADD_SYSLIBS)): \
328 $(SOLARIS_ADD_SYSLIBINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
329 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
330
331$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)): \
332 $(SOLARIS_ADD_DRIVERINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
333 $(INSTALL) -m 0644 $< $@
334
335$(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
336 $(SOLARIS_VBOXADDINST_DIR_32)/% : $(SOLARIS_ADD_OUT_BIN_32)/% | $$(dir $$@)
337 $(BIN_COPY) $< $@
338
339
340#
341# 64-bit files
342#
343$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)): \
344 $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
345 $(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@
346
347$(addprefix $(SOLARIS_ADD_SYSLIBINST_DIR_64)/,$(SOLARIS_ADD_SYSLIBS)): \
348 $(SOLARIS_ADD_SYSLIBINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
349 $(INSTALL) -m 0644 $(if $(VBOX_DO_STRIP),-s,) $< $@
350
351$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)): \
352 $(SOLARIS_ADD_DRIVERINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
353 $(INSTALL) -m 0644 $< $@
354
355$(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)): \
356 $(SOLARIS_VBOXADDINST_DIR_64)/% : $(SOLARIS_ADD_OUT_BIN_64)/% | $$(dir $$@)
357 $(BIN_COPY) $< $@
358
359
360#
361# Common files
362#
363$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON)): \
364 $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
365 $(INSTALL) -m 0644 $< $@
366
367#
368# Common binaries/shell scripts
369#
370$(addprefix $(SOLARIS_VBOXADDINST_DIR)/,$(SOLARIS_ADD_COMMON_BINS)): \
371 $(SOLARIS_VBOXADDINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
372 $(INSTALL) -m 0755 $< $@
373
374#
375# Driver .conf files
376#
377$(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)): \
378 $(SOLARIS_ADD_DRIVERINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
379 $(INSTALL) -m 0644 $< $@
380
381#
382# SMF Service files
383#
384$(addprefix $(SOLARIS_ADD_SERVICESINST_DIR)/,$(SOLARIS_ADD_SERVICES)): \
385 $(SOLARIS_ADD_SERVICESINST_DIR)/% : $(SOLARIS_ADD_OUT_BIN_ISA)/% | $$(dir $$@)
386 $(INSTALL) -m 0644 $< $@
387
388#
389# Symlinks from /usr/bin/ to /opt/VirtualBoxAdditions
390#
391$(addprefix $(SOLARIS_ADD_USRBIN_DIR)/,$(SOLARIS_ADD_USRBIN_LINKS)): \
392 $(SOLARIS_ADD_USRBIN_DIR)/% : % | $$(dir $$@)
393 $(LN_SYMLINK) -f ../..$(SOLARIS_VBOXADDINST_SUBDIR)/$< $@
394
395
396
397#
398# @todo Delete once the new packaging works
399#
400ifdef OBSOLETE_PACKAGING
401#
402# If we are doing a combined package (x86+amd64) include the binaries from both
403# architectures otherwise use the one from $(PATH_BIN)/additions
404#
405VBOX_CROGL_FILES = \
406 VBoxOGL.so \
407 VBoxOGLcrutil.so \
408 VBoxOGLfeedbackspu.so \
409 VBoxOGLpassthroughspu.so \
410 VBoxOGLarrayspu.so \
411 VBoxOGLerrorspu.so \
412 VBoxOGLpackspu.so
413VBOX_CROGL_FILES_32 = $(addprefix $(SOLARIS_ADD_BIN_32)/,$(VBOX_CROGL_FILES))
414VBOX_CROGL_FILES_64 = $(addprefix $(SOLARIS_ADD_BIN_64)/,$(VBOX_CROGL_FILES))
415VBOX_CROGL_FILES_ISA = $(addprefix $(SOLARIS_ADD_BIN)/,$(VBOX_CROGL_FILES))
416
417ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
418 SOLARIS_ADD_BIN_64 := $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
419 SOLARIS_ADD_BIN_32 := $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
420 SOLARIS_ADD_INST_DIR_64 := $(SOLARIS_ADD_INST_DIR)/amd64
421 SOLARIS_ADD_INST_DIR_32 := $(SOLARIS_ADD_INST_DIR)
422 VBOX_SOLPACKFILES = \
423 $(SOLARIS_ADD_BIN_64)/vboxguest \
424 $(SOLARIS_ADD_BIN_64)/vboxfs \
425 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_64)/vboxfs_s10) \
426 $(SOLARIS_ADD_BIN_64)/VBoxClient \
427 $(SOLARIS_ADD_BIN_64)/VBoxService \
428 $(SOLARIS_ADD_BIN_64)/VBoxControl \
429 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so \
430 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so \
431 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so \
432 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_16.so \
433 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_17.so \
434 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so \
435 $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so \
436 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so \
437 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so \
438 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_16.so \
439 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_17.so \
440 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so \
441 $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so \
442 $(SOLARIS_ADD_BIN_32)/vboxguest \
443 $(SOLARIS_ADD_BIN_32)/vboxfs \
444 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_32)/vboxfs_s10) \
445 $(SOLARIS_ADD_BIN_32)/vboxfsmount \
446 $(SOLARIS_ADD_BIN_32)/VBoxClient \
447 $(SOLARIS_ADD_BIN_32)/VBoxService \
448 $(SOLARIS_ADD_BIN_32)/VBoxControl \
449 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so \
450 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so \
451 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so \
452 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_16.so \
453 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_17.so \
454 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so \
455 $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so \
456 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so \
457 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so \
458 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_16.so \
459 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_17.so \
460 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so \
461 $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so
462 ifdef VBOX_WITH_CROGL
463 VBOX_SOLPACKFILES += \
464 $(VBOX_CROGL_FILES_32) \
465 $(VBOX_CROGL_FILES_64)
466 endif
467else
468 SOLARIS_ADD_BIN := $(PATH_BIN)/additions
469 ifeq ($(KBUILD_TARGET_ARCH),x86)
470 SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)
471 else
472 SOLARIS_ADD_INST_DIR_ISA := $(SOLARIS_ADD_INST_DIR)/amd64
473 endif
474 VBOX_SOLPACKFILES = \
475 $(SOLARIS_ADD_BIN)/vboxguest \
476 $(SOLARIS_ADD_BIN)/vboxfs \
477 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN)/vboxfs_s10) \
478 $(SOLARIS_ADD_BIN)/vboxfsmount \
479 $(SOLARIS_ADD_BIN)/VBoxClient \
480 $(SOLARIS_ADD_BIN)/VBoxService \
481 $(SOLARIS_ADD_BIN)/VBoxControl \
482 $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so \
483 $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so \
484 $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so \
485 $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so \
486 $(SOLARIS_ADD_BIN)/vboxvideo_drv_17.so \
487 $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so \
488 $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so \
489 $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so \
490 $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so \
491 $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so \
492 $(SOLARIS_ADD_BIN)/vboxmouse_drv_17.so \
493 $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so \
494 $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so
495 ifdef VBOX_WITH_CROGL
496 VBOX_SOLPACKFILES += \
497 $(VBOX_CROGL_FILES_ISA)
498 endif
499endif
500
501include $(KBUILD_PATH)/subfooter.kmk
502
503$(PATH_BIN)/additions/VBoxSolarisAdditions.pkg: \
504 $(VBOX_VERSION_STAMP) \
505 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh \
506 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh \
507 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh \
508 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo \
509 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend \
510 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh \
511 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml \
512 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient \
513 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
514 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl \
515 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl \
516 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf \
517 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf \
518 $(VBOX_SOLPACKFILES) \
519 $(VBOX_BRAND_LICENSE_TXT) \
520 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf \
521 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh \
522 $(PATH_SUB_CURRENT)/solaris/Makefile.kmk
523 $(call MSG_L1,Installing guest additions)
524 @# Clear out the existing package files if needed
525 $(QUIET)rm -rf $(SOLARIS_ADD_INST_DIR)
526 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)
527 $(QUIET)$(if $(VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_64),$(MKDIR) -p $(SOLARIS_ADD_INST_DIR_ISA))
528 $(QUIET)$(MKDIR) -p $(SOLARIS_ADD_INST_DIR)/etc
529 $(QUIET)$(SED) \
530 -e "s/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g" \
531 -e "s/@VBOX_VENDOR@/$(VBOX_VENDOR)/g" \
532 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
533 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
534 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
535 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
536 --output $(SOLARIS_ADD_INST_DIR)/vboxguest.pkginfo \
537 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.pkginfo
538 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/makepackage.sh $(SOLARIS_ADD_INST_DIR)/makepackage.sh
539 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/postinstall.sh $(SOLARIS_ADD_INST_DIR)/postinstall.sh
540 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/preremove.sh $(SOLARIS_ADD_INST_DIR)/preremove.sh
541 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.sh $(SOLARIS_ADD_INST_DIR)/vboxguest.sh
542 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxservice.xml $(SOLARIS_ADD_INST_DIR)/vboxservice.xml
543 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.space $(SOLARIS_ADD_INST_DIR)/vboxguest.space
544 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/vboxguest.depend $(SOLARIS_ADD_INST_DIR)/vboxguest.depend
545 $(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADD_INST_DIR)/LICENSE
546 # don't display the license on package install, since 4.0
547 #$(QUIET)$(INSTALL) -m 0644 $(VBOX_BRAND_LICENSE_TXT) $(SOLARIS_ADD_INST_DIR)/vboxguest.copyright
548 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/vboxclient.desktop $(SOLARIS_ADD_INST_DIR)/vboxclient.desktop
549 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/98vboxadd-xclient $(SOLARIS_ADD_INST_DIR)/1099.vboxclient
550 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl $(SOLARIS_ADD_INST_DIR)/x11config.pl
551 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15sol.pl $(SOLARIS_ADD_INST_DIR)/x11config15sol.pl
552 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11restore.pl $(SOLARIS_ADD_INST_DIR)/x11restore.pl
553 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg.conf $(SOLARIS_ADD_INST_DIR)/solaris_xorg.conf
554 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_X11_ADDITION_INSTALLER)/solaris_xorg_modeless.conf $(SOLARIS_ADD_INST_DIR)/solaris_xorg_modeless.conf
555 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.conf $(SOLARIS_ADD_INST_DIR)/vboxguest.conf
556ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
557 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxguest $(SOLARIS_ADD_INST_DIR_64)/vboxguest
558 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxfs $(SOLARIS_ADD_INST_DIR_64)/vboxfs
559 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_64)/vboxfs_s10)
560 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxClient $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
561 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxService $(SOLARIS_ADD_INST_DIR_64)/VBoxService
562 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxControl $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
563 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
564 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
565 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
566 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
567 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_17.so
568 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
569 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
570 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
571 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
572 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_16.so
573 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_17.so
574 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
575 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_64)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
576 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGL.so
577 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLcrutil.so
578 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLfeedbackspu.so
579 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLpassthroughspu.so
580 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLarrayspu.so
581 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLerrorspu.so
582 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_64)/VBoxOGLpackspu.so
583 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxguest $(SOLARIS_ADD_INST_DIR_32)/vboxguest
584 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxfs $(SOLARIS_ADD_INST_DIR_32)/vboxfs
585 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_32)/vboxfs_s10)
586 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN_32)/vboxfsmount $(SOLARIS_ADD_INST_DIR_32)/vboxfsmount
587 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxClient $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
588 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxService $(SOLARIS_ADD_INST_DIR_32)/VBoxService
589 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxControl $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
590 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
591 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
592 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
593 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
594 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_17.so
595 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
596 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
597 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
598 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
599 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_16.so
600 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_17.so
601 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
602 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN_32)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
603 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGL.so
604 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLcrutil.so
605 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLfeedbackspu.so
606 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLpassthroughspu.so
607 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLarrayspu.so
608 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLerrorspu.so
609 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_32)/VBoxOGLpackspu.so
610 ifdef VBOX_COMPRESS
611 # Compress binaries as we distribute uncompressed pkgs
612 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxClient
613 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxService
614 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/VBoxControl
615 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_13.so
616 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_14.so
617 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_15.so
618 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_16.so
619 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_17.so
620 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_70.so
621 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxvideo_drv_71.so
622 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_14.so
623 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_15.so
624 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_16.so
625 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_17.so
626 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_70.so
627 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_64)/vboxmouse_drv_71.so
628 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxClient
629 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxService
630 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/VBoxControl
631 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_13.so
632 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_14.so
633 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_15.so
634 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_16.so
635 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_17.so
636 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_70.so
637 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxvideo_drv_71.so
638 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_14.so
639 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_15.so
640 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_16.so
641 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_17.so
642 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_70.so
643 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_32)/vboxmouse_drv_71.so
644 endif # VBOX_COMPRESS
645else # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
646 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxguest $(SOLARIS_ADD_INST_DIR_ISA)/vboxguest
647 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxfs $(SOLARIS_ADD_INST_DIR_ISA)/vboxfs
648 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxfs_s10 $(SOLARIS_ADD_INST_DIR_ISA)/vboxfs_s10
649 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN)/vboxfsmount $(SOLARIS_ADD_INST_DIR_ISA)/vboxfsmount
650 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxClient $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
651 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxService $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
652 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxControl $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
653 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_13.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
654 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
655 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
656 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
657 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_17.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_17.so
658 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
659 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxvideo_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
660 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_14.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
661 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_15.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
662 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_16.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
663 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_17.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_17.so
664 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_70.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
665 $(QUIET)$(BIN_COPY) $(SOLARIS_ADD_BIN)/vboxmouse_drv_71.so $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
666 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGL.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGL.so
667 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLcrutil.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLcrutil.so
668 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLfeedbackspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLfeedbackspu.so
669 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLpassthroughspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLpassthroughspu.so
670 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLarrayspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLarrayspu.so
671 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLerrorspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLerrorspu.so
672 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxOGLpackspu.so $(SOLARIS_ADD_INST_DIR_ISA)/VBoxOGLpackspu.so
673 ifdef VBOX_COMPRESS
674 # Compress binaries as we distribute uncompressed pkgs
675 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
676 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxService
677 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/VBoxControl
678 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_13.so
679 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_14.so
680 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_15.so
681 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_16.so
682 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_17.so
683 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_70.so
684 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxvideo_drv_71.so
685 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_14.so
686 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_15.so
687 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_16.so
688 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_17.so
689 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_70.so
690 $(QUIET)$(VBOX_COMPRESS) $(SOLARIS_ADD_INST_DIR_ISA)/vboxmouse_drv_71.so
691 endif # VBOX_COMPRESS
692endif # !VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
693 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOLARIS_ADDITION_INSTALLER)/VBox.sh $(SOLARIS_ADD_INST_DIR)/VBox.sh
694 $(call MSG_L1,Creating install package: $@)
695 $(QUIET)$(SOLARIS_ADD_INST_DIR)/makepackage.sh $(SOLARIS_ADD_INST_DIR) $(PKGFILENAME) $(VBOX_SVN_REV)
696 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_INST_DIR)/$(PKGFILENAME) $(PATH_BIN)/additions/$(PKGFILENAME)
697
698endif
699
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