VirtualBox

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

Last change on this file since 94377 was 94160, checked in by vboxsync, 3 years ago

Additions: Windows: Use the same approach as with the host driver for .cat files, i.e. create 2 copies, one for Windows versions before 10, and one for 10 and later (which in UEFI Secure Boot mode modified the trusted root list, requiring Attestation Signing). The NSIS installer will deliver the appropriate file.

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