VirtualBox

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

Last change on this file since 32503 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

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