1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22PRJ=..
23PRJNAME=instsetoo_native
24TARGET=util
25
26.INCLUDE:  settings.mk
27.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
28.INCLUDE: $(SOLARENVINC)$/version.mk
29
30# watch for the path delimiter
31.IF "$(GUI)"=="WNT"
32PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
33.ELSE			# "$(GUI)"=="WNT"
34PYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
35.ENDIF			# "$(GUI)"=="WNT"
36.EXPORT: PYTHONPATH
37
38.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
39ENABLE_DOWNLOADSETS*=TRUE
40.ENDIF			# "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
41.IF "$(FORCE_DOWNLOADSETS)"!=""
42ENABLE_DOWNLOADSETS=TRUE
43.ENDIF			# "$(FORCE_DOWNLOADSETS)"!=""
44
45.EXPORT: ENABLE_DOWNLOADSETS
46.EXPORT: LAST_MINOR
47.EXPORT: PRJ
48.EXPORT: PRJNAME
49
50.IF "$(OS)"=="LINUX"
51DONT_REMOVE_PACKAGE:=TRUE
52.EXPORT: DONT_REMOVE_PACKAGE
53.ENDIF          # "$(OS)"=="LINUX"
54
55.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
56
57SHARED_COM_SDK_PATH*:=.
58
59INSTALLDIR=$(OUT)
60
61.INCLUDE: target.mk
62
63.IF "$(FORCE2ARCHIVE)" == "TRUE"
64PKGFORMAT = archive
65.END
66.IF "$(MAKETARGETS:e)"!=""
67PKGFORMAT+=$(MAKETARGETS:e:s/.//)
68.ENDIF
69# PKGFORMAT may contain the standard package format twice at this time.
70# Provide its content with duplicates removed.
71PACKAGE_FORMATS=$(uniq $(PKGFORMAT))
72
73
74# The help target belongs after the inclusion of target.mk to not become the default target.
75help .PHONY :
76	@echo "known targets:"
77	@echo "    openoffice             builds the default installation packages for the platform"
78	@echo "    aoo_srcrelease         packs the source release package"
79	@echo "    updatepack"
80	@echo "    openofficedev          devloper snapshot"
81	@echo "    openofficewithjre"
82	@echo "    ooolanguagepack"
83	@echo "    ooodevlanguagepack"
84	@echo "    sdkoo"
85	@echo "    sdkoodev"
86	@echo "    openofficebeta         like openoffice but with 'Beta' appended to product name"
87	@echo
88	@echo "experimental targets:"
89	@echo "    patch-create           create a patch for updating an installed office (Windows only)"
90	@echo "    patch-apply            apply a previously created patch"
91	@echo "    patch-update-releases-xml"
92	@echo "    patch-check            check if patch can be created (part of patch-create)"
93	@echo
94	@echo "Most targets (all except aoo_srcrelease and updatepack) accept suffixes"
95	@echo "    append _<language> to build a target for one language only"
96	@echo "        the default set of languages is alllangiso=$(alllangiso)"
97	@echo "    append .<package_format> to build a target for one package format only"
98	@echo "        the default set of package formats is archive and PKGFORMAT=$(PKGFORMAT)"
99	@echo "        known package formats are: "
100	@echo "        archive, bsd, deb, dmg, installed, msi, native, osx, pkg, portable, rpm"
101
102
103LOCALPYFILES=			\
104	$(BIN)$/uno.py		\
105	$(BIN)$/unohelper.py	\
106	$(BIN)$/pythonloader.py \
107	$(BIN)$/pythonscript.py \
108	$(BIN)$/officehelper.py \
109	$(BIN)$/mailmerge.py
110
111xxxx:
112    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
113
114.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
115ALLTAR  : $(LOCALPYFILES)
116	@echo "No EPM: do no packaging at this stage"
117.ELSE			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
118.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
119.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
120ALLTAR : openoffice
121.ELSE
122ALLTAR : openoffice sdkoo_en-US
123.ENDIF
124.ELSE			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
125ALLTAR : updatepack
126.ENDIF			# "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
127.ENDIF			# "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
128
129
130# Independent of PKGFORMAT, always build a default-language openoffice product
131# also in archive format, so that tests that require an OOo installation (like
132# smoketestoo_native) have one available:
133openoffice_$(defaultlangiso) : $$@.archive
134
135.IF "$(VERBOSE)"=="TRUE"
136VERBOSESWITCH=-verbose
137.ELIF "$(VERBOSE)"=="FALSE"
138VERBOSESWITCH=-quiet
139.ENDIF
140
141.IF "$(release)"!=""
142RELEASE_SWITCH=-release
143$(foreach,i,$(alllangiso) openoffice_$i.msi) : prepare_release_build
144.ELSE
145RELEASE_SWITCH=
146.ENDIF
147
148prepare_release_build .PHONY:
149	@$(PERL) -w $(SOLARENV)$/bin$/release_prepare.pl 	\
150		--lst-file $(PRJ)$/util$/openoffice.lst 	\
151		--product-name Apache_OpenOffice		\
152		--output-path $(OUT) 				\
153		$(alllangiso)
154
155.IF "$(VERBOSE_INSTALLER)"=="TRUE"
156VERBOSESWITCH+=-log
157.ENDIF
158
159# New target to prepare a source release
160SRC_RELEASE_OUT_DIR=$(shell cd $(OUT) && pwd)$/AOO_SRC_Release
161
162aoo_srcrelease: $(SOLARENV)$/bin$/srcrelease.xml
163	@-$(MKDIR) $(OUT)$/AOO_SRC_Release
164	$(ANT) -f $(SOLARENV)$/bin$/srcrelease.xml -q -Dbasedir=$(SOURCE_ROOT_DIR) -Dout.dir=$(SRC_RELEASE_OUT_DIR)
165
166updatepack:
167	$(PERL) -w $(SOLARENV)$/bin$/packager.pl
168
169
170
171.IF "$(alllangiso)"==""
172openoffice:
173	@echo no languages specified => aborting packing
174
175.ELSE	# "$(alllangiso)"==""
176
177# The naming schema of targets is this: <target>_<language>.<package>
178# where <target> is the target base name (like openoffice or sdkoo)
179#       <language> is the language name (like en-US or fr)
180#       <package> is the package format (like archive, msi, deb, rpm, dmg)
181
182# Add dependencies of basic targets on language specific targets.
183openoffice: $(foreach,i,$(alllangiso) openoffice_$i)
184openofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
185beta: $(foreach,i,$(alllangiso) beta_$i)
186openofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
187ooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
188ooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
189sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
190sdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
191patch-create: $(foreach,i,$(alllangiso) patch-create_$i)
192
193MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
194MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
195MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
196
197NOLOGOSPLASH:=$(BIN)$/intro.zip
198DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
199BETA_LOGO_SPLASH:=$(BIN)$/beta$/intro.zip $(BIN)$/beta$/images.zip
200MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
201MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
202MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
203
204ADDDEPS=adddeps
205adddeps .PHONY : $(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
206
207.IF "$(OS)" == "WNT"
208adddeps : msitemplates
209.ENDIF
210
211.IF "$(LOCALPYFILES)"!=""
212local_python_files .PHONY : $(LOCALPYFILES)
213adddeps : local_python_files
214updatepack : local_python_files
215.ENDIF			# "$(LOCALPYFILES)"!=""
216
217# Add dependencies on 'adddeps' where necessary.
218$(foreach,i,$(alllangiso) openoffice_$i) : adddeps
219openoffice_$(defaultlangiso).archive : adddeps
220$(foreach,i,$(alllangiso) openofficedev_$i) : adddeps
221$(foreach,i,$(alllangiso) beta_$i) : adddeps $(BETA_LOGO_SPLASH)
222$(foreach,i,$(alllangiso) openofficewithjre_$i) : adddeps
223$(foreach,i,$(alllangiso) ooolanguagepack_$i) : adddeps
224$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : adddeps
225$(foreach,i,$(alllangiso) sdkoo_$i) : adddeps
226$(foreach,i,$(alllangiso) sdkoodev_$i) : adddeps
227
228# Create targets that take the package formats into account.  Together with language dependency we
229# get this transformation: target -> target_$language -> target_$language.$package
230# where $language ranges over all languages in $(alllangiso)
231# and $package ranges over all package formats in $(PKGFORMAT)
232$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
233$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
234$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
235$(foreach,i,$(alllangiso) beta_$i) : $$@{$(PKGFORMAT:^".")}
236$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
237$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
238$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
239$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
240$(foreach,i,$(alllangiso) patch-create_$i) : $$@{$(PKGFORMAT:^".")}
241
242
243# This macro makes calling the make_installer.pl script a bit easier.
244# Just add -p and -msitemplate switches.
245MAKE_INSTALLER_COMMAND=					\
246	@$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
247		-f $(PRJ)$/util$/openoffice.lst 	\
248		-l $(subst,$(@:s/_/ /:1)_, $(@:b)) 	\
249		-u $(OUT) 				\
250		-buildid $(BUILD) 			\
251		-msilanguage $(MISC)$/win_ulffiles	\
252		-format $(@:e:s/.//) 			\
253		$(VERBOSESWITCH)
254
255# This macro makes calling gen_update_info.pl a bit easier
256# Just add --product switches, and xml input file and redirect output.
257GEN_UPDATE_INFO_COMMAND=					\
258	@$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl	\
259		--buildid $(BUILD)				\
260		--arch "$(RTL_ARCH)"				\
261		--os "$(RTL_OS)"				\
262		--lstfile $(PRJ)$/util$/openoffice.lst		\
263		--languages $(subst,$(@:s/_/ /:1)_, $(@:b))
264
265#openoffice_%{$(PKGFORMAT:^".")} :
266$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openoffice_$L.$P)) .PHONY :
267	$(MAKE_INSTALLER_COMMAND) 			\
268		-p Apache_OpenOffice			\
269		-msitemplate $(MSIOFFICETEMPLATEDIR)	\
270		$(RELEASE_SWITCH)
271	$(GEN_UPDATE_INFO_COMMAND)		\
272		--product Apache_OpenOffice	\
273		$(PRJ)$/util$/update.xml	\
274		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
275
276#openofficewithjre_%{$(PKGFORMAT:^".")} :
277$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficewithjre_$L.$P)) .PHONY :
278	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR)
279
280#openofficedev_%{$(PKGFORMAT:^".")} :
281$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficedev_$L.$P)) .PHONY :
282	$(MAKE_INSTALLER_COMMAND)		\
283		-p Apache_OpenOffice_Dev	\
284		-msitemplate $(MSIOFFICETEMPLATEDIR)
285	$(GEN_UPDATE_INFO_COMMAND)			\
286		--product Apache_OpenOffice_Dev 	\
287		$(PRJ)$/util$/update.xml 		\
288		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
289
290$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) beta_$L.$P)) .PHONY :
291	$(MAKE_INSTALLER_COMMAND)		\
292		-p Apache_OpenOffice_Beta	\
293		-msitemplate $(MSIOFFICETEMPLATEDIR)
294	$(GEN_UPDATE_INFO_COMMAND)			\
295		--product Apache_OpenOffice_Beta 	\
296		$(PRJ)$/util$/update.xml 		\
297		> $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
298
299#ooolanguagepack_%{$(PKGFORMAT:^".")} :
300$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooolanguagepack_$L.$P)) .PHONY :
301	$(MAKE_INSTALLER_COMMAND)			\
302		-p Apache_OpenOffice			\
303		-msitemplate $(MSILANGPACKTEMPLATEDIR)	\
304		-languagepack
305
306#ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
307$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooodevlanguagepack_$L.$P)) .PHONY :
308	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack
309
310#sdkoo_%{$(PKGFORMAT:^".")} :
311$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoo_$L.$P)) .PHONY :
312	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
313
314#sdkoodev_%{$(PKGFORMAT:^".")} :
315$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoodev_$L.$P)) .PHONY :
316	$(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
317
318.ENDIF	# "$(alllangiso)"==""
319
320$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
321	$(COPY) $< $@
322
323$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
324	$(COPY) $< $@
325
326$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
327	@-$(MKDIR) $(@:d)
328	$(COPY) $< $@
329
330$(BIN)$/beta$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_beta$/intro.zip
331	@-$(MKDIR) $(@:d)
332	$(COPY) $< $@
333
334# Replace framework/res/*.png with *-beta.png
335$(BIN)$/beta$/images.zip : $(SOLARSHAREDBIN)$/images.zip
336	$(COPY) $< $@
337	$(SOLARENV)$/bin/replace_in_zip.pl	\
338		$@				\
339		framework/res/			\
340		$(SRC_ROOT)/default_images/framework/res/beta/	\
341		backing.png			\
342		backing_hc.png			\
343		backing_rtl_left.png		\
344		backing_rtl_left_hc.png
345
346.IF "$(OS)" == "WNT"
347$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
348	@echo building $@
349	perl -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
350		create								\
351		--product-name Apache_OpenOffice				\
352		--output-path $(OUT)						\
353		--data-path $(PRJ)$/data					\
354		--lst-file $(PRJ)$/util$/openoffice.lst				\
355		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
356		--package-format $(@:e:s/.//)
357patch-apply .PHONY :
358	perl -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
359		apply								\
360		--product-name Apache_OpenOffice				\
361		--output-path $(OUT)						\
362		--lst-file $(PRJ)$/util$/openoffice.lst				\
363		--language en-US						\
364		--package-format msi
365patch-update-releases-xml .PHONY:
366	perl -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
367		update-releases-xml						\
368		--product-name Apache_OpenOffice				\
369		--output-path $(OUT)						\
370		--lst-file $(PRJ)$/util$/openoffice.lst\
371		--target-version 4.0.1
372$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-check_$L.$P)) .PHONY :
373	@echo building $@
374	perl -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl	\
375		check								\
376		--product-name Apache_OpenOffice				\
377		--output-path $(OUT)						\
378		--data-path $(PRJ)$/data					\
379		--lst-file $(PRJ)$/util$/openoffice.lst				\
380		--language $(subst,$(@:s/_/ /:1)_, $(@:b))			\
381		--package-format $(@:e:s/.//)
382
383$(PRJ)$/data :
384	mkdir $@
385.ELSE
386$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
387	@echo "patches can only be created on Windows at the moment"
388patch-apply .PHONY :
389	@echo "patches can only be created on Windows at the moment"
390patch-update-releases-xml .PHONY:
391	@echo "patches can only be created on Windows at the moment"
392.ENDIF
393
394
395msitemplates .PHONY: msi_template_files msi_langpack_template_files msi_sdk_template_files
396
397MSI_OFFICE_TEMPLATE_FILES=		\
398	ActionTe.idt			\
399	AdminExe.idt			\
400	AdminUIS.idt			\
401	AdvtExec.idt			\
402	AppSearc.idt			\
403	Binary.idt			\
404	CheckBox.idt			\
405	Control.idt			\
406	ControlC.idt			\
407	ControlE.idt			\
408	CustomAc.idt			\
409	Dialog.idt			\
410	Error.idt			\
411	EventMap.idt			\
412	InstallE.idt			\
413	InstallU.idt			\
414	LaunchCo.idt			\
415	ListBox.idt			\
416	Property.idt			\
417	RadioBut.idt			\
418	RegLocat.idt			\
419	Signatur.idt			\
420	TextStyl.idt			\
421	UIText.idt			\
422	_Validat.idt			\
423	codes.txt			\
424	codes_broo.txt			\
425	codes_broodev.txt		\
426	codes_ooodev.txt		\
427	components.txt			\
428	upgradecode_remove_ooo.txt	\
429	Binary/Banner.bmp		\
430	Binary/Image.bmp		\
431	Binary/caution.ico		\
432	Binary/dontinstall.ico		\
433	Binary/install.ico		\
434	Binary/installfirstuse.ico	\
435	Binary/installpartial.ico	\
436	Binary/installstatemenu.ico	\
437	Binary/networkinstall.ico	\
438	Binary/newfolder.ico		\
439	Binary/openfolder.ico		\
440	Binary/setup.ico		\
441	Binary/setupcomplete.ico	\
442	Binary/setuppartial.ico		\
443	Binary/setuprepair.ico		\
444	Binary/trashcan.ico		\
445	Binary/up.ico
446
447MSI_LANGPACK_TEMPLATE_FILES=		\
448	ActionTe.idt			\
449	AdminExe.idt			\
450	AdminUIS.idt			\
451	AdvtExec.idt			\
452	Binary.idt			\
453	CheckBox.idt			\
454	Control.idt			\
455	ControlC.idt			\
456	ControlE.idt			\
457	CustomAc.idt			\
458	Dialog.idt			\
459	Error.idt			\
460	EventMap.idt			\
461	InstallE.idt			\
462	InstallU.idt			\
463	LaunchCo.idt			\
464	ListBox.idt			\
465	Property.idt			\
466	RadioBut.idt			\
467	TextStyl.idt			\
468	UIText.idt			\
469	_Validat.idt			\
470	bro_patchcodes.txt		\
471	brodev_patchcodes.txt		\
472	codes.txt			\
473	codes_broo.txt			\
474	codes_ooodev.txt		\
475	components.txt			\
476	ooo_patchcodes.txt		\
477	ooodev_patchcodes.txt		\
478	Binary/Banner.bmp		\
479	Binary/Image.bmp		\
480	Binary/caution.ico		\
481	Binary/dontinstall.ico		\
482	Binary/install.ico		\
483	Binary/installfirstuse.ico	\
484	Binary/installpartial.ico	\
485	Binary/installstatemenu.ico	\
486	Binary/networkinstall.ico	\
487	Binary/newfolder.ico		\
488	Binary/openfolder.ico		\
489	Binary/setup.ico		\
490	Binary/setupcomplete.ico	\
491	Binary/setuppartial.ico		\
492	Binary/setuprepair.ico		\
493	Binary/trashcan.ico		\
494	Binary/up.ico
495
496MSI_SDK_TEMPLATE_FILES=			\
497	ActionTe.idt			\
498	AdminExe.idt			\
499	AdminUIS.idt			\
500	AdvtExec.idt			\
501	AppSearc.idt			\
502	Binary.idt			\
503	CheckBox.idt			\
504	Control.idt			\
505	ControlC.idt			\
506	ControlE.idt			\
507	CustomAc.idt			\
508	Dialog.idt			\
509	Error.idt			\
510	EventMap.idt			\
511	InstallE.idt			\
512	InstallU.idt			\
513	LaunchCo.idt			\
514	ListBox.idt			\
515	Property.idt			\
516	RadioBut.idt			\
517	RegLocat.idt			\
518	Signatur.idt			\
519	TextStyl.idt			\
520	UIText.idt			\
521	_Validat.idt			\
522	codes.txt			\
523	components.txt			\
524	Binary/Banner.bmp		\
525	Binary/Image.bmp		\
526	Binary/caution.ico		\
527	Binary/dontinstall.ico		\
528	Binary/install.ico		\
529	Binary/installfirstuse.ico	\
530	Binary/installpartial.ico	\
531	Binary/installstatemenu.ico	\
532	Binary/networkinstall.ico	\
533	Binary/newfolder.ico		\
534	Binary/openfolder.ico		\
535	Binary/setup.ico		\
536	Binary/setupcomplete.ico	\
537	Binary/setuppartial.ico		\
538	Binary/setuprepair.ico		\
539	Binary/trashcan.ico		\
540	Binary/up.ico
541
542msi_template_files .PHONY:					\
543	$(MSIOFFICETEMPLATEDIR)					\
544	$(MSIOFFICETEMPLATEDIR)$/Binary 			\
545	$(MSIOFFICETEMPLATEDIR)$/{$(MSI_OFFICE_TEMPLATE_FILES)}
546$(MSIOFFICETEMPLATEDIR) $(MSIOFFICETEMPLATEDIR)$/Binary :
547	-$(MKDIRHIER) $@
548$(MSIOFFICETEMPLATEDIR)$/% : $(MSIOFFICETEMPLATESOURCE)$/%
549	$(GNUCOPY) $< $@
550
551msi_langpack_template_files .PHONY :				\
552	$(MSILANGPACKTEMPLATEDIR)				\
553	$(MSILANGPACKTEMPLATEDIR)$/Binary			\
554	$(MSILANGPACKTEMPLATEDIR)$/{$(MSI_LANGPACK_TEMPLATE_FILES)}
555$(MSILANGPACKTEMPLATEDIR) $(MSILANGPACKTEMPLATEDIR)$/Binary  :
556	-$(MKDIRHIER) $@
557$(MSILANGPACKTEMPLATEDIR)$/% : $(MSILANGPACKTEMPLATESOURCE)$/%
558	$(GNUCOPY) $< $@
559
560
561msi_sdk_template_files .PHONY :					\
562	$(MSISDKOOTEMPLATEDIR)					\
563	$(MSISDKOOTEMPLATEDIR)$/Binary				\
564	$(MSISDKOOTEMPLATEDIR)$/{$(MSI_SDK_TEMPLATE_FILES)}
565$(MSISDKOOTEMPLATEDIR) $(MSISDKOOTEMPLATEDIR)$/Binary :
566	-$(MKDIRHIER) $@
567$(MSISDKOOTEMPLATEDIR)/% : $(MSISDKOOTEMPLATESOURCE)$/%
568	$(GNUCOPY) $< $@
569
570
571# Local Variables:
572# tab-width: 8
573# End:
574