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