VirtualBox

source: vbox/trunk/src/VBox/Installer/solaris/Makefile.kmk@ 12996

Last change on this file since 12996 was 12963, checked in by vboxsync, 16 years ago

Installer/solaris: VBoxDbg3 -> VBoxDbg.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 31.4 KB
Line 
1# $Id: Makefile.kmk 12963 2008-10-02 22:12:16Z vboxsync $
2## @file
3# Sub-Makefile for the Solaris installer.
4#
5
6#
7# Copyright (C) 2007-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
22SUB_DEPTH = ../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25ifneq ($(KBUILD_HOST),solaris)
26$(error "The Solaris installer can only be built on Solaris!") # yeah, right.
27endif
28
29#
30# Globals
31#
32VBOX_PATH_SOL_INST_SRC := $(PATH_SUB_CURRENT)
33SOLARIS_INST_DIR := $(PATH_TARGET)/Installer/solaris/install
34SOLARIS_DBG_DIR := $(PATH_TARGET)/Installer/solaris/installdbg
35SOLARIS_VBI_DIR := $(PATH_TARGET)/Installer/solaris/installvbi
36SOL_DBG_OBJCOPY := $(CP) -p # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now.
37SOL_OBJCOPY := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment
38
39# Base package
40PKGINFO_ARCH = $(shell uname -p)
41PKGINFO_REVSTAMP = $(date %Y.%m.%d.%H.%M)
42PKG_FILENAME = VirtualBox-$(VBOX_VERSION_STRING)-SunOS-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV)
43
44# Debug package
45DBG_ARCHIVE = VirtualBoxDebug.tar.bz2
46
47# Kernel interface (vbi) package
48VBIPKG_FILENAME = VirtualBoxKern-$(VBOX_VERSION_STRING)-SunOS-r$(VBOX_SVN_REV)
49
50#
51# Targets
52#
53INSTALLS = solaris-doc
54PACKING = $(PATH_BIN)/$(PKG_FILENAME).tar.gz $(PATH_BIN)/$(DBG_ARCHIVE)
55OTHER_CLEAN = $(addprefix $(SOLARIS_INST_DIR)/,\
56 vbox.pkginfo vbox.copyright vbox.space vbox.pkgresponse \
57 makepackage.sh prototype postinstall.sh preremove.sh)
58
59#
60# Solaris installs.
61#
62solaris-doc_INST = bin/
63solaris-doc_MODE = a+r,u+w
64solaris-doc_SOURCES = \
65 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)=>LICENSE) \
66 $(PATH_ROOT)/src/VBox/Frontends/VirtualBox/images/$(if $(VBOX_OSE),OSE,NonOSE)/VirtualBox_64px.png=>VBox.png
67
68#
69# Note: Other than the files produced during packing (.pkg, .gzip etc.) all files that
70# go into the temporary install folder $(SOLARIS_INST_DIR) should be part of $(SOLARIS_ARCH_FILES).
71# For the files produced during packing they should be cleaned up promptly when the work is done.
72
73# Strip these binaries
74SOLARIS_STRIP_BINS = \
75 vboxdrv \
76 $(if $(VBOX_WITH_NETFLT),vboxflt) \
77 $(if $(VBOX_WITH_VBOXBFE),VBoxBFE) \
78 VBoxDD.so \
79 VBoxDD2.so \
80 VBoxManage \
81 VBoxREM.so \
82 VBoxRT.so \
83 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL,) \
84 VBoxSVC \
85 VBoxDDU.so \
86 VBoxVMM.so \
87 VBoxXPCOM.so \
88 VBoxXPCOMIPCD \
89 $(if $(VBOX_WITH_SHARED_FOLDERS),VBoxSharedFolders.so,) \
90 $(if $(VBOX_WITH_SHARED_CLIPBOARD),VBoxSharedClipboard.so,) \
91 $(if $(VBOX_WITH_GUEST_PROPS),VBoxGuestPropSvc.so,) \
92 $(if $(VBOX_WITH_QT4GUI),VBoxKeyboard.so,) \
93 $(if $(VBOX_WITH_QT4GUI),VirtualBox,) \
94 $(if $(VBOX_WITH_QT4GUI),libVBoxQtCore.so.4,) \
95 $(if $(VBOX_WITH_QT4GUI),libVBoxQtGui.so.4,) \
96 $(if $(VBOX_WITH_DEBUGGER_GUI),VBoxDbg.so,) \
97 $(if $(VBOX_WITH_PYTHON),VBoxPython.so,) \
98 VBoxSettings.so \
99 components/VBoxC.so \
100 components/VBoxSVCM.so \
101 components/VBoxXPCOMIPCC.so \
102 xpidl
103ifdef VBOX_WITH_HARDENING
104SOLARIS_STRIP_BINS += \
105 $(if $(VBOX_WITH_VBOXBFE),VBoxBFE.so) \
106 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL.so,) \
107 $(if $(VBOX_WITH_QT4GUI),VirtualBox.so,)
108endif
109
110# Do not remove relocation information of these binaries
111SOLARIS_STRIP_OBJS = \
112 VBoxDD2GC.gc \
113 VBoxDD2R0.r0 \
114 VBoxDDGC.gc \
115 VBoxDDR0.r0 \
116 VMMGC.gc \
117 VMMR0.r0
118
119VBOX_SOL_PYTHON_INST =
120ifeq ($(KBUILD_TARGET_ARCH),amd64)
121 VBOX_SOL_PYTHON_INST = 64/
122 SOL64_PKG = 1
123 SOLARIS_STRIP_OBJS += \
124 VBoxREM2.rel
125endif
126
127# Do not strip anything of these files
128SOLARIS_NO_STRIP = \
129 components/VBoxXPCOMBase.xpt \
130 components/VirtualBox_XPCOM.xpt
131
132# Things packed explicitly, not from $(PATH_BIN), track these to clean-up properly
133# The extra Qt libs packed under EXTRAS are purely for running VBoxQtconfig
134SOLARIS_EXTRAS = \
135 $(if $(VBOX_OSE),,LICENSE) \
136 $(if $(and $(not $(VBOX_OSE)),$(VBOX_WITH_QT4GUI)),License-$(VBOX_LICENSE_VER).html) \
137 $(if $(VBOX_WITH_QT4GUI),VBoxQtconfig,) \
138 $(if $(VBOX_WITH_QT4GUI),virtualbox.desktop,) \
139 $(if $(VBOX_WITH_QT4GUI),libVBoxQtNetwork.so.4,) \
140 $(if $(VBOX_WITH_QT4GUI),libVBoxQtXml.so.4,) \
141 $(if $(VBOX_WITH_QT4GUI),libVBoxQtSql.so.4,) \
142 $(if $(VBOX_WITH_QT4GUI),libVBoxQt3Support.so.4,) \
143 VBox.png \
144 autoresponse \
145 vboxdrv.conf \
146 $(if $(VBOX_WITH_NETFLT),vboxflt.conf) \
147 vboxdrv.sh \
148 VBox.sh \
149 $(if $(not $(VBOX_WITH_NETFLT))vnic_setup.sh,) \
150 $(if $(not $(VBOX_WITH_NETFLT))vnic_term.sh,) \
151 virtualbox-webservice.xml \
152 smf-vboxwebsrv.sh \
153 vbox.copyright \
154 ReadMe.txt
155
156ifdef VBOX_WITH_QT4GUI
157 include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox4/nls/ApprovedLanguages.kmk
158 SOLARIS_NLS := $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm)
159endif
160
161ifdef VBOX_WITH_DOCS_PACKING
162 SOLARIS_NO_STRIP += \
163 UserManual.pdf
164endif
165
166ifdef VBOX_WITH_VRDP
167 SOLARIS_STRIP_BINS += \
168 VBoxVRDP.so
169
170 SOLARIS_NO_STRIP += \
171 rdesktop-vrdp.tar.gz
172
173 ifdef VBOX_WITH_VRDP_RDESKTOP
174 SOLARIS_NO_STRIP += \
175 rdesktop-vrdp-keymaps
176 SOLARIS_STRIP_BINS += \
177 rdesktop-vrdp
178 endif
179endif
180
181## @todo Why are these done in this manner instead of $(if $(blah),) like the rest? grr!
182ifdef VBOX_WITH_HEADLESS
183 SOLARIS_STRIP_BINS += \
184 VBoxHeadless \
185 $(if $(VBOX_WITH_HARDENING),VBoxHeadless.so,)
186endif
187ifdef VBOX_WITH_WEBSERVICES
188 SOLARIS_STRIP_BINS += \
189 vboxwebsrv \
190 webtest
191endif
192
193# Guest Additions
194ifdef VBOX_WITH_ADDITIONS_PACKING
195 SOLARIS_NO_STRIP += \
196 additions/VBoxGuestAdditions.iso
197endif
198
199SOLARIS_ARCH_FILES := \
200 $(SOLARIS_STRIP_BINS) \
201 $(SOLARIS_STRIP_OBJS) \
202 $(SOLARIS_NO_STRIP) \
203 $(SOLARIS_NLS) \
204 $(SOLARIS_EXTRAS)
205
206OTHER_CLEAN += \
207 $(addprefix $(SOLARIS_INST_DIR)/, $(SOLARIS_ARCH_FILES)) \
208 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz \
209 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).pkg \
210 $(addprefix $(SOLARIS_DBG_DIR)/,$(SOLARIS_STRIP_BINS)) \
211 $(SOLARIS_DBG_DIR)/$(DBG_ARCHIVE) \
212 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz \
213 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg
214
215include $(KBUILD_PATH)/subfooter.kmk
216
217## @todo r=bird: makepackage.sh packing a directory tree, right? So, there is no guarantee that it's not
218# containing any obsolete files the way packing is performed here. Consider recursivly
219# invoking $(MAKE) vbox_copy_sdk_files (or similar) to do the copying after $(RM) -Rf the
220# directory tree.
221$(PATH_BIN)/$(PKG_FILENAME).tar.gz: \
222 $(VBOX_VERSION_STAMP) \
223 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh \
224 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh \
225 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh \
226 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo \
227 $(VBOX_PATH_SOL_INST_SRC)/vbox.space \
228 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse \
229 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh \
230 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop \
231 $(PATH_ROOT)/doc/ReadMe-Solaris.txt \
232 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \
233 $(if $(VBOX_WITH_SOLARIS_VBI),$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg,) \
234 $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \
235 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \
236 $(if $(and $(not $(VBOX_OSE)),$(VBOX_WITH_QT4GUI)),$(PATH_BIN)/License-$(VBOX_LICENSE_VER).html) \
237 $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf \
238 $(if $(VBOX_WITH_NETFLT),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf) \
239 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh,) \
240 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh,) \
241 $(addprefix $(PATH_BIN)/,$(filter-out $(SOLARIS_EXTRAS),$(SOLARIS_ARCH_FILES)))
242 $(call MSG_L1,Installing binaries $(SOLARIS_INST_DIR))
243 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/additions
244 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/components
245 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/etc
246 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST),)
247 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR)/nls,)
248 $(QUIET)$(if $(and $(VBOX_WITH_QT4GUI), $(not $(VBOX_WITH_SEPARATE_SDK))),$(MKDIR) -p $(SOLARIS_INST_DIR)/nls,)
249 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(PATH_BIN)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR)/additions/)
250 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps,)
251 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/vboxdrv $(SOLARIS_INST_DIR)/vboxdrv
252 $(QUIET)$(if $(VBOX_WITH_NETFLT),$(INSTALL) -m 0644 $(PATH_BIN)/vboxflt $(SOLARIS_INST_DIR)/vboxflt,)
253 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxBFE $(SOLARIS_INST_DIR)/VBoxBFE)
254ifdef VBOX_WITH_HARDENING
255 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxBFE.so $(SOLARIS_INST_DIR)/VBoxBFE.so)
256endif
257 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDD.so $(SOLARIS_INST_DIR)/VBoxDD.so
258 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDD2.so $(SOLARIS_INST_DIR)/VBoxDD2.so
259 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDDU.so $(SOLARIS_INST_DIR)/VBoxDDU.so
260 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxManage $(SOLARIS_INST_DIR)/VBoxManage
261 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxREM.so $(SOLARIS_INST_DIR)/VBoxREM.so
262 $(QUIET)$(if $(SOL64_PKG),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxREM2.rel $(SOLARIS_INST_DIR)/VBoxREM2.rel,)
263 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxVMM.so $(SOLARIS_INST_DIR)/VBoxVMM.so
264 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxXPCOM.so $(SOLARIS_INST_DIR)/VBoxXPCOM.so
265 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxXPCOMIPCD $(SOLARIS_INST_DIR)/VBoxXPCOMIPCD
266 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxSVC $(SOLARIS_INST_DIR)/VBoxSVC
267 $(QUIET)$(if $(VBOX_WITH_SHARED_FOLDERS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSharedFolders.so $(SOLARIS_INST_DIR)/VBoxSharedFolders.so,)
268 $(QUIET)$(if $(VBOX_WITH_SHARED_CLIPBOARD),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSharedClipboard.so $(SOLARIS_INST_DIR)/VBoxSharedClipboard.so,)
269 $(QUIET)$(if $(VBOX_WITH_GUEST_PROPS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxGuestPropSvc.so $(SOLARIS_INST_DIR)/VBoxGuestPropSvc.so,)
270 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxSDL $(SOLARIS_INST_DIR)/VBoxSDL,)
271ifdef VBOX_WITH_HARDENING
272 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSDL.so $(SOLARIS_INST_DIR)/VBoxSDL.so,)
273endif
274 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxRT.so $(SOLARIS_INST_DIR)/VBoxRT.so
275 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxKeyboard.so $(SOLARIS_INST_DIR)/VBoxKeyboard.so,)
276 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_BIN)/VirtualBox $(SOLARIS_INST_DIR)/VirtualBox,)
277ifdef VBOX_WITH_HARDENING
278 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_BIN)/VirtualBox.so $(SOLARIS_INST_DIR)/VirtualBox.so,)
279endif
280 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/libVBoxQtCore.so.4 $(SOLARIS_INST_DIR)/libVBoxQtCore.so.4,)
281 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/libVBoxQtGui.so.4 $(SOLARIS_INST_DIR)/libVBoxQtGui.so.4,)
282 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtNetwork.so.4 $(SOLARIS_INST_DIR)/libVBoxQtNetwork.so.4,)
283 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtXml.so.4 $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,)
284 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQtSql.so.4 $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,)
285 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/lib/libVBoxQt3Support.so.4 $(SOLARIS_INST_DIR)/libVBoxQt3Support.so.4,)
286 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR)/VBoxQtconfig,)
287 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDbg.so $(SOLARIS_INST_DIR)/VBoxDbg.so,)
288 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxPython.so $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so)
289 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSettings.so $(SOLARIS_INST_DIR)/VBoxSettings.so
290 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxC.so $(SOLARIS_INST_DIR)/components/VBoxC.so
291 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxSVCM.so $(SOLARIS_INST_DIR)/components/VBoxSVCM.so
292 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxXPCOMIPCC.so $(SOLARIS_INST_DIR)/components/VBoxXPCOMIPCC.so
293 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/xpidl $(SOLARIS_INST_DIR)/xpidl
294 $(QUIET)$(if $(VBOX_WITH_VRDP),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxVRDP.so $(SOLARIS_INST_DIR)/VBoxVRDP.so,)
295 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxHeadless $(SOLARIS_INST_DIR)/VBoxHeadless,)
296ifdef VBOX_WITH_HARDENING
297 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxHeadless.so $(SOLARIS_INST_DIR)/VBoxHeadless.so,)
298endif
299 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(INSTALL) -m 0755 $(PATH_BIN)/rdesktop-vrdp $(SOLARIS_INST_DIR)/rdesktop-vrdp,)
300 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(INSTALL) -m 644 $(wildcard $(PATH_BIN)/rdesktop-vrdp-keymaps/*) $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps/,)
301 $(call MSG_L1,Stripping binaries $(SOLARIS_INST_DIR))
302 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/vboxdrv,)
303ifdef VBOX_WITH_NETFLT
304 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/vboxflt,)
305endif
306 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXBFE),strip $(SOLARIS_INST_DIR)/VBoxBFE,))
307ifdef VBOX_WITH_HARDENING
308 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXBFE),strip $(SOLARIS_INST_DIR)/VBoxBFE.so,))
309endif
310 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDD2.so,)
311 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDD2.so,)
312 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDDU.so,)
313 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxManage,)
314 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxREM.so,)
315 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(SOL64_PKG),strip $(SOLARIS_INST_DIR)/VBoxREM2.rel,),)
316 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxVMM.so,)
317 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxXPCOM.so,)
318 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxXPCOMIPCD,)
319 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxSVC,)
320 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXSDL),strip $(SOLARIS_INST_DIR)/VBoxSDL,),)
321ifdef VBOX_WITH_HARDENING
322 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXSDL),strip $(SOLARIS_INST_DIR)/VBoxSDL.so,),)
323endif
324 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxRT.so,)
325 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VBoxKeyboard.so,),)
326 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VirtualBox,),)
327ifdef VBOX_WITH_HARDENING
328 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VirtualBox.so,),)
329endif
330 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtCore.so.4,),)
331 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtGui.so.4,),)
332 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtNetwork.so.4,),)
333 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,),)
334 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,),)
335 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQt3Support.so.4,),)
336 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VBoxQtconfig,),)
337 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_DEBUGGER_GUI),strip $(SOLARIS_INST_DIR)/VBoxDbg.so,),)
338 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_PYTHON),strip $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so,),)
339 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxSettings.so,)
340 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxC.so,)
341 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxSVCM.so,)
342 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxXPCOMIPCC.so,)
343 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/xpidl,)
344 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VRDP),strip $(SOLARIS_INST_DIR)/VBoxVRDP.so,),)
345 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_HEADLESS),strip $(SOLARIS_INST_DIR)/VBoxHeadless,),)
346ifdef VBOX_WITH_HARDENING
347 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_HEADLESS),strip $(SOLARIS_INST_DIR)/VBoxHeadless.so,),)
348endif
349 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VRDP_RDESKTOP),strip $(SOLARIS_INST_DIR)/rdesktop-vrdp,),)
350 $(QUIET)$(call MSG_L1,Installing and stripping relocatable objects $(SOLARIS_INST_DIR))
351 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VBoxDD2GC.gc $(SOLARIS_INST_DIR)/VBoxDD2GC.gc, $(INSTALL) -m 0755 $(PATH_BIN)/VBoxDD2GC.gc $(SOLARIS_INST_DIR)/VBoxDD2GC.gc)
352 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VBoxDD2R0.r0 $(SOLARIS_INST_DIR)/VBoxDD2R0.r0, $(INSTALL) -m 0755 $(PATH_BIN)/VBoxDD2R0.r0 $(SOLARIS_INST_DIR)/VBoxDD2R0.r0)
353 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VBoxDDGC.gc $(SOLARIS_INST_DIR)/VBoxDDGC.gc, $(INSTALL) -m 0755 $(PATH_BIN)/VBoxDDGC.gc $(SOLARIS_INST_DIR)/VBoxDDGC.gc)
354 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VBoxDDR0.r0 $(SOLARIS_INST_DIR)/VBoxDDR0.r0, $(INSTALL) -m 0755 $(PATH_BIN)/VBoxDDR0.r0 $(SOLARIS_INST_DIR)/VBoxDDR0.r0)
355 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VMMGC.gc $(SOLARIS_INST_DIR)/VMMGC.gc, $(INSTALL) -m 0755 $(PATH_BIN)/VMMGC.gc $(SOLARIS_INST_DIR)/VMMGC.gc)
356 $(QUIET)$(if $(VBOX_DO_STRIP),$(SOL_OBJCOPY) $(PATH_BIN)/VMMR0.r0 $(SOLARIS_INST_DIR)/VMMR0.r0, $(INSTALL) -m 0755 $(PATH_BIN)/VMMR0.r0 $(SOLARIS_INST_DIR)/VMMR0.r0)
357 $(call MSG_L1,Installing files $(SOLARIS_INST_DIR))
358 $(QUIET)$(SED) \
359 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
360 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
361 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
362 --output $(SOLARIS_INST_DIR)/vbox.pkginfo \
363 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo
364 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf $(SOLARIS_INST_DIR)/vboxdrv.conf
365 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf $(SOLARIS_INST_DIR)/vboxflt.conf
366 $(QUIET)$(if $(VBOX_WITH_DOCS_PACKING),$(INSTALL) -m 0644 $(PATH_BIN)/UserManual.pdf $(SOLARIS_INST_DIR)/)
367 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/LICENSE)
368 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/vbox.copyright)
369 $(QUIET)$(if $(and $(not $(VBOX_OSE)),$(VBOX_WITH_QTGUI)),$(INSTALL) -m 0644 $(PATH_BIN)/License-$(VBOX_LICENSE_VER).html $(SOLARIS_INST_DIR)/License-$(VBOX_LICENSE_VER).html,)
370 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxXPCOMBase.xpt $(SOLARIS_INST_DIR)/components/VBoxXPCOMBase.xpt
371 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VirtualBox_XPCOM.xpt $(SOLARIS_INST_DIR)/components/VirtualBox_XPCOM.xpt
372 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(CP) $(foreach f,$(SOLARIS_NLS),$(PATH_BIN)/$(f)) $(SOLARIS_INST_DIR)/nls,)
373 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/vboxwebsrv $(SOLARIS_INST_DIR)/vboxwebsrv,)
374 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/webtest $(SOLARIS_INST_DIR)/webtest,)
375 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-webservice.xml $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,)
376 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,)
377 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh $(SOLARIS_INST_DIR)/vnic_setup.sh,)
378 $(QUIET)$(if $(not $(VBOX_WITH_NETFLT))$(INSTALL) -m 0755 $(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh $(SOLARIS_INST_DIR)/vnic_term.sh,)
379 $(QUIET)$(SED) \
380 -e "s/_HARDENED_/$(if $(VBOX_WITH_HARDENED),hardened,))/" \
381 --output $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp \
382 $(VBOX_PATH_SOL_INST_SRC)/vboxdrv.sh
383 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp $(SOLARIS_INST_DIR)/vboxdrv.sh
384 $(QUIET)$(RM) -f $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp
385 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh $(SOLARIS_INST_DIR)/VBox.sh
386 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop $(SOLARIS_INST_DIR)/virtualbox.desktop,)
387 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBox.png $(SOLARIS_INST_DIR)/VBox.png
388 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh $(SOLARIS_INST_DIR)/postinstall.sh
389 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh $(SOLARIS_INST_DIR)/preremove.sh
390 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh $(SOLARIS_INST_DIR)/makepackage.sh
391 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse $(SOLARIS_INST_DIR)/autoresponse
392 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.space $(SOLARIS_INST_DIR)/vbox.space
393 $(QUIET)$(SED) \
394 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
395 -e "s/@BUILD_TARGET_ARCH@/$(KBUILD_TARGET_ARCH)/g" \
396 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
397 --output $(SOLARIS_INST_DIR)/ReadMe.txt \
398 $(PATH_ROOT)/doc/ReadMe-Solaris.txt
399 $(QUIET)$(if $(VBOX_WITH_SOLARIS_VBI),$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg $(SOLARIS_INST_DIR)/$(VBIPKG_FILENAME).pkg,)
400 $(call MSG_L1,Creating install package: $(PKG_FILENAME).tar.gz)
401 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_INST_DIR)/makepackage.sh $(if $(VBOX_WITH_HARDENING),--hardened) \
402 $(SOLARIS_INST_DIR) \
403 $(PKG_FILENAME) \
404 $(KBUILD_TARGET_ARCH) \
405 $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,)
406 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $(PATH_BIN)
407 @# Clean up files emitted as side-effect or result of packing
408 $(QUIET)$(RM) -Rf $(SOLARIS_INST_DIR)
409
410$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg: \
411 $(VBOX_VERSION_STAMP) \
412 $(if $(VBOX_OSE),,$(PATH_ROOT)/doc/License.txt) \
413 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \
414 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo \
415 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh \
416 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh \
417 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \
418 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \
419 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi
420 $(call MSG_L1,Installing vbi binaries $(SOLARIS_VBI_DIR))
421 $(QUIET)$(RM) -Rf $(SOLARIS_VBI_DIR)
422 $(QUIET)$(MKDIR) -p $(SOLARIS_VBI_DIR)/amd64
423 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi $(SOLARIS_VBI_DIR)/vbi
424 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi $(SOLARIS_VBI_DIR)/amd64/vbi
425 $(call MSG_L1,Installing other files $(SOLARIS_VBI_DIR))
426 $(QUIET)$(SED) \
427 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
428 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
429 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
430 --output $(SOLARIS_VBI_DIR)/vboxkern.pkginfo \
431 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo
432 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_VBI_DIR)/vbox.copyright)
433 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh $(SOLARIS_VBI_DIR)/makepackage.sh
434 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh $(SOLARIS_VBI_DIR)/preremove.sh
435 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).pkg)
436 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME)
437
438
439$(PATH_BIN)/$(DBG_ARCHIVE): \
440 $(VBOX_VERSION_STAMP) \
441 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk
442 $(call MSG_L1,Installing debug binaries $(SOLARIS_DBG_DIR))
443 $(QUIET)$(RM) -Rf -- $(SOLARIS_DBG_DIR)
444 $(QUIET)$(MKDIR) -p -- $(SOLARIS_DBG_DIR)/components
445 $(QUIET)$(if $(VBOX_WITH_PYTHON), $(MKDIR) -p -- $(SOLARIS_DBG_DIR)/$(VBOX_SOL_PYTHON_INST),)
446 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxdrv $(SOLARIS_DBG_DIR)/vboxdrv
447 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxflt $(SOLARIS_DBG_DIR)/vboxflt
448 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxBFE $(SOLARIS_DBG_DIR)/VBoxBFE)
449ifdef VBOX_WITH_HARDENING
450 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxBFE.so $(SOLARIS_DBG_DIR)/VBoxBFE.so)
451endif
452 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDD.so $(SOLARIS_DBG_DIR)/VBoxDD.so
453 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDD2.so $(SOLARIS_DBG_DIR)/VBoxDD2.so
454 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxManage $(SOLARIS_DBG_DIR)/VBoxManage
455 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxREM.so $(SOLARIS_DBG_DIR)/VBoxREM.so
456 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxRT.so $(SOLARIS_DBG_DIR)/VBoxRT.so
457 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSDL $(SOLARIS_DBG_DIR)/VBoxSDL,)
458ifdef VBOX_WITH_HARDENING
459 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSDL.so $(SOLARIS_DBG_DIR)/VBoxSDL.so,)
460endif
461 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSVC $(SOLARIS_DBG_DIR)/VBoxSVC
462 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDDU.so $(SOLARIS_DBG_DIR)/VBoxDDU.so
463 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxVMM.so $(SOLARIS_DBG_DIR)/VBoxVMM.so
464 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxXPCOM.so $(SOLARIS_DBG_DIR)/VBoxXPCOM.so
465 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxXPCOMIPCD $(SOLARIS_DBG_DIR)/VBoxXPCOMIPCD
466 $(QUIET)$(if $(VBOX_WITH_SHARED_FOLDERS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSharedFolders.so $(SOLARIS_DBG_DIR)/VBoxSharedFolders.so,)
467 $(QUIET)$(if $(VBOX_WITH_SHARED_CLIPBOARD),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSharedClipboard.so $(SOLARIS_DBG_DIR)/VBoxSharedClipboard.so,)
468 $(QUIET)$(if $(VBOX_WITH_GUEST_PROPS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxGuestPropSvc.so $(SOLARIS_DBG_DIR)/VBoxGuestPropSvc.so,)
469 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxKeyboard.so $(SOLARIS_DBG_DIR)/VBoxKeyboard.so,)
470 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VirtualBox $(SOLARIS_DBG_DIR)/VirtualBox,)
471 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/libVBoxQtCore.so.4 $(SOLARIS_DBG_DIR)/libVBoxQtCore.so.4,)
472 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/libVBoxQtGui.so.4 $(SOLARIS_DBG_DIR)/libVBoxQtGui.so.4,)
473ifdef VBOX_WITH_HARDENING
474 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VirtualBox.so $(SOLARIS_DBG_DIR)/VirtualBox.so,)
475endif
476 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxPython.so $(SOLARIS_DBG_DIR)/VBoxPython.so,)
477 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSettings.so $(SOLARIS_DBG_DIR)/VBoxSettings.so
478 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxC.so $(SOLARIS_DBG_DIR)/components/VBoxC.so
479 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxSVCM.so $(SOLARIS_DBG_DIR)/components/VBoxSVCM.so
480 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxXPCOMIPCC.so $(SOLARIS_DBG_DIR)/components/VBoxXPCOMIPCC.so
481 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/xpidl $(SOLARIS_DBG_DIR)/xpidl
482 $(QUIET)$(if $(VBOX_WITH_VRDP),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxVRDP.so $(SOLARIS_DBG_DIR)/VBoxVRDP.so,)
483 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxHeadless $(SOLARIS_DBG_DIR)/VBoxHeadless,)
484ifdef VBOX_WITH_HARDENING
485 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxHeadless.so $(SOLARIS_DBG_DIR)/VBoxHeadless.so,)
486endif
487 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/rdesktop-vrdp $(SOLARIS_DBG_DIR)/rdesktop-vrdp,)
488 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDbg.so $(SOLARIS_DBG_DIR)/VBoxDbg.so,)
489 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxwebsrv $(SOLARIS_DBG_DIR)/vboxwebsrv,)
490 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/webtest $(SOLARIS_DBG_DIR)/webtest,)
491 $(call MSG_L1,Packing $@)
492 $(QUIET)/usr/sfw/bin/gtar --owner 0 --group 0 -cjRhf $(PATH_BIN)/$(DBG_ARCHIVE) -C $(SOLARIS_DBG_DIR) $(SOLARIS_STRIP_BINS)
493 $(QUIET)chmod 0644 $(PATH_BIN)/$(DBG_ARCHIVE)
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