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