VirtualBox

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

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

xpidl is not required

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 32.7 KB
Line 
1# $Id: Makefile.kmk 13336 2008-10-16 11:52:56Z 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_QT4GUI),accessible/libqtaccessiblewidgets.so,) \
97 $(if $(VBOX_WITH_DEBUGGER_GUI),VBoxDbg.so,) \
98 $(if $(VBOX_WITH_PYTHON),VBoxPython.so,) \
99 VBoxSettings.so \
100 components/VBoxC.so \
101 components/VBoxSVCM.so \
102 components/VBoxXPCOMIPCC.so \
103 kchmviewer
104ifdef VBOX_WITH_HARDENING
105SOLARIS_STRIP_BINS += \
106 $(if $(VBOX_WITH_VBOXBFE),VBoxBFE.so) \
107 $(if $(VBOX_WITH_VBOXSDL),VBoxSDL.so,) \
108 $(if $(VBOX_WITH_QT4GUI),VirtualBox.so,)
109endif
110
111# Do not remove relocation information of these binaries
112SOLARIS_STRIP_OBJS = \
113 VBoxDD2GC.gc \
114 VBoxDD2R0.r0 \
115 VBoxDDGC.gc \
116 VBoxDDR0.r0 \
117 VMMGC.gc \
118 VMMR0.r0
119
120VBOX_SOL_PYTHON_INST =
121ifeq ($(KBUILD_TARGET_ARCH),amd64)
122 VBOX_SOL_PYTHON_INST = 64/
123 SOL64_PKG = 1
124 SOLARIS_STRIP_OBJS += \
125 VBoxREM2.rel
126endif
127
128# Do not strip anything of these files
129SOLARIS_NO_STRIP = \
130 components/VBoxXPCOMBase.xpt \
131 components/VirtualBox_XPCOM.xpt
132
133# Things packed explicitly, not from $(PATH_BIN), track these to clean-up properly
134# The extra Qt libs packed under EXTRAS are purely for running VBoxQtconfig
135SOLARIS_EXTRAS = \
136 $(if $(VBOX_OSE),,LICENSE) \
137 $(if $(and $(VBOX_LICENSE_FILES),$(VBOX_WITH_QT4GUI)),$(VBOX_LICENSE_FILES)) \
138 $(if $(VBOX_WITH_QT4GUI),VBoxQtconfig,) \
139 $(if $(VBOX_WITH_QT4GUI),virtualbox.desktop,) \
140 $(if $(VBOX_WITH_QT4GUI),libVBoxQtNetwork.so.4,) \
141 $(if $(VBOX_WITH_QT4GUI),libVBoxQtXml.so.4,) \
142 $(if $(VBOX_WITH_QT4GUI),libVBoxQtSql.so.4,) \
143 $(if $(VBOX_WITH_QT4GUI),libVBoxQt3Support.so.4,) \
144 VBox.png \
145 autoresponse \
146 vboxdrv.conf \
147 $(if $(VBOX_WITH_NETFLT),vboxflt.conf) \
148 vboxdrv.sh \
149 VBox.sh \
150 $(if $(not $(VBOX_WITH_NETFLT))vnic_setup.sh,) \
151 $(if $(not $(VBOX_WITH_NETFLT))vnic_term.sh,) \
152 virtualbox-webservice.xml \
153 virtualbox-zoneaccess.xml \
154 zoneaccess.sh \
155 smf-vboxwebsrv.sh \
156 vbox.copyright \
157 ReadMe.txt
158
159ifdef VBOX_WITH_QT4GUI
160 include $(PATH_ROOT)/src/VBox/Frontends/VirtualBox4/nls/ApprovedLanguages.kmk
161 SOLARIS_NLS := $(foreach f,$(VBOX_APPROVED_GUI_LANGUAGES),nls/VirtualBox_$(f).qm nls/qt_$(f).qm)
162endif
163
164ifdef VBOX_WITH_DOCS_PACKING
165 SOLARIS_NO_STRIP += \
166 VirtualBox.chm \
167 UserManual.pdf \
168 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),VirtualBox_$(f).chm UserManual_$(f).pdf)
169endif
170
171ifdef VBOX_WITH_VRDP
172 SOLARIS_STRIP_BINS += \
173 VBoxVRDP.so
174
175 SOLARIS_NO_STRIP += \
176 rdesktop-vrdp.tar.gz
177
178 ifdef VBOX_WITH_VRDP_RDESKTOP
179 SOLARIS_NO_STRIP += \
180 rdesktop-vrdp-keymaps
181 SOLARIS_STRIP_BINS += \
182 rdesktop-vrdp
183 endif
184endif
185
186## @todo Why are these done in this manner instead of $(if $(blah),) like the rest? grr!
187ifdef VBOX_WITH_HEADLESS
188 SOLARIS_STRIP_BINS += \
189 VBoxHeadless \
190 $(if $(VBOX_WITH_HARDENING),VBoxHeadless.so,)
191endif
192ifdef VBOX_WITH_WEBSERVICES
193 SOLARIS_STRIP_BINS += \
194 vboxwebsrv \
195 webtest
196endif
197
198# Guest Additions
199ifdef VBOX_WITH_ADDITIONS_PACKING
200 SOLARIS_NO_STRIP += \
201 additions/VBoxGuestAdditions.iso
202endif
203
204SOLARIS_ARCH_FILES := \
205 $(SOLARIS_STRIP_BINS) \
206 $(SOLARIS_STRIP_OBJS) \
207 $(SOLARIS_NO_STRIP) \
208 $(SOLARIS_NLS) \
209 $(SOLARIS_EXTRAS)
210
211OTHER_CLEAN += \
212 $(addprefix $(SOLARIS_INST_DIR)/, $(SOLARIS_ARCH_FILES)) \
213 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz \
214 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).pkg \
215 $(addprefix $(SOLARIS_DBG_DIR)/,$(SOLARIS_STRIP_BINS)) \
216 $(SOLARIS_DBG_DIR)/$(DBG_ARCHIVE) \
217 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).tar.gz \
218 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg
219
220include $(KBUILD_PATH)/subfooter.kmk
221
222## @todo r=bird: makepackage.sh packing a directory tree, right? So, there is no guarantee that it's not
223# containing any obsolete files the way packing is performed here. Consider recursivly
224# invoking $(MAKE) vbox_copy_sdk_files (or similar) to do the copying after $(RM) -Rf the
225# directory tree.
226$(PATH_BIN)/$(PKG_FILENAME).tar.gz: \
227 $(VBOX_VERSION_STAMP) \
228 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh \
229 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh \
230 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh \
231 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo \
232 $(VBOX_PATH_SOL_INST_SRC)/vbox.space \
233 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse \
234 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh \
235 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop \
236 $(PATH_ROOT)/doc/ReadMe-Solaris.txt \
237 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \
238 $(if $(VBOX_WITH_SOLARIS_VBI),$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg,) \
239 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)) \
240 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \
241 $(if $(and $(VBOX_LICENSE_BINS),$(VBOX_WITH_QT4GUI)),$(VBOX_LICENSE_BINS),) \
242 $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf \
243 $(if $(VBOX_WITH_NETFLT),$(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf) \
244 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicinit_solaris.sh,) \
245 $(if $(not $(VBOX_WITH_NETFLT))$(PATH_ROOT)/src/VBox/Devices/Network/solaris/vnicterm_solaris.sh,) \
246 $(addprefix $(PATH_BIN)/,$(filter-out $(SOLARIS_EXTRAS),$(SOLARIS_ARCH_FILES)))
247 $(call MSG_L1,Installing binaries $(SOLARIS_INST_DIR))
248 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/additions
249 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/components
250 $(QUIET)$(MKDIR) -p $(SOLARIS_INST_DIR)/etc
251 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(MKDIR) -p $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST),)
252 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR)/nls,)
253 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p $(SOLARIS_INST_DIR)/accessible,)
254 $(QUIET)$(if $(and $(VBOX_WITH_QT4GUI), $(not $(VBOX_WITH_SEPARATE_SDK))),$(MKDIR) -p $(SOLARIS_INST_DIR)/nls,)
255 $(QUIET)$(if $(VBOX_WITH_ADDITIONS_PACKING),$(INSTALL) -m 0644 $(PATH_BIN)/additions/VBoxGuestAdditions.iso $(SOLARIS_INST_DIR)/additions/)
256 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(MKDIR) -p $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps,)
257 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/vboxdrv $(SOLARIS_INST_DIR)/vboxdrv
258 $(QUIET)$(if $(VBOX_WITH_NETFLT),$(INSTALL) -m 0644 $(PATH_BIN)/vboxflt $(SOLARIS_INST_DIR)/vboxflt,)
259 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxBFE $(SOLARIS_INST_DIR)/VBoxBFE)
260ifdef VBOX_WITH_HARDENING
261 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxBFE.so $(SOLARIS_INST_DIR)/VBoxBFE.so)
262endif
263 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDD.so $(SOLARIS_INST_DIR)/VBoxDD.so
264 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDD2.so $(SOLARIS_INST_DIR)/VBoxDD2.so
265 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDDU.so $(SOLARIS_INST_DIR)/VBoxDDU.so
266 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxManage $(SOLARIS_INST_DIR)/VBoxManage
267 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxREM.so $(SOLARIS_INST_DIR)/VBoxREM.so
268 $(QUIET)$(if $(SOL64_PKG),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxREM2.rel $(SOLARIS_INST_DIR)/VBoxREM2.rel,)
269 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxVMM.so $(SOLARIS_INST_DIR)/VBoxVMM.so
270 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxXPCOM.so $(SOLARIS_INST_DIR)/VBoxXPCOM.so
271 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxXPCOMIPCD $(SOLARIS_INST_DIR)/VBoxXPCOMIPCD
272 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/VBoxSVC $(SOLARIS_INST_DIR)/VBoxSVC
273 $(QUIET)$(if $(VBOX_WITH_SHARED_FOLDERS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSharedFolders.so $(SOLARIS_INST_DIR)/VBoxSharedFolders.so,)
274 $(QUIET)$(if $(VBOX_WITH_SHARED_CLIPBOARD),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSharedClipboard.so $(SOLARIS_INST_DIR)/VBoxSharedClipboard.so,)
275 $(QUIET)$(if $(VBOX_WITH_GUEST_PROPS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxGuestPropSvc.so $(SOLARIS_INST_DIR)/VBoxGuestPropSvc.so,)
276 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxSDL $(SOLARIS_INST_DIR)/VBoxSDL,)
277ifdef VBOX_WITH_HARDENING
278 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSDL.so $(SOLARIS_INST_DIR)/VBoxSDL.so,)
279endif
280 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxRT.so $(SOLARIS_INST_DIR)/VBoxRT.so
281 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxKeyboard.so $(SOLARIS_INST_DIR)/VBoxKeyboard.so,)
282 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_BIN)/VirtualBox $(SOLARIS_INST_DIR)/VirtualBox,)
283ifdef VBOX_WITH_HARDENING
284 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_BIN)/VirtualBox.so $(SOLARIS_INST_DIR)/VirtualBox.so,)
285endif
286 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/libVBoxQtCore.so.4 $(SOLARIS_INST_DIR)/libVBoxQtCore.so.4,)
287 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/libVBoxQtGui.so.4 $(SOLARIS_INST_DIR)/libVBoxQtGui.so.4,)
288 $(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,)
289 $(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,)
290 $(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,)
291 $(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,)
292 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0644 $(PATH_BIN)/accessible/libqtaccessiblewidgets.so $(SOLARIS_INST_DIR)/accessible/libqtaccessiblewidgets.so,)
293 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(INSTALL) -m 0755 $(PATH_DEVTOOLS_TRG)/qt/v4.3.3-r1/bin/qtconfig $(SOLARIS_INST_DIR)/VBoxQtconfig,)
294 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxDbg.so $(SOLARIS_INST_DIR)/VBoxDbg.so,)
295 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxPython.so $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so)
296 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBoxSettings.so $(SOLARIS_INST_DIR)/VBoxSettings.so
297 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxC.so $(SOLARIS_INST_DIR)/components/VBoxC.so
298 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxSVCM.so $(SOLARIS_INST_DIR)/components/VBoxSVCM.so
299 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxXPCOMIPCC.so $(SOLARIS_INST_DIR)/components/VBoxXPCOMIPCC.so
300 $(QUIET)$(INSTALL) -m 0755 $(PATH_BIN)/kchmviewer $(SOLARIS_INST_DIR)/kchmviewer
301 $(QUIET)$(if $(VBOX_WITH_VRDP),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxVRDP.so $(SOLARIS_INST_DIR)/VBoxVRDP.so,)
302 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(INSTALL) -m 0755 $(PATH_BIN)/VBoxHeadless $(SOLARIS_INST_DIR)/VBoxHeadless,)
303ifdef VBOX_WITH_HARDENING
304 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(INSTALL) -m 0644 $(PATH_BIN)/VBoxHeadless.so $(SOLARIS_INST_DIR)/VBoxHeadless.so,)
305endif
306 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(INSTALL) -m 0755 $(PATH_BIN)/rdesktop-vrdp $(SOLARIS_INST_DIR)/rdesktop-vrdp,)
307 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(INSTALL) -m 644 $(wildcard $(PATH_BIN)/rdesktop-vrdp-keymaps/*) $(SOLARIS_INST_DIR)/rdesktop-vrdp-keymaps/,)
308 $(call MSG_L1,Stripping binaries $(SOLARIS_INST_DIR))
309 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/vboxdrv,)
310ifdef VBOX_WITH_NETFLT
311 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/vboxflt,)
312endif
313 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXBFE),strip $(SOLARIS_INST_DIR)/VBoxBFE,))
314ifdef VBOX_WITH_HARDENING
315 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXBFE),strip $(SOLARIS_INST_DIR)/VBoxBFE.so,))
316endif
317 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDD2.so,)
318 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDD2.so,)
319 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxDDU.so,)
320 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxManage,)
321 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxREM.so,)
322 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(SOL64_PKG),strip $(SOLARIS_INST_DIR)/VBoxREM2.rel,),)
323 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxVMM.so,)
324 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxXPCOM.so,)
325 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxXPCOMIPCD,)
326 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxSVC,)
327 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXSDL),strip $(SOLARIS_INST_DIR)/VBoxSDL,),)
328ifdef VBOX_WITH_HARDENING
329 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VBOXSDL),strip $(SOLARIS_INST_DIR)/VBoxSDL.so,),)
330endif
331 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxRT.so,)
332 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VBoxKeyboard.so,),)
333 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VirtualBox,),)
334ifdef VBOX_WITH_HARDENING
335 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VirtualBox.so,),)
336endif
337 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtCore.so.4,),)
338 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtGui.so.4,),)
339 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtNetwork.so.4,),)
340 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtXml.so.4,),)
341 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQtSql.so.4,),)
342 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/libVBoxQt3Support.so.4,),)
343 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/accessible/libqtaccessiblewidgets.so,),)
344 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_QT4GUI),strip $(SOLARIS_INST_DIR)/VBoxQtconfig,),)
345 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_DEBUGGER_GUI),strip $(SOLARIS_INST_DIR)/VBoxDbg.so,),)
346 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_PYTHON),strip $(SOLARIS_INST_DIR)/$(VBOX_SOL_PYTHON_INST)VBoxPython.so,),)
347 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/VBoxSettings.so,)
348 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxC.so,)
349 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxSVCM.so,)
350 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/components/VBoxXPCOMIPCC.so,)
351 $(QUIET)$(if $(VBOX_DO_STRIP),strip $(SOLARIS_INST_DIR)/kchmviewer,)
352 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VRDP),strip $(SOLARIS_INST_DIR)/VBoxVRDP.so,),)
353 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_HEADLESS),strip $(SOLARIS_INST_DIR)/VBoxHeadless,),)
354ifdef VBOX_WITH_HARDENING
355 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_HEADLESS),strip $(SOLARIS_INST_DIR)/VBoxHeadless.so,),)
356endif
357 $(QUIET)$(if $(VBOX_DO_STRIP),$(if $(VBOX_WITH_VRDP_RDESKTOP),strip $(SOLARIS_INST_DIR)/rdesktop-vrdp,),)
358 $(QUIET)$(call MSG_L1,Installing and stripping relocatable objects $(SOLARIS_INST_DIR))
359 $(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)
360 $(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)
361 $(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)
362 $(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)
363 $(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)
364 $(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)
365 $(call MSG_L1,Installing files $(SOLARIS_INST_DIR))
366 $(QUIET)$(SED) \
367 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
368 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
369 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
370 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
371 --output $(SOLARIS_INST_DIR)/vbox.pkginfo \
372 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkginfo
373 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/Support/solaris/vboxdrv.conf $(SOLARIS_INST_DIR)/vboxdrv.conf
374 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/HostDrivers/VBoxNetFlt/solaris/vboxflt.conf $(SOLARIS_INST_DIR)/vboxflt.conf
375 $(QUIET)$(if $(VBOX_WITH_DOCS_PACKING),$(INSTALL) -m 0644 \
376 $(PATH_BIN)/VirtualBox.chm \
377 $(PATH_BIN)/UserManual.pdf \
378 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/VirtualBox_$(f).chm $(PATH_BIN)/UserManual_$(f).pdf) $(SOLARIS_INST_DIR)/)
379 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/LICENSE)
380 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_INST_DIR)/vbox.copyright)
381 $(QUIET)$(if $(and $(VBOX_LICENSE_BINS),$(VBOX_WITH_QTGUI)),$(INSTALL) -m 0644 $(VBOX_LICENSE_BINS) $(SOLARIS_INST_DIR)/)
382 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VBoxXPCOMBase.xpt $(SOLARIS_INST_DIR)/components/VBoxXPCOMBase.xpt
383 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/components/VirtualBox_XPCOM.xpt $(SOLARIS_INST_DIR)/components/VirtualBox_XPCOM.xpt
384 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(CP) $(foreach f,$(SOLARIS_NLS),$(PATH_BIN)/$(f)) $(SOLARIS_INST_DIR)/nls,)
385 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/vboxwebsrv $(SOLARIS_INST_DIR)/vboxwebsrv,)
386 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $(PATH_BIN)/webtest $(SOLARIS_INST_DIR)/webtest,)
387 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-webservice.xml $(SOLARIS_INST_DIR)/virtualbox-webservice.xml,)
388 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/smf-vboxwebsrv.sh $(SOLARIS_INST_DIR)/smf-vboxwebsrv.sh,)
389 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox-zoneaccess.xml $(SOLARIS_INST_DIR)/virtualbox-zoneaccess.xml,)
390 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/zoneaccess.sh $(SOLARIS_INST_DIR)/zoneaccess.sh
391 $(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,)
392 $(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,)
393 $(QUIET)$(SED) \
394 -e "s/_HARDENED_/$(if $(VBOX_WITH_HARDENED),hardened,))/" \
395 --output $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp \
396 $(VBOX_PATH_SOL_INST_SRC)/vboxdrv.sh
397 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp $(SOLARIS_INST_DIR)/vboxdrv.sh
398 $(QUIET)$(RM) -f $(SOLARIS_INST_DIR)/vboxdrv.sh.tmp
399 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/VBox.sh $(SOLARIS_INST_DIR)/VBox.sh
400 $(QUIET)$(if $(VBOX_WITH_QTGUI),$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/virtualbox.desktop $(SOLARIS_INST_DIR)/virtualbox.desktop,)
401 $(QUIET)$(INSTALL) -m 0644 $(PATH_BIN)/VBox.png $(SOLARIS_INST_DIR)/VBox.png
402 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/postinstall.sh $(SOLARIS_INST_DIR)/postinstall.sh
403 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/preremove.sh $(SOLARIS_INST_DIR)/preremove.sh
404 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/makepackage.sh $(SOLARIS_INST_DIR)/makepackage.sh
405 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.pkgresponse $(SOLARIS_INST_DIR)/autoresponse
406 $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_SOL_INST_SRC)/vbox.space $(SOLARIS_INST_DIR)/vbox.space
407 $(QUIET)$(SED) \
408 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
409 -e "s/@BUILD_TARGET_ARCH@/$(KBUILD_TARGET_ARCH)/g" \
410 -e "s/@VBOX_SVN_REV@/$(VBOX_SVN_REV)/g" \
411 --output $(SOLARIS_INST_DIR)/ReadMe.txt \
412 $(PATH_ROOT)/doc/ReadMe-Solaris.txt
413 $(QUIET)$(if $(VBOX_WITH_SOLARIS_VBI),$(INSTALL) -m 0644 $(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg $(SOLARIS_INST_DIR)/$(VBIPKG_FILENAME).pkg,)
414 $(call MSG_L1,Creating install package: $(PKG_FILENAME).tar.gz)
415 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_INST_DIR)/makepackage.sh $(if $(VBOX_WITH_HARDENING),--hardened) \
416 $(SOLARIS_INST_DIR) \
417 $(PKG_FILENAME) \
418 $(KBUILD_TARGET_ARCH) \
419 $(VBOX_SVN_REV) \
420 $(if $(VBOX_WITH_SOLARIS_VBI),$(VBIPKG_FILENAME).pkg,)
421 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_INST_DIR)/$(PKG_FILENAME).tar.gz $(PATH_BIN)
422 @# Clean up files emitted as side-effect or result of packing
423 $(QUIET)$(RM) -Rf $(SOLARIS_INST_DIR)
424
425$(SOLARIS_VBI_DIR)/$(VBIPKG_FILENAME).pkg: \
426 $(VBOX_VERSION_STAMP) \
427 $(if $(VBOX_OSE),,$(VBOX_BRAND_LICENSE_TXT)) \
428 $(if $(VBOX_OSE),,$(PATH_BIN)/LICENSE) \
429 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo \
430 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh \
431 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh \
432 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk \
433 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \
434 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi
435 $(call MSG_L1,Installing vbi binaries $(SOLARIS_VBI_DIR))
436 $(QUIET)$(RM) -Rf $(SOLARIS_VBI_DIR)
437 $(QUIET)$(MKDIR) -p $(SOLARIS_VBI_DIR)/amd64
438 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi $(SOLARIS_VBI_DIR)/vbi
439 $(QUIET)$(INSTALL) -m 0644 $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/64/vbi $(SOLARIS_VBI_DIR)/amd64/vbi
440 $(call MSG_L1,Installing other files $(SOLARIS_VBI_DIR))
441 $(QUIET)$(SED) \
442 -e "s/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g" \
443 -e "s/@VBOX_VERSION_REVSTAMP@/$(PKGINFO_REVSTAMP)/g" \
444 -e "s/@UNAME_P@/$(PKGINFO_ARCH)/g" \
445 --output $(SOLARIS_VBI_DIR)/vboxkern.pkginfo \
446 $(VBOX_PATH_SOL_INST_SRC)/vbi/vboxkern.pkginfo
447 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE $(SOLARIS_VBI_DIR)/vbox.copyright)
448 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/makepackage.sh $(SOLARIS_VBI_DIR)/makepackage.sh
449 $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_SOL_INST_SRC)/vbi/preremove.sh $(SOLARIS_VBI_DIR)/preremove.sh
450 $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).pkg)
451 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_SOL_INST_SRC) -- $(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME)
452
453
454$(PATH_BIN)/$(DBG_ARCHIVE): \
455 $(VBOX_VERSION_STAMP) \
456 $(VBOX_PATH_SOL_INST_SRC)/Makefile.kmk
457 $(call MSG_L1,Installing debug binaries $(SOLARIS_DBG_DIR))
458 $(QUIET)$(RM) -Rf -- $(SOLARIS_DBG_DIR)
459 $(QUIET)$(MKDIR) -p -- $(SOLARIS_DBG_DIR)/components
460 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(MKDIR) -p -- $(SOLARIS_DBG_DIR)/accessible,)
461 $(QUIET)$(if $(VBOX_WITH_PYTHON), $(MKDIR) -p -- $(SOLARIS_DBG_DIR)/$(VBOX_SOL_PYTHON_INST),)
462 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxdrv $(SOLARIS_DBG_DIR)/vboxdrv
463 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxflt $(SOLARIS_DBG_DIR)/vboxflt
464 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxBFE $(SOLARIS_DBG_DIR)/VBoxBFE)
465ifdef VBOX_WITH_HARDENING
466 $(QUIET)$(if $(VBOX_WITH_VBOXBFE),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxBFE.so $(SOLARIS_DBG_DIR)/VBoxBFE.so)
467endif
468 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDD.so $(SOLARIS_DBG_DIR)/VBoxDD.so
469 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDD2.so $(SOLARIS_DBG_DIR)/VBoxDD2.so
470 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxManage $(SOLARIS_DBG_DIR)/VBoxManage
471 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxREM.so $(SOLARIS_DBG_DIR)/VBoxREM.so
472 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxRT.so $(SOLARIS_DBG_DIR)/VBoxRT.so
473 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSDL $(SOLARIS_DBG_DIR)/VBoxSDL,)
474ifdef VBOX_WITH_HARDENING
475 $(QUIET)$(if $(VBOX_WITH_VBOXSDL),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSDL.so $(SOLARIS_DBG_DIR)/VBoxSDL.so,)
476endif
477 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSVC $(SOLARIS_DBG_DIR)/VBoxSVC
478 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDDU.so $(SOLARIS_DBG_DIR)/VBoxDDU.so
479 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxVMM.so $(SOLARIS_DBG_DIR)/VBoxVMM.so
480 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxXPCOM.so $(SOLARIS_DBG_DIR)/VBoxXPCOM.so
481 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxXPCOMIPCD $(SOLARIS_DBG_DIR)/VBoxXPCOMIPCD
482 $(QUIET)$(if $(VBOX_WITH_SHARED_FOLDERS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSharedFolders.so $(SOLARIS_DBG_DIR)/VBoxSharedFolders.so,)
483 $(QUIET)$(if $(VBOX_WITH_SHARED_CLIPBOARD),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSharedClipboard.so $(SOLARIS_DBG_DIR)/VBoxSharedClipboard.so,)
484 $(QUIET)$(if $(VBOX_WITH_GUEST_PROPS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxGuestPropSvc.so $(SOLARIS_DBG_DIR)/VBoxGuestPropSvc.so,)
485 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxKeyboard.so $(SOLARIS_DBG_DIR)/VBoxKeyboard.so,)
486 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VirtualBox $(SOLARIS_DBG_DIR)/VirtualBox,)
487 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/libVBoxQtCore.so.4 $(SOLARIS_DBG_DIR)/libVBoxQtCore.so.4,)
488 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/libVBoxQtGui.so.4 $(SOLARIS_DBG_DIR)/libVBoxQtGui.so.4,)
489 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/accessible/libqtaccessiblewidgets.so $(SOLARIS_DBG_DIR)/accessible/libqtaccessiblewidgets.so,)
490ifdef VBOX_WITH_HARDENING
491 $(QUIET)$(if $(VBOX_WITH_QT4GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VirtualBox.so $(SOLARIS_DBG_DIR)/VirtualBox.so,)
492endif
493 $(QUIET)$(if $(VBOX_WITH_PYTHON),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxPython.so $(SOLARIS_DBG_DIR)/VBoxPython.so,)
494 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxSettings.so $(SOLARIS_DBG_DIR)/VBoxSettings.so
495 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxC.so $(SOLARIS_DBG_DIR)/components/VBoxC.so
496 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxSVCM.so $(SOLARIS_DBG_DIR)/components/VBoxSVCM.so
497 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/components/VBoxXPCOMIPCC.so $(SOLARIS_DBG_DIR)/components/VBoxXPCOMIPCC.so
498 $(QUIET)$(SOL_DBG_OBJCOPY) $(PATH_BIN)/kchmviewer $(SOLARIS_DBG_DIR)/kchmviewer
499 $(QUIET)$(if $(VBOX_WITH_VRDP),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxVRDP.so $(SOLARIS_DBG_DIR)/VBoxVRDP.so,)
500 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxHeadless $(SOLARIS_DBG_DIR)/VBoxHeadless,)
501ifdef VBOX_WITH_HARDENING
502 $(QUIET)$(if $(VBOX_WITH_HEADLESS),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxHeadless.so $(SOLARIS_DBG_DIR)/VBoxHeadless.so,)
503endif
504 $(QUIET)$(if $(VBOX_WITH_VRDP_RDESKTOP),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/rdesktop-vrdp $(SOLARIS_DBG_DIR)/rdesktop-vrdp,)
505 $(QUIET)$(if $(VBOX_WITH_DEBUGGER_GUI),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/VBoxDbg.so $(SOLARIS_DBG_DIR)/VBoxDbg.so,)
506 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/vboxwebsrv $(SOLARIS_DBG_DIR)/vboxwebsrv,)
507 $(QUIET)$(if $(VBOX_WITH_WEBSERVICES),$(SOL_DBG_OBJCOPY) $(PATH_BIN)/webtest $(SOLARIS_DBG_DIR)/webtest,)
508 $(call MSG_L1,Packing $@)
509 $(QUIET)/usr/sfw/bin/gtar --owner 0 --group 0 -cjRhf $(PATH_BIN)/$(DBG_ARCHIVE) -C $(SOLARIS_DBG_DIR) $(SOLARIS_STRIP_BINS)
510 $(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