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