VirtualBox

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

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

Solaris/installer: don't ship vnic scripts for VBoxNetFlt approach.

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