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