1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..
29PRJNAME=instsetoo_native
30TARGET=util
31
32.INCLUDE:  settings.mk
33.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
34
35# PERL:=@echo
36
37# watch for the path delimiter
38.IF "$(GUI)"=="WNT"
39PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
40.ELSE			# "$(GUI)"=="WNT"
41PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
42.ENDIF			# "$(GUI)"=="WNT"
43.EXPORT: PYTHONPATH
44
45.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
46ENABLE_DOWNLOADSETS*=TRUE
47.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
48.IF "$(FORCE_DOWNLOADSETS)"!=""
49ENABLE_DOWNLOADSETS=TRUE
50.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
51
52.EXPORT: ENABLE_DOWNLOADSETS
53.EXPORT: LAST_MINOR
54.EXPORT: PRJ
55.EXPORT: PRJNAME
56
57.IF "$(OS)"=="LINUX"
58DONT_REMOVE_PACKAGE:=TRUE
59.EXPORT: DONT_REMOVE_PACKAGE
60.ENDIF          # "$(OS)"=="LINUX"
61
62.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
63
64SHARED_COM_SDK_PATH*:=.
65
66INSTALLDIR=$(OUT)
67
68.INCLUDE: target.mk
69
70LOCALPYFILES= \
71    $(BIN)$/uno.py \
72	$(BIN)$/unohelper.py \
73	$(BIN)$/pythonloader.py \
74	$(BIN)$/pythonscript.py \
75	$(BIN)$/officehelper.py \
76	$(BIN)$/mailmerge.py
77
78xxxx:
79    echo $(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml
80
81.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
82ALLTAR  : $(LOCALPYFILES)
83	@echo "No EPM: do no packaging at this stage"
84.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
85.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
86.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
87ALLTAR : openoffice
88.ELSE
89ALLTAR : openoffice sdkoo_en-US ure_en-US
90.ENDIF
91.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
92ALLTAR : updatepack
93.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
94.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
95
96.IF "$(FORCE2ARCHIVE)" == "TRUE"
97PKGFORMAT = archive
98.END
99
100.IF "$(MAKETARGETS:e)"!=""
101PKGFORMAT+=$(MAKETARGETS:e:s/.//)
102.ENDIF			# "$(MAKETARGETS:e)"!=""
103
104# Independent of PKGFORMAT, always build a default-language openoffice product
105# also in archive format, so that tests that require an OOo installation (like
106# smoketestoo_native) have one available:
107openoffice_$(defaultlangiso) : $$@.archive
108
109.IF "$(VERBOSE)"=="TRUE"
110VERBOSESWITCH=-verbose
111.ENDIF
112.IF "$(VERBOSE)"=="FALSE"
113VERBOSESWITCH=-quiet
114.ENDIF
115
116updatepack:
117	$(PERL) -w $(SOLARENV)$/bin$/packager.pl
118
119.IF "$(alllangiso)"!=""
120
121openoffice: $(foreach,i,$(alllangiso) openoffice_$i)
122
123openofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
124
125openofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
126
127ooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
128
129ooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
130
131sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
132
133sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
134
135ure: $(foreach,i,$(alllangiso) ure_$i)
136
137broffice: $(foreach,i,$(alllangiso) broffice_$i)
138
139brofficedev: $(foreach,i,$(alllangiso) brofficedev_$i)
140
141brofficewithjre: $(foreach,i,$(alllangiso) brofficewithjre_$i)
142
143broolanguagepack : $(foreach,i,$(alllangiso) broolanguagepack_$i)
144
145MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
146MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
147MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
148MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
149
150.IF "$(BUILD_SPECIAL)"!=""
151MSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
152MSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
153MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
154MSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
155.ELSE			# "$(BUILD_SPECIAL)"!=""
156NOLOGOSPLASH:=$(BIN)$/intro.zip
157DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
158BROFFICENOLOGOSPLASH:=$(BIN)$/broffice$/intro.zip
159BROFFICENOLOGOBRAND:=$(BIN)$/broffice$/images_brand.zip
160BROFFICEDEVNOLOGOSPLASH:=$(BIN)$/broffice_dev$/intro.zip
161BROFFICENDEVOLOGOBRAND:=$(BIN)$/broffice_dev$/images_brand.zip
162MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
163MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
164MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
165MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
166
167ADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH) $(BROFFICENOLOGOSPLASH) $(BROFFICEDEVNOLOGOSPLASH) \
168    $(BROFFICENOLOGOBRAND) $(BROFFICEDEVNOLOGOBRAND)
169.IF "$(OS)" == "WNT"
170ADDDEPS+=hack_msitemplates
171.ENDIF
172
173$(foreach,i,$(alllangiso) openoffice_$i) : $(ADDDEPS)
174openoffice_$(defaultlangiso).archive : $(ADDDEPS)
175
176$(foreach,i,$(alllangiso) openofficedev_$i) : $(ADDDEPS)
177
178$(foreach,i,$(alllangiso) openofficewithjre_$i) : $(ADDDEPS)
179
180$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $(ADDDEPS)
181
182$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $(ADDDEPS)
183
184$(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS)
185
186$(foreach,i,$(alllangiso) sdkoodev_$i) : $(ADDDEPS)
187
188$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
189
190$(foreach,i,$(alllangiso) broffice_$i) : $(ADDDEPS)
191
192$(foreach,i,$(alllangiso) brofficedev_$i) : $(ADDDEPS)
193
194$(foreach,i,$(alllangiso) brofficewithjre_$i) : $(ADDDEPS)
195
196$(foreach,i,$(alllangiso) broolanguagepack_$i) : $(ADDDEPS)
197
198.IF "$(MAKETARGETS)"!=""
199$(MAKETARGETS) : $(ADDDEPS)
200.ENDIF			# "$(MAKETARGETS)"!=""
201
202.ENDIF			# "$(BUILD_SPECIAL)"!=""
203
204$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
205.IF "$(MAKETARGETS)"!=""
206.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
207$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
208$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
209.ENDIF			# "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
210.ENDIF			# "$(MAKETARGETS)"!=""
211openoffice_%{$(PKGFORMAT:^".") .archive} :
212	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
213	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
214
215$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
216openofficewithjre_%{$(PKGFORMAT:^".")} :
217	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
218
219$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
220openofficedev_%{$(PKGFORMAT:^".")} :
221	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
222	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
223
224$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
225ooolanguagepack_%{$(PKGFORMAT:^".")} :
226	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
227
228$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
229ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
230	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
231
232$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
233sdkoo_%{$(PKGFORMAT:^".")} :
234	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
235
236$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
237sdkoodev_%{$(PKGFORMAT:^".")} :
238	$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -dontstrip -format $(@:e:s/.//) $(VERBOSESWITCH)
239
240$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
241ure_%{$(PKGFORMAT:^".")} :
242.IF "$(OS)" == "MACOSX"
243    @echo 'for now, there is no standalone URE for Mac OS X'
244.ELSE
245    $(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst \
246        -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) -format $(@:e:s/.//) $(VERBOSESWITCH) \
247        -msitemplate $(MSIURETEMPLATEDIR) \
248        -msilanguage $(MISC)$/win_ulffiles
249.ENDIF
250
251$(foreach,i,$(alllangiso) broffice_$i) : $$@{$(PKGFORMAT:^".")}
252.IF "$(MAKETARGETS)"!=""
253.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
254$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
255$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
256.ENDIF			# "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
257.ENDIF			# "$(MAKETARGETS)"!=""
258broffice_%{$(PKGFORMAT:^".")} :
259	+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
260	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product BrOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
261
262$(foreach,i,$(alllangiso) brofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
263brofficewithjre_%{$(PKGFORMAT:^".")} :
264	+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
265
266$(foreach,i,$(alllangiso) brofficedev_$i) : $$@{$(PKGFORMAT:^".")}
267brofficedev_%{$(PKGFORMAT:^".")} :
268	+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -format $(@:e:s/.//) $(VERBOSESWITCH)
269	$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product BrOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
270
271$(foreach,i,$(alllangiso) broolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
272broolanguagepack_%{$(PKGFORMAT:^".")} :
273	+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(MISC)$/win_ulffiles -languagepack -format $(@:e:s/.//) $(VERBOSESWITCH)
274
275.ELSE			# "$(alllangiso)"!=""
276openoffice:
277	@echo cannot pack nothing...
278
279.ENDIF			# "$(alllangiso)"!=""
280
281.IF "$(LOCALPYFILES)"!=""
282$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".") .archive} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} broffice_$i{$(PKGFORMAT:^".")} brofficewithjre_$i{$(PKGFORMAT:^".")} brofficedev_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES)
283.ENDIF			# "$(LOCALPYFILES)"!=""
284
285$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
286	@$(COPY) $< $@
287
288$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_nologo$/intro.zip
289	$(COPY) $< $@
290
291$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev_nologo$/intro.zip
292	@-$(MKDIR) $(@:d)
293	$(COPY) $< $@
294
295$(BIN)$/broffice_dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/broffice_dev_nologo$/intro.zip
296	@-$(MKDIR) $(@:d)
297	$(COPY) $< $@
298
299$(BIN)$/broffice$/intro.zip : $(SOLARCOMMONPCKDIR)$/broffice_nologo$/intro.zip
300	@-$(MKDIR) $(@:d)
301	$(COPY) $< $@
302
303$(BIN)$/broffice$/images_brand.zip : $(SOLARCOMMONBINDIR)$/broffice_nologo$/images_brand.zip
304	@-$(MKDIR) $(@:d)
305	$(COPY) $< $@
306
307hack_msitemplates .PHONY:
308	-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)
309	-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)
310	-$(MKDIRHIER) $(MSIURETEMPLATEDIR)
311	-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)
312	-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)$/Binary
313	-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)$/Binary
314	-$(MKDIRHIER) $(MSIURETEMPLATEDIR)$/Binary
315	-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)$/Binary
316	$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/*.* $(MSIOFFICETEMPLATEDIR)
317	$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/*.* $(MSILANGPACKTEMPLATEDIR)
318	$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/*.* $(MSIURETEMPLATEDIR)
319	$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/*.* $(MSISDKOOTEMPLATEDIR)
320	$(GNUCOPY) -u $(MSIOFFICETEMPLATESOURCE)$/Binary$/*.* $(MSIOFFICETEMPLATEDIR)$/Binary
321	$(GNUCOPY) -u $(MSILANGPACKTEMPLATESOURCE)$/Binary$/*.* $(MSILANGPACKTEMPLATEDIR)$/Binary
322	$(GNUCOPY) -u $(MSIURETEMPLATESOURCE)$/Binary$/*.* $(MSIURETEMPLATEDIR)$/Binary
323	$(GNUCOPY) -u $(MSISDKOOTEMPLATESOURCE)$/Binary$/*.* $(MSISDKOOTEMPLATEDIR)$/Binary
324	$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
325	$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
326	$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
327	$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
328	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
329	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
330	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
331	$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
332
333
334