VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 15.0 KB
Line 
1# $Id: Makefile.kmk 96407 2022-08-22 17:43:14Z vboxsync $
2## @file
3# Sub-Makefile for the Windows Guest Additions Installer.
4#
5
6#
7# Copyright (C) 2006-2022 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31# Include Sub-Makefiles.
32include $(PATH_SUB_CURRENT)/Loader/Makefile.kmk
33include $(PATH_SUB_CURRENT)/InstallHelper/Makefile.kmk
34
35# Globals
36VBOX_PATH_WIN_ADD_INS_SRC := $(PATH_SUB_CURRENT)
37VBOX_PATH_ADDITIONS.win.x86 := $(PATH_OUT_BASE)/win.x86/$(KBUILD_TYPE)/bin/additions
38VBOX_WITH_GUEST_INSTALL_HELPER := 1 # Use our guest install helper DLL.
39
40## @todo VBOX_WIN_ADD_INS_OUT_DIR := $(PATH_TARGET)/Additions/Installer/win
41
42
43PROGRAMS += VBoxDrvInst
44VBoxDrvInst_TEMPLATE= VBoxGuestR3Exe
45VBoxDrvInst_DEFS = _WIN32_WINNT=0x0400 _UNICODE UNICODE
46VBoxDrvInst_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
47ifdef VBOX_WITH_WDDM
48 VBoxDrvInst_DEFS += VBOX_WITH_WDDM
49endif
50VBoxDrvInst_DEPS = $(VBOX_SVN_REV_KMK)
51VBoxDrvInst_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK_GST) $(VBOX_WINDDK_GST) VBOX_WIN_NEWDEV
52VBoxDrvInst_LIBS = \
53 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/setupapi.lib
54VBoxDrvInst_SOURCES = \
55 VBoxDrvInst.cpp \
56 VBoxDrvInst.rc
57
58PROGRAMS += VBoxGuestDrvInst
59VBoxGuestDrvInst_TEMPLATE := VBoxGuestR3Exe
60VBoxGuestDrvInst_DEFS := _WIN32_WINNT=0x0400
61VBoxGuestDrvInst_BLD_TRG_ARCH := x86
62VBoxGuestDrvInst_SOURCES := \
63 VBoxGuestDrvInst.cpp \
64 VBoxGuestDrvInst.rc
65
66PROGRAMS += RegCleanup
67RegCleanup_TEMPLATE := VBoxGuestR3Exe
68RegCleanup_BLD_TRG_ARCH := x86
69RegCleanup_DEFS := _WIN32_WINNT=0x0400
70RegCleanup_SOURCES := \
71 RegCleanup.cpp \
72 RegCleanup.rc
73
74
75#
76# The installer.
77#
78PACKING += $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe
79OTHER_CLEAN += \
80 $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe
81
82## @todo r=andy Rename DRIVER_FILES to INST_FILES or something, as those files are not strictly driver-related files.
83
84DRIVER_FILES := \
85 $(PATH_STAGE_BIN)/additions/VBoxGuestDrvInst.exe \
86 $(PATH_STAGE_BIN)/additions/RegCleanup.exe \
87 $(PATH_STAGE_BIN)/additions/VBoxMouse.sys \
88 $(PATH_STAGE_BIN)/additions/VBoxGuest.sys \
89 $(PATH_STAGE_BIN)/additions/VBoxVideo.sys \
90 $(PATH_STAGE_BIN)/additions/VBoxDisp.dll \
91 $(PATH_STAGE_BIN)/additions/VBoxSF.sys \
92 $(PATH_STAGE_BIN)/additions/VBoxMRXNP.dll \
93 $(PATH_STAGE_BIN)/additions/VBoxTray.exe \
94 $(PATH_STAGE_BIN)/additions/VBoxControl.exe \
95 $(PATH_STAGE_BIN)/additions/VBoxService.exe
96ifeq ($(KBUILD_TARGET_ARCH),amd64)
97 # Also include 32-bit network provider DLLs on 64-bit guests to enable
98 # running 32-bit apps which use that.
99 DRIVER_FILES += \
100 $(PATH_STAGE_BIN)/additions/VBoxMRXNP-x86.dll
101endif
102ifeq ($(KBUILD_TARGET_ARCH),x86)
103DRIVER_FILES += \
104 $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \
105 $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys
106endif
107DRIVER_FILES += \
108 $(PATH_STAGE_BIN)/additions/VBoxVideo.inf \
109 $(PATH_STAGE_BIN)/additions/VBoxGuest.inf \
110 $(PATH_STAGE_BIN)/additions/VBoxMouse.inf
111ifdef VBOX_SIGN_ADDITIONS
112DRIVER_FILES += \
113 $(PATH_STAGE_BIN)/additions/VBoxVideo.cat \
114 $(PATH_STAGE_BIN)/additions/VBoxVideo-PreW10.cat \
115 $(PATH_STAGE_BIN)/additions/VBoxGuest.cat \
116 $(PATH_STAGE_BIN)/additions/VBoxGuest-PreW10.cat \
117 $(PATH_STAGE_BIN)/additions/VBoxMouse.cat \
118 $(PATH_STAGE_BIN)/additions/VBoxMouse-PreW10.cat
119endif
120ifdef VBOX_WITH_WDDM
121DRIVER_FILES += \
122 $(PATH_STAGE_BIN)/additions/VBoxWddm.sys \
123 $(PATH_STAGE_BIN)/additions/VBoxWddm.inf \
124 $(PATH_STAGE_BIN)/additions/VBoxDispD3D.dll
125 ifdef VBOX_WITH_WDDM_DX
126DRIVER_FILES += \
127 $(PATH_STAGE_BIN)/additions/VBoxDX.dll
128 endif
129 ifdef VBOX_WITH_MESA3D
130DRIVER_FILES += \
131 $(PATH_STAGE_BIN)/additions/VBoxNine.dll \
132 $(PATH_STAGE_BIN)/additions/VBoxSVGA.dll \
133 $(PATH_STAGE_BIN)/additions/VBoxGL.dll
134 endif
135 ifdef VBOX_SIGN_ADDITIONS
136DRIVER_FILES += \
137 $(PATH_STAGE_BIN)/additions/VBoxWddm.cat \
138 $(PATH_STAGE_BIN)/additions/VBoxWddm-PreW10.cat
139 endif
140 ifeq ($(KBUILD_TARGET_ARCH),amd64)
141DRIVER_FILES += \
142 $(PATH_STAGE_BIN)/additions/VBoxDispD3D-x86.dll
143 ifdef VBOX_WITH_WDDM_DX
144DRIVER_FILES += \
145 $(PATH_STAGE_BIN)/additions/VBoxDX-x86.dll
146 endif
147 ifdef VBOX_WITH_MESA3D
148DRIVER_FILES += \
149 $(PATH_STAGE_BIN)/additions/VBoxNine-x86.dll \
150 $(PATH_STAGE_BIN)/additions/VBoxSVGA-x86.dll \
151 $(PATH_STAGE_BIN)/additions/VBoxGL-x86.dll
152 endif
153 endif
154endif
155
156ifdef env.VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
157 DRIVER_FILES += \
158 $(PATH_STAGE_BIN)/additions/VBoxAudioTest.exe
159endif
160
161VB_WIN_ADD_NSIS_ENV := \
162 -E 'PATH_OUT=$(subst /,\,$(PATH_OUT))' \
163 -E 'PATH_TARGET=$(subst /,\,$(PATH_TARGET))' \
164 -E 'PATH_TARGET_X86=$(subst /,\,$(PATH_OUT_BASE)/win.x86/$(KBUILD_TYPE)/obj)' \
165 -E 'VBOX_PATH_ADDITIONS_WIN_X86=$(subst /,\,$(VBOX_PATH_ADDITIONS.win.x86))' \
166 -E 'VBOX_PATH_DIFX=$(subst /,\,$(VBOX_PATH_DIFX))' \
167 -E 'VBOX_VENDOR=$(VBOX_VENDOR)' \
168 -E 'VBOX_VENDOR_SHORT=$(VBOX_VENDOR_SHORT)' \
169 -E 'VBOX_PRODUCT=$(VBOX_PRODUCT)' \
170 -E 'VBOX_C_YEAR=$(VBOX_C_YEAR)' \
171 -E 'VBOX_VERSION_STRING=$(VBOX_VERSION_STRING)' \
172 -E 'VBOX_VERSION_STRING_RAW=$(VBOX_VERSION_STRING_RAW)' \
173 -E 'VBOX_VERSION_MAJOR=$(VBOX_VERSION_MAJOR)' \
174 -E 'VBOX_VERSION_MINOR=$(VBOX_VERSION_MINOR)' \
175 -E 'VBOX_VERSION_BUILD=$(VBOX_VERSION_BUILD)' \
176 -E 'VBOX_SVN_REV=$(VBOX_SVN_REV)' \
177 -E 'VBOX_WINDOWS_ADDITIONS_ICON_FILE=$(subst /,\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))' \
178 -E 'VBOX_NSIS_ICON_FILE=$(subst /,\,$(VBOX_NSIS_ICON_FILE))' \
179 -E 'VBOX_WITH_GUEST_INSTALL_HELPER=$(if $(VBOX_WITH_GUEST_INSTALL_HELPER),1,0)' \
180 -E 'VBOX_WITH_GUEST_INSTALLER_UNICODE=$(if $(VBOX_WITH_GUEST_INSTALLER_UNICODE),1,0)' \
181 -E 'VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST=$(if $(VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST),1,0)' \
182 -E 'VBOX_WITH_LICENSE_INSTALL_RTF=$(if $(VBOX_BRAND_LICENSE_RTF),1,0)' \
183 -E 'VBOX_WITH_WDDM=$(if $(VBOX_WITH_WDDM),1,0)' \
184 -E 'VBOX_WITH_WDDM_DX=$(if $(VBOX_WITH_WDDM_DX),1,0)' \
185 -E 'VBOX_WITH_MESA3D=$(if $(VBOX_WITH_MESA3D),1,0)' \
186 -E 'VBOX_BRAND_WIN_ADD_INST_DLGBMP=$(subst /,\,$(VBOX_BRAND_WIN_ADD_INST_DLGBMP))' \
187 -E 'VBOX_BRAND_LICENSE_RTF=$(subst /,\,$(VBOX_BRAND_LICENSE_RTF))' \
188 $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),-E 'VBOX_BRAND_$(lang)_LICENSE_RTF=$(VBOX_BRAND_$(lang)_LICENSE_RTF)') \
189 -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \
190 -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)'
191
192ifdef VBOX_SIGNING_MODE
193#
194# This is a hack to sign the uninstaller.
195# See http://nsis.sourceforge.net/Signing_an_Uninstaller for more details.
196#
197OTHER_CLEAN += $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe
198
199$(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe: \
200 $(PATH_SUB_CURRENT)/VBoxGuestAdditions.nsi \
201 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsCommon.nsh \
202 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsExternal.nsh \
203 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsLog.nsh \
204 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \
205 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstallOld.nsh \
206 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \
207 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \
208 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \
209 $(DRIVER_FILES) \
210 $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) \
211 $(VBOX_NSIS_ICON_FILE) \
212 $(VBOX_VERSION_STAMP) \
213 $$(VBoxDrvInst_1_STAGE_TARGET) \
214 | $$(dir $$@)
215 $(call MSG_L1,Creating $@, from $<)
216 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_WIN_ADD_INS_SRC) \
217 $(VB_WIN_ADD_NSIS_ENV) \
218 -- $(EXEC_X86_WIN32) $(VBOX_PATH_NSIS)/makensis.exe /NOCD /V2 \
219 $(if $(VBOX_SIGN_ADDITIONS),'/DVBOX_SIGN_ADDITIONS=1') \
220 $(if $(VBOX_WITH_VBOX_LEGACY_TS_CA),'/DVBOX_WITH_VBOX_LEGACY_TS_CA=1') \
221 $(if $(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_INSTALLER_ADD_LANGUAGES=1') \
222 $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
223 '/DUNINSTALLER_ONLY=1' \
224 '$(subst /,\,$<)'
225
226OTHER_CLEAN += $(PATH_TARGET)/uninst.exe
227$(PATH_TARGET)/uninst.exe: $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe | $$(dir $$@)
228 $(call MSG_L1,Creating $@, from $<)
229 $(QUIET)$(RM) -f $@
230 - $<
231 $(TEST) -f $@
232 $(call VBOX_SIGN_FILE_FN,$@)
233endif
234
235ifdef VBOX_GA_ATTESTATION_SIGNING
236VBOX_DRIVERS_PACK_NAME := VBoxDrivers-$(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)r$(VBOX_SVN_REV)-$(KBUILD_TARGET_ARCH).cab
237VBOX_SIGNED_DRIVERS_ZIP_NAME := $(VBOX_DRIVERS_PACK_NAME).Signed.zip
238include $(KBUILD_PATH)/tools/ZIP.kmk
239ifndef TOOL_ZIP_PACK
240 TOOL_ZIP_PACK = zip
241endif
242endif
243
244$(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe: \
245 $(PATH_SUB_CURRENT)/VBoxGuestAdditions.nsi \
246 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsCommon.nsh \
247 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsExternal.nsh \
248 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsLog.nsh \
249 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \
250 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstallOld.nsh \
251 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \
252 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \
253 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \
254 $(DRIVER_FILES) \
255 $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) \
256 $(VBOX_NSIS_ICON_FILE) \
257 $(if $(VBOX_SIGNING_MODE),$(PATH_TARGET)/uninst.exe) \
258 $(if $(VBOX_GA_ATTESTATION_SIGNING),$(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME)) \
259 $(VBOX_VERSION_STAMP) \
260 $$(VBoxDrvInst_1_STAGE_TARGET)
261 $(call MSG_L1,Creating $@, from $<)
262ifdef VBOX_GA_ATTESTATION_SIGNING
263 $(TOOL_ZIP_UNPACK) -oj $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME) -d $(PATH_STAGE_BIN)/additions/
264endif
265 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_WIN_ADD_INS_SRC) \
266 $(VB_WIN_ADD_NSIS_ENV) \
267 -- $(EXEC_X86_WIN32) $(VBOX_PATH_NSIS)/makensis.exe /NOCD /V2 \
268 $(if $(VBOX_SIGN_ADDITIONS),'/DVBOX_SIGN_ADDITIONS=1') \
269 $(if $(VBOX_SIGNING_MODE),'/DEXTERNAL_UNINSTALLER=1') \
270 $(if $(VBOX_WITH_VBOX_LEGACY_TS_CA),'/DVBOX_WITH_VBOX_LEGACY_TS_CA=1') \
271 $(if $(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_INSTALLER_ADD_LANGUAGES=1') \
272 $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES),'/DVBOX_BRAND_$(lang)_LICENSE_RTF=1') \
273 '$(subst /,\,$<)'
274 $(call VBOX_SIGN_FILE_FN,$@)
275
276ifdef VBOX_GA_ATTESTATION_SIGNING
277$(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME): \
278 $(PATH_OUT)/repackadd/sign-attestation.sh \
279 $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
280 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.zip
281 cd $(PATH_OUT)/repackadd && $(SHELL) $(PATH_OUT)/repackadd/sign-attestation.sh $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
282 $(MV_EXT) $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME).*.zip $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME)
283
284$(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME): \
285 $(PATH_OUT)/repackadd/PackDriversForSubmission.cmd
286 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.cab
287 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.ddf
288 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.inf
289 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.rpt
290 $(EXEC_X86_WIN32) cmd /c $(PATH_OUT)/repackadd/PackDriversForSubmission.cmd -b $(PATH_STAGE_BIN) -a $(KBUILD_TARGET_ARCH) -x -n --no-main --ga -o $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
291 $(call VBOX_SIGN_EV_FILE_FN,$@)
292endif #VBOX_GA_ATTESTATION_SIGNING
293
294#
295# Repackaging scripts and files.
296#
297INSTALLS += RePackScriptsAdd
298RePackScriptsAdd_TEMPLATE = DUMMY
299RePackScriptsAdd_INST = repackadd/
300RePackScriptsAdd_INSTTYPE = stage
301RePackScriptsAdd_SOURCES = \
302 ../../../Installer/win/Scripts/UnpackBlessedDrivers.cmd \
303 $(RePackScriptsAdd_0_OUTDIR)/PackDriversForSubmission.cmd \
304 $(RePackScriptsAdd_0_OUTDIR)/Combined-1-Prepare.cmd \
305 $(RePackScriptsAdd_0_OUTDIR)/Combined-3-RepackAdditions.cmd \
306 $(RePackScriptsAdd_0_OUTDIR)/sign-ev.cmd
307RePackScriptsAdd_CLEAN = \
308 $(RePackScriptsAdd_0_OUTDIR)/sign-ev.cmd
309
310ifndef VBOX_OSE
311RePackScriptsAdd_SOURCES += \
312 $(RePackScriptsAdd_0_OUTDIR)/Combined-0-Additions.cmd \
313 $(RePackScriptsAdd_0_OUTDIR)/Combined-2-SignAdditions.cmd \
314 ../../../Installer/win/Scripts/sign-attestation.sh
315endif
316
317$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/PackDriversForSubmission.cmd,PackDriversForSubmission.cmd)
318$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-1-Prepare.cmd,Combined-1-Prepare.cmd)
319ifndef VBOX_OSE
320$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-0-Additions.cmd,Combined-0-Additions.cmd)
321$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-2-SignAdditions.cmd,Combined-2-SignAdditions.cmd)
322endif
323$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-3-RepackAdditions.cmd,Combined-3-RepackAdditions.cmd)
324
325# The %~dp1\ oddity is working around otherwise ending with \" during
326# expansion of the CCS command line which for a reason I cannot immediately
327# understand appends a " to the path.
328$$(RePackScriptsAdd_0_OUTDIR)/sign-ev.cmd: | $$(dir $$@)
329 $(APPEND) -nt "$@" \
330 'if ".%KBUILD_DEVTOOLS%" == "." (echo KBUILD_DEVTOOLS is not set & exit /b 1)' \
331 'if ".%KBUILD_BIN_PATH%" == "." (echo KBUILD_BIN_PATH is not set & exit /b 1)' \
332 'if ".%1" == "." (echo No .cab file specified & exit /b 1)' \
333 $(subst $(KBUILD_BIN_PATH),%KBUILD_BIN_PATH%,$(subst $(KBUILD_DEVTOOLS),%KBUILD_DEVTOOLS%, \
334 '( $(call VBOX_SIGN_EV_FILE_FN,%1,%~dp1\) ) || exit /b1' \
335 ) )
336
337#
338# Repacking resources.
339#
340INSTALLS += RePackScriptsAddResources
341RePackScriptsAddResources_TEMPLATE = DUMMY
342RePackScriptsAddResources_INST = repackadd/resources/
343RePackScriptsAddResources_INSTTYPE = stage
344RePackScriptsAddResources_DIRS = Languages
345RePackScriptsAddResources_SOURCES = \
346 welcome.bmp \
347 $(VBOX_WINDOWS_ADDITIONS_ICON_FILE)=>VirtualBoxGA-vista.ico \
348 $(VBOX_NSIS_ICON_FILE)=>VirtualBoxGA-nsis.ico \
349 iexplore.ico \
350 $(PATH_ROOT)/doc/License-gpl-3.0.rtf \
351 VBoxGuestAdditions.nsi \
352 dumplog.nsh \
353 ReplaceDLL.nsh \
354 servicepack.nsh \
355 strstr.nsh \
356 VBoxGuestAdditionsCommon.nsh \
357 VBoxGuestAdditionsExternal.nsh \
358 VBoxGuestAdditionsLog.nsh\
359 VBoxGuestAdditionsNT4.nsh \
360 VBoxGuestAdditionsUninstall.nsh \
361 VBoxGuestAdditionsUninstallOld.nsh \
362 VBoxGuestAdditionsVista.nsh\
363 VBoxGuestAdditionsW2KXP.nsh\
364 winver.nsh \
365 ISO/AUTORUN.INF \
366 ISO/NT3xReadme.txt \
367 \
368 Languages/English.nsh=>Languages/English.nsh \
369 Languages/French.nsh=>Languages/French.nsh \
370 Languages/German.nsh=>Languages/German.nsh
371
372
373#
374# NT3.x installer.
375#
376# Just for fun, this one does not use the CRT more than it really really needs
377# to. This saves space and avoid compatiblity issues, it also makes for a
378# fun challenge.
379#
380PROGRAMS.win.x86 += VBoxAddInstallNt3x
381VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3NoCrtExe
382#VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3Exe
383VBoxAddInstallNt3x_SOURCES := \
384 VBoxAddInstallNt3x.cpp \
385
386
387VBoxAddInstallNt3x.cpp_DEPS = $(VBOX_SVN_REV_HEADER)
388
389
390include $(FILE_KBUILD_SUB_FOOTER)
391
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