xref: /AOO41X/main/instsetoo_native/util/makefile.mk (revision 7b3c4f98df5dd586d2392213bce73a8b4f725d08)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
19cdf0e10cSrcweir#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
22cdf0e10cSrcweirPRJ=..
23cdf0e10cSrcweirPRJNAME=instsetoo_native
24cdf0e10cSrcweirTARGET=util
25cdf0e10cSrcweir
26cdf0e10cSrcweir.INCLUDE:  settings.mk
27cdf0e10cSrcweir.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
28f3c13b8dSJürgen Schmidt#.INCLUDE: $(SOLARENVINC)$/version.mk
29cdf0e10cSrcweir
30cdf0e10cSrcweir# watch for the path delimiter
31cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
32cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
33cdf0e10cSrcweir.ELSE           # "$(GUI)"=="WNT"
34cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
35cdf0e10cSrcweir.ENDIF          # "$(GUI)"=="WNT"
36cdf0e10cSrcweir.EXPORT: PYTHONPATH
37cdf0e10cSrcweir
38cdf0e10cSrcweir.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
39cdf0e10cSrcweirENABLE_DOWNLOADSETS*=TRUE
40cdf0e10cSrcweir.ENDIF          # "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
41cdf0e10cSrcweir.IF "$(FORCE_DOWNLOADSETS)"!=""
42cdf0e10cSrcweirENABLE_DOWNLOADSETS=TRUE
43cdf0e10cSrcweir.ENDIF          # "$(FORCE_DOWNLOADSETS)"!=""
44cdf0e10cSrcweir
45cdf0e10cSrcweir.EXPORT: ENABLE_DOWNLOADSETS
46cdf0e10cSrcweir.EXPORT: LAST_MINOR
47cdf0e10cSrcweir.EXPORT: PRJ
48cdf0e10cSrcweir.EXPORT: PRJNAME
49cdf0e10cSrcweir
50cdf0e10cSrcweir.IF "$(OS)"=="LINUX"
51cdf0e10cSrcweirDONT_REMOVE_PACKAGE:=TRUE
52cdf0e10cSrcweir.EXPORT: DONT_REMOVE_PACKAGE
53cdf0e10cSrcweir.ENDIF          # "$(OS)"=="LINUX"
54cdf0e10cSrcweir
55*f1593045SArrigo Marchiori.IF "$(OS)"=="MACOSX"
56*f1593045SArrigo Marchiori# $TMPDIR may be under /var, that may be a symbolic link and Perl may
57*f1593045SArrigo Marchiori# consider it unsafe
58*f1593045SArrigo MarchioriTMPDIR:=$(OUTDIR)/tmp
59*f1593045SArrigo Marchiori.EXPORT: TMPDIR
60*f1593045SArrigo Marchiori.ENDIF
61*f1593045SArrigo Marchiori
62cdf0e10cSrcweir.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
63cdf0e10cSrcweir
64cdf0e10cSrcweirSHARED_COM_SDK_PATH*:=.
65cdf0e10cSrcweir
66cdf0e10cSrcweirINSTALLDIR=$(OUT)
67cdf0e10cSrcweir
68cdf0e10cSrcweir.INCLUDE: target.mk
69cdf0e10cSrcweir
70f5a0c083SAndre Fischer.IF "$(FORCE2ARCHIVE)" == "TRUE"
71f5a0c083SAndre FischerPKGFORMAT = archive
72f5a0c083SAndre Fischer.END
73f5a0c083SAndre Fischer.IF "$(MAKETARGETS:e)"!=""
74f5a0c083SAndre FischerPKGFORMAT+=$(MAKETARGETS:e:s/.//)
75f5a0c083SAndre Fischer.ENDIF
76f5a0c083SAndre Fischer# PKGFORMAT may contain the standard package format twice at this time.
77f5a0c083SAndre Fischer# Provide its content with duplicates removed.
78f5a0c083SAndre FischerPACKAGE_FORMATS=$(uniq $(PKGFORMAT))
79f5a0c083SAndre Fischer
80f5a0c083SAndre Fischer
8132d4040dSAndre Fischer# The help target belongs after the inclusion of target.mk to not become the default target.
8232d4040dSAndre Fischerhelp .PHONY :
8332d4040dSAndre Fischer    @echo "known targets:"
8432d4040dSAndre Fischer    @echo "    openoffice             builds the default installation packages for the platform"
8532d4040dSAndre Fischer    @echo "    aoo_srcrelease         packs the source release package"
8632d4040dSAndre Fischer    @echo "    updatepack"
8732d4040dSAndre Fischer    @echo "    openofficedev          devloper snapshot"
8832d4040dSAndre Fischer    @echo "    openofficewithjre"
8932d4040dSAndre Fischer    @echo "    ooolanguagepack"
90f3c13b8dSJürgen Schmidt    @echo "    ooobetalanguagepack"
9132d4040dSAndre Fischer    @echo "    ooodevlanguagepack"
92f3c13b8dSJürgen Schmidt    @echo "    sdkoo                  builds the developer SDK package"
93f3c13b8dSJürgen Schmidt    @echo "    sdkoobeta              like sdkoo but with 'Beta' appended to the product name"
94f3c13b8dSJürgen Schmidt    @echo "    sdkoodev               builds the developer snapshot of the SDK"
95a29d375cSAndre Fischer    @echo "    openofficebeta         like openoffice but with 'Beta' appended to product name"
9632d4040dSAndre Fischer    @echo
979f91b7e3SAndre Fischer    @echo "experimental targets:"
98f5a0c083SAndre Fischer    @echo "    patch-create           create a patch for updating an installed office (Windows only)"
99f5a0c083SAndre Fischer    @echo "    patch-apply            apply a previously created patch"
100f5a0c083SAndre Fischer    @echo "    patch-update-releases-xml"
101677600b0SAndre Fischer    @echo "    patch-check            check if patch can be created (part of patch-create)"
1029f91b7e3SAndre Fischer    @echo
10332d4040dSAndre Fischer    @echo "Most targets (all except aoo_srcrelease and updatepack) accept suffixes"
104fdbb6be0SAndre Fischer    @echo "    append _<language> to build a target for one language only"
10532d4040dSAndre Fischer    @echo "        the default set of languages is alllangiso=$(alllangiso)"
106fdbb6be0SAndre Fischer    @echo "    append .<package_format> to build a target for one package format only"
10732d4040dSAndre Fischer    @echo "        the default set of package formats is archive and PKGFORMAT=$(PKGFORMAT)"
108fdbb6be0SAndre Fischer    @echo "        known package formats are: "
109fdbb6be0SAndre Fischer    @echo "        archive, bsd, deb, dmg, installed, msi, native, osx, pkg, portable, rpm"
11032d4040dSAndre Fischer
11132d4040dSAndre Fischer
112cdf0e10cSrcweirLOCALPYFILES=           \
113cdf0e10cSrcweir    $(BIN)$/uno.py      \
114cdf0e10cSrcweir    $(BIN)$/unohelper.py    \
115cdf0e10cSrcweir    $(BIN)$/pythonloader.py \
116cdf0e10cSrcweir    $(BIN)$/pythonscript.py \
117cdf0e10cSrcweir    $(BIN)$/officehelper.py \
118cdf0e10cSrcweir    $(BIN)$/mailmerge.py
119cdf0e10cSrcweir
120cdf0e10cSrcweirxxxx:
121cdf0e10cSrcweir    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
122cdf0e10cSrcweir
123cdf0e10cSrcweir.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
124cdf0e10cSrcweirALLTAR  : $(LOCALPYFILES)
125cdf0e10cSrcweir    @echo "No EPM: do no packaging at this stage"
126cdf0e10cSrcweir.ELSE           # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
127cdf0e10cSrcweir.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
128cdf0e10cSrcweir.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
129cdf0e10cSrcweirALLTAR : openoffice
130cdf0e10cSrcweir.ELSE
131910823aeSJürgen SchmidtALLTAR : openoffice sdkoo_en-US
132cdf0e10cSrcweir.ENDIF
133cdf0e10cSrcweir.ELSE           # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
134cdf0e10cSrcweirALLTAR : updatepack
135cdf0e10cSrcweir.ENDIF          # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
136cdf0e10cSrcweir.ENDIF          # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
137cdf0e10cSrcweir
138cdf0e10cSrcweir
139cdf0e10cSrcweir# Independent of PKGFORMAT, always build a default-language openoffice product
140cdf0e10cSrcweir# also in archive format, so that tests that require an OOo installation (like
141cdf0e10cSrcweir# smoketestoo_native) have one available:
14238d57702SAndre Fischeropenoffice_$(defaultlangiso) : $$@.archive
143cdf0e10cSrcweir
144cdf0e10cSrcweir.IF "$(VERBOSE)"=="TRUE"
145cdf0e10cSrcweirVERBOSESWITCH=-verbose
1463b45f81aSAriel Constenla-Haile.ELIF "$(VERBOSE)"=="FALSE"
147cdf0e10cSrcweirVERBOSESWITCH=-quiet
148cdf0e10cSrcweir.ENDIF
149cdf0e10cSrcweir
1504b7a009fSAndre Fischer.IF "$(release)"!=""
1519f91b7e3SAndre FischerRELEASE_SWITCH=-release
1529f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i.msi) : prepare_release_build
1539f91b7e3SAndre Fischer.ELSE
1549f91b7e3SAndre FischerRELEASE_SWITCH=
1559f91b7e3SAndre Fischer.ENDIF
1569f91b7e3SAndre Fischer
1579f91b7e3SAndre Fischerprepare_release_build .PHONY:
1589f91b7e3SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/release_prepare.pl    \
1599f91b7e3SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst     \
1609f91b7e3SAndre Fischer        --product-name Apache_OpenOffice        \
1619f91b7e3SAndre Fischer        --output-path $(OUT)                \
1629f91b7e3SAndre Fischer        $(alllangiso)
1639f91b7e3SAndre Fischer
1643b45f81aSAriel Constenla-Haile.IF "$(VERBOSE_INSTALLER)"=="TRUE"
1653b45f81aSAriel Constenla-HaileVERBOSESWITCH+=-log
1663b45f81aSAriel Constenla-Haile.ENDIF
1673b45f81aSAriel Constenla-Haile
168c81b3157SJürgen Schmidt# New target to prepare a source release
169c81b3157SJürgen SchmidtSRC_RELEASE_OUT_DIR=$(shell cd $(OUT) && pwd)$/AOO_SRC_Release
170c81b3157SJürgen Schmidt
171c81b3157SJürgen Schmidtaoo_srcrelease: $(SOLARENV)$/bin$/srcrelease.xml
1720c6d6194SJim Jagielski    $(PERL) -I$(SOLARENV)/bin/modules -e "use RepoRevision; print RepoRevision::DetectRevisionId(\"$(SRC_ROOT)\")" > $(SOLARENV)$/inc$/reporevision.lst
173c81b3157SJürgen Schmidt    @-$(MKDIR) $(OUT)$/AOO_SRC_Release
174c81b3157SJürgen Schmidt    $(ANT) -f $(SOLARENV)$/bin$/srcrelease.xml -q -Dbasedir=$(SOURCE_ROOT_DIR) -Dout.dir=$(SRC_RELEASE_OUT_DIR)
175c81b3157SJürgen Schmidt
176cdf0e10cSrcweirupdatepack:
177cdf0e10cSrcweir    $(PERL) -w $(SOLARENV)$/bin$/packager.pl
178cdf0e10cSrcweir
17938d57702SAndre Fischer
18038d57702SAndre Fischer
181677600b0SAndre Fischer.IF "$(alllangiso)"==""
182677600b0SAndre Fischeropenoffice:
183677600b0SAndre Fischer    @echo no languages specified => aborting packing
184677600b0SAndre Fischer
185677600b0SAndre Fischer.ELSE   # "$(alllangiso)"==""
186677600b0SAndre Fischer
187677600b0SAndre Fischer# The naming schema of targets is this: <target>_<language>.<package>
188677600b0SAndre Fischer# where <target> is the target base name (like openoffice or sdkoo)
189677600b0SAndre Fischer#       <language> is the language name (like en-US or fr)
190677600b0SAndre Fischer#       <package> is the package format (like archive, msi, deb, rpm, dmg)
191cdf0e10cSrcweir
19238d57702SAndre Fischer# Add dependencies of basic targets on language specific targets.
193cdf0e10cSrcweiropenoffice: $(foreach,i,$(alllangiso) openoffice_$i)
194cdf0e10cSrcweiropenofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
195f3c13b8dSJürgen Schmidtopenofficebeta: $(foreach,i,$(alllangiso) openofficebeta_$i)
196cdf0e10cSrcweiropenofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
197cdf0e10cSrcweirooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
198f3c13b8dSJürgen Schmidtooobetalanguagepack : $(foreach,i,$(alllangiso) ooobetalanguagepack_$i)
199cdf0e10cSrcweirooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
200cdf0e10cSrcweirsdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
201f3c13b8dSJürgen Schmidtsdkoobeta: $(foreach,i,$(alllangiso) sdkoobeta_$i)
202cdf0e10cSrcweirsdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
203f5a0c083SAndre Fischerpatch-create: $(foreach,i,$(alllangiso) patch-create_$i)
204cdf0e10cSrcweir
205cdf0e10cSrcweirMSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
206cdf0e10cSrcweirMSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
207cdf0e10cSrcweirMSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
208cdf0e10cSrcweir
209cdf0e10cSrcweirNOLOGOSPLASH:=$(BIN)$/intro.zip
210cdf0e10cSrcweirDEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
211a29d375cSAndre FischerBETA_LOGO_SPLASH:=$(BIN)$/beta$/intro.zip $(BIN)$/beta$/images.zip
212cdf0e10cSrcweirMSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
213cdf0e10cSrcweirMSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
214cdf0e10cSrcweirMSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
215cdf0e10cSrcweir
2169f91b7e3SAndre FischerADDDEPS=adddeps
2179f91b7e3SAndre Fischeradddeps .PHONY : $(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
218451f97f9SPedro Giffuni
219cdf0e10cSrcweir.IF "$(OS)" == "WNT"
2209f91b7e3SAndre Fischeradddeps : msitemplates
221cdf0e10cSrcweir.ENDIF
222cdf0e10cSrcweir
2239f91b7e3SAndre Fischer.IF "$(LOCALPYFILES)"!=""
2249f91b7e3SAndre Fischerlocal_python_files .PHONY : $(LOCALPYFILES)
2259f91b7e3SAndre Fischeradddeps : local_python_files
2269f91b7e3SAndre Fischerupdatepack : local_python_files
2279f91b7e3SAndre Fischer.ENDIF          # "$(LOCALPYFILES)"!=""
2289f91b7e3SAndre Fischer
22938d57702SAndre Fischer# Add dependencies on 'adddeps' where necessary.
23038d57702SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i) : adddeps
23138d57702SAndre Fischeropenoffice_$(defaultlangiso).archive : adddeps
23238d57702SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : adddeps
233f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : adddeps $(BETA_LOGO_SPLASH)
23438d57702SAndre Fischer$(foreach,i,$(alllangiso) openofficewithjre_$i) : adddeps
23538d57702SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : adddeps
236f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : adddeps
23738d57702SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : adddeps
23838d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : adddeps
239f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : adddeps
24038d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : adddeps
2419f91b7e3SAndre Fischer
24238d57702SAndre Fischer# Create targets that take the package formats into account.  Together with language dependency we
24338d57702SAndre Fischer# get this transformation: target -> target_$language -> target_$language.$package
24438d57702SAndre Fischer# where $language ranges over all languages in $(alllangiso)
24538d57702SAndre Fischer# and $package ranges over all package formats in $(PKGFORMAT)
246cdf0e10cSrcweir$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
2479f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
2489f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
249f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : $$@{$(PKGFORMAT:^".")}
2509f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
251f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2529f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2539f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
254f3c13b8dSJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : $$@{$(PKGFORMAT:^".")}
2559f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
256f5a0c083SAndre Fischer$(foreach,i,$(alllangiso) patch-create_$i) : $$@{$(PKGFORMAT:^".")}
257aa3f9146SAndre Fischer
258aa3f9146SAndre Fischer
259aa3f9146SAndre Fischer# This macro makes calling the make_installer.pl script a bit easier.
260aa3f9146SAndre Fischer# Just add -p and -msitemplate switches.
261aa3f9146SAndre FischerMAKE_INSTALLER_COMMAND=                 \
262dc914883SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
263aa3f9146SAndre Fischer        -f $(PRJ)$/util$/openoffice.lst     \
264aa3f9146SAndre Fischer        -l $(subst,$(@:s/_/ /:1)_, $(@:b))  \
265aa3f9146SAndre Fischer        -u $(OUT)               \
266aa3f9146SAndre Fischer        -buildid $(BUILD)           \
267aa3f9146SAndre Fischer        -msilanguage $(MISC)$/win_ulffiles  \
268aa3f9146SAndre Fischer        -format $(@:e:s/.//)            \
269aa3f9146SAndre Fischer        $(VERBOSESWITCH)
270aa3f9146SAndre Fischer
271aa3f9146SAndre Fischer# This macro makes calling gen_update_info.pl a bit easier
272aa3f9146SAndre Fischer# Just add --product switches, and xml input file and redirect output.
273aa3f9146SAndre FischerGEN_UPDATE_INFO_COMMAND=                    \
274dc914883SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl    \
275aa3f9146SAndre Fischer        --buildid $(BUILD)              \
276aa3f9146SAndre Fischer        --arch "$(RTL_ARCH)"                \
277aa3f9146SAndre Fischer        --os "$(RTL_OS)"                \
278aa3f9146SAndre Fischer        --lstfile $(PRJ)$/util$/openoffice.lst      \
279aa3f9146SAndre Fischer        --languages $(subst,$(@:s/_/ /:1)_, $(@:b))
280aa3f9146SAndre Fischer
28138d57702SAndre Fischer#openoffice_%{$(PKGFORMAT:^".")} :
28238d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openoffice_$L.$P)) .PHONY :
283dc914883SAndre Fischer    $(MAKE_INSTALLER_COMMAND)           \
284dc914883SAndre Fischer        -p Apache_OpenOffice            \
2859f91b7e3SAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)    \
2869f91b7e3SAndre Fischer        $(RELEASE_SWITCH)
287dc914883SAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)      \
288dc914883SAndre Fischer        --product Apache_OpenOffice \
289dc914883SAndre Fischer        $(PRJ)$/util$/update.xml    \
290dc914883SAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
291dc914883SAndre Fischer
29238d57702SAndre Fischer#openofficewithjre_%{$(PKGFORMAT:^".")} :
29338d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficewithjre_$L.$P)) .PHONY :
294aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_wJRE -msitemplate $(MSIOFFICETEMPLATEDIR)
295cdf0e10cSrcweir
29638d57702SAndre Fischer#openofficedev_%{$(PKGFORMAT:^".")} :
29738d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficedev_$L.$P)) .PHONY :
298aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND)       \
299aa3f9146SAndre Fischer        -p Apache_OpenOffice_Dev    \
300aa3f9146SAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)
301aa3f9146SAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)          \
302aa3f9146SAndre Fischer        --product Apache_OpenOffice_Dev     \
303aa3f9146SAndre Fischer        $(PRJ)$/util$/update.xml        \
304aa3f9146SAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
305cdf0e10cSrcweir
306f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficebeta_$L.$P)) .PHONY :
307a29d375cSAndre Fischer    $(MAKE_INSTALLER_COMMAND)       \
308a29d375cSAndre Fischer        -p Apache_OpenOffice_Beta   \
309a29d375cSAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)
310a29d375cSAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)          \
311a29d375cSAndre Fischer        --product Apache_OpenOffice_Beta    \
312a29d375cSAndre Fischer        $(PRJ)$/util$/update.xml        \
313a29d375cSAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
314a29d375cSAndre Fischer
31538d57702SAndre Fischer#ooolanguagepack_%{$(PKGFORMAT:^".")} :
31638d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooolanguagepack_$L.$P)) .PHONY :
317aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND)           \
318aa3f9146SAndre Fischer        -p Apache_OpenOffice            \
319aa3f9146SAndre Fischer        -msitemplate $(MSILANGPACKTEMPLATEDIR)  \
320aa3f9146SAndre Fischer        -languagepack
321cdf0e10cSrcweir
322f3c13b8dSJürgen Schmidt#ooobetalanguagepack_%{$(PKGFORMAT:^".")} :
323f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooobetalanguagepack_$L.$P)) .PHONY :
324f3c13b8dSJürgen Schmidt    $(MAKE_INSTALLER_COMMAND)           \
325f3c13b8dSJürgen Schmidt        -p Apache_OpenOffice_Beta           \
326f3c13b8dSJürgen Schmidt        -msitemplate $(MSILANGPACKTEMPLATEDIR)  \
327f3c13b8dSJürgen Schmidt        -languagepack
328f3c13b8dSJürgen Schmidt
32938d57702SAndre Fischer#ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
33038d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooodevlanguagepack_$L.$P)) .PHONY :
331aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack
332cdf0e10cSrcweir
33338d57702SAndre Fischer#sdkoo_%{$(PKGFORMAT:^".")} :
33438d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoo_$L.$P)) .PHONY :
335aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
336cdf0e10cSrcweir
337f3c13b8dSJürgen Schmidt#sdkoobeta_%{$(PKGFORMAT:^".")} :
338f3c13b8dSJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoobeta_$L.$P)) .PHONY :
339f3c13b8dSJürgen Schmidt    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Beta_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
340f3c13b8dSJürgen Schmidt
34138d57702SAndre Fischer#sdkoodev_%{$(PKGFORMAT:^".")} :
34238d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoodev_$L.$P)) .PHONY :
343aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
344cdf0e10cSrcweir
345677600b0SAndre Fischer.ENDIF  # "$(alllangiso)"==""
346cdf0e10cSrcweir
347cdf0e10cSrcweir$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
3489f91b7e3SAndre Fischer    $(COPY) $< $@
349cdf0e10cSrcweir
350910823aeSJürgen Schmidt$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
351cdf0e10cSrcweir    $(COPY) $< $@
352cdf0e10cSrcweir
353910823aeSJürgen Schmidt$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
354cdf0e10cSrcweir    @-$(MKDIR) $(@:d)
355cdf0e10cSrcweir    $(COPY) $< $@
356cdf0e10cSrcweir
357a29d375cSAndre Fischer$(BIN)$/beta$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_beta$/intro.zip
358a29d375cSAndre Fischer    @-$(MKDIR) $(@:d)
359a29d375cSAndre Fischer    $(COPY) $< $@
360a29d375cSAndre Fischer
361a29d375cSAndre Fischer# Replace framework/res/*.png with *-beta.png
362f3c13b8dSJürgen Schmidt$(BIN)$/beta$/images.zip : $(SOLARBINDIR)$/images.zip
363a29d375cSAndre Fischer    $(COPY) $< $@
364f3c13b8dSJürgen Schmidt    $(PERL) $(SOLARENV)$/bin/replace_in_zip.pl  \
365a29d375cSAndre Fischer        $@              \
366a29d375cSAndre Fischer        framework/res/          \
367a29d375cSAndre Fischer        $(SRC_ROOT)/default_images/framework/res/beta/  \
368a29d375cSAndre Fischer        backing.png         \
369a29d375cSAndre Fischer        backing_hc.png          \
370a29d375cSAndre Fischer        backing_rtl_left.png        \
371a29d375cSAndre Fischer        backing_rtl_left_hc.png
3729f91b7e3SAndre Fischer
3739f91b7e3SAndre Fischer.IF "$(OS)" == "WNT"
374f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
375f5a0c083SAndre Fischer    @echo building $@
376f3c13b8dSJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
377d575d58fSAndre Fischer        create                              \
3789f91b7e3SAndre Fischer        --product-name Apache_OpenOffice                \
3799f91b7e3SAndre Fischer        --output-path $(OUT)                        \
3809f91b7e3SAndre Fischer        --data-path $(PRJ)$/data                    \
381f5a0c083SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
382f5a0c083SAndre Fischer        --language $(subst,$(@:s/_/ /:1)_, $(@:b))          \
383f5a0c083SAndre Fischer        --package-format $(@:e:s/.//)
384f5a0c083SAndre Fischerpatch-apply .PHONY :
385f3c13b8dSJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
386d575d58fSAndre Fischer        apply                               \
387d575d58fSAndre Fischer        --product-name Apache_OpenOffice                \
388d575d58fSAndre Fischer        --output-path $(OUT)                        \
389f5a0c083SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
390f5a0c083SAndre Fischer        --language en-US                        \
391f5a0c083SAndre Fischer        --package-format msi
392f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
393f3c13b8dSJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
394d575d58fSAndre Fischer        update-releases-xml                     \
395d575d58fSAndre Fischer        --product-name Apache_OpenOffice                \
396d575d58fSAndre Fischer        --output-path $(OUT)                        \
397d575d58fSAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst\
398d575d58fSAndre Fischer        --target-version 4.0.1
399677600b0SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-check_$L.$P)) .PHONY :
400677600b0SAndre Fischer    @echo building $@
401f3c13b8dSJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
402677600b0SAndre Fischer        check                               \
403677600b0SAndre Fischer        --product-name Apache_OpenOffice                \
404677600b0SAndre Fischer        --output-path $(OUT)                        \
405677600b0SAndre Fischer        --data-path $(PRJ)$/data                    \
406677600b0SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
407677600b0SAndre Fischer        --language $(subst,$(@:s/_/ /:1)_, $(@:b))          \
408677600b0SAndre Fischer        --package-format $(@:e:s/.//)
4099f91b7e3SAndre Fischer
4109f91b7e3SAndre Fischer$(PRJ)$/data :
4119f91b7e3SAndre Fischer    mkdir $@
4129f91b7e3SAndre Fischer.ELSE
413f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
414f5a0c083SAndre Fischer    @echo "patches can only be created on Windows at the moment"
415f5a0c083SAndre Fischerpatch-apply .PHONY :
416f5a0c083SAndre Fischer    @echo "patches can only be created on Windows at the moment"
417f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
4189f91b7e3SAndre Fischer    @echo "patches can only be created on Windows at the moment"
4199f91b7e3SAndre Fischer.ENDIF
4209f91b7e3SAndre Fischer
4219f91b7e3SAndre Fischer
422b6dfe6c8SAndre Fischermsitemplates .PHONY: msi_template_files msi_langpack_template_files msi_sdk_template_files
4237a3dfa40SAndre Fischer
4247a3dfa40SAndre FischerMSI_OFFICE_TEMPLATE_FILES=      \
4257a3dfa40SAndre Fischer    ActionTe.idt            \
4267a3dfa40SAndre Fischer    AdminExe.idt            \
4277a3dfa40SAndre Fischer    AdminUIS.idt            \
4287a3dfa40SAndre Fischer    AdvtExec.idt            \
4297a3dfa40SAndre Fischer    AppSearc.idt            \
4307a3dfa40SAndre Fischer    Binary.idt          \
4317a3dfa40SAndre Fischer    CheckBox.idt            \
4327a3dfa40SAndre Fischer    Control.idt         \
4337a3dfa40SAndre Fischer    ControlC.idt            \
4347a3dfa40SAndre Fischer    ControlE.idt            \
4357a3dfa40SAndre Fischer    CustomAc.idt            \
4367a3dfa40SAndre Fischer    Dialog.idt          \
4377a3dfa40SAndre Fischer    Error.idt           \
4387a3dfa40SAndre Fischer    EventMap.idt            \
4397a3dfa40SAndre Fischer    InstallE.idt            \
4407a3dfa40SAndre Fischer    InstallU.idt            \
4417a3dfa40SAndre Fischer    LaunchCo.idt            \
4427a3dfa40SAndre Fischer    ListBox.idt         \
4437a3dfa40SAndre Fischer    Property.idt            \
4447a3dfa40SAndre Fischer    RadioBut.idt            \
4457a3dfa40SAndre Fischer    RegLocat.idt            \
4467a3dfa40SAndre Fischer    Signatur.idt            \
4477a3dfa40SAndre Fischer    TextStyl.idt            \
4487a3dfa40SAndre Fischer    UIText.idt          \
4497a3dfa40SAndre Fischer    _Validat.idt            \
4507a3dfa40SAndre Fischer    codes.txt           \
4517a3dfa40SAndre Fischer    codes_broo.txt          \
4527a3dfa40SAndre Fischer    codes_broodev.txt       \
4537a3dfa40SAndre Fischer    codes_ooodev.txt        \
4547a3dfa40SAndre Fischer    components.txt          \
4557a3dfa40SAndre Fischer    upgradecode_remove_ooo.txt  \
4567a3dfa40SAndre Fischer    Binary/Banner.bmp       \
4577a3dfa40SAndre Fischer    Binary/Image.bmp        \
4587a3dfa40SAndre Fischer    Binary/caution.ico      \
4597a3dfa40SAndre Fischer    Binary/dontinstall.ico      \
4607a3dfa40SAndre Fischer    Binary/install.ico      \
4617a3dfa40SAndre Fischer    Binary/installfirstuse.ico  \
4627a3dfa40SAndre Fischer    Binary/installpartial.ico   \
4637a3dfa40SAndre Fischer    Binary/installstatemenu.ico \
4647a3dfa40SAndre Fischer    Binary/networkinstall.ico   \
4657a3dfa40SAndre Fischer    Binary/newfolder.ico        \
4667a3dfa40SAndre Fischer    Binary/openfolder.ico       \
4677a3dfa40SAndre Fischer    Binary/setup.ico        \
4687a3dfa40SAndre Fischer    Binary/setupcomplete.ico    \
4697a3dfa40SAndre Fischer    Binary/setuppartial.ico     \
4707a3dfa40SAndre Fischer    Binary/setuprepair.ico      \
4717a3dfa40SAndre Fischer    Binary/trashcan.ico     \
4727a3dfa40SAndre Fischer    Binary/up.ico
4737a3dfa40SAndre Fischer
4747a3dfa40SAndre FischerMSI_LANGPACK_TEMPLATE_FILES=        \
4757a3dfa40SAndre Fischer    ActionTe.idt            \
4767a3dfa40SAndre Fischer    AdminExe.idt            \
4777a3dfa40SAndre Fischer    AdminUIS.idt            \
4787a3dfa40SAndre Fischer    AdvtExec.idt            \
4797a3dfa40SAndre Fischer    Binary.idt          \
4807a3dfa40SAndre Fischer    CheckBox.idt            \
4817a3dfa40SAndre Fischer    Control.idt         \
4827a3dfa40SAndre Fischer    ControlC.idt            \
4837a3dfa40SAndre Fischer    ControlE.idt            \
4847a3dfa40SAndre Fischer    CustomAc.idt            \
4857a3dfa40SAndre Fischer    Dialog.idt          \
4867a3dfa40SAndre Fischer    Error.idt           \
4877a3dfa40SAndre Fischer    EventMap.idt            \
4887a3dfa40SAndre Fischer    InstallE.idt            \
4897a3dfa40SAndre Fischer    InstallU.idt            \
4907a3dfa40SAndre Fischer    LaunchCo.idt            \
4917a3dfa40SAndre Fischer    ListBox.idt         \
4927a3dfa40SAndre Fischer    Property.idt            \
4937a3dfa40SAndre Fischer    RadioBut.idt            \
4947a3dfa40SAndre Fischer    TextStyl.idt            \
4957a3dfa40SAndre Fischer    UIText.idt          \
4967a3dfa40SAndre Fischer    _Validat.idt            \
4977a3dfa40SAndre Fischer    bro_patchcodes.txt      \
4987a3dfa40SAndre Fischer    brodev_patchcodes.txt       \
4997a3dfa40SAndre Fischer    codes.txt           \
5007a3dfa40SAndre Fischer    codes_broo.txt          \
5017a3dfa40SAndre Fischer    codes_ooodev.txt        \
5027a3dfa40SAndre Fischer    components.txt          \
5037a3dfa40SAndre Fischer    ooo_patchcodes.txt      \
5047a3dfa40SAndre Fischer    ooodev_patchcodes.txt       \
50504be0b07SAndre Fischer    Binary/Banner.bmp       \
50604be0b07SAndre Fischer    Binary/Image.bmp        \
50704be0b07SAndre Fischer    Binary/caution.ico      \
50804be0b07SAndre Fischer    Binary/dontinstall.ico      \
50904be0b07SAndre Fischer    Binary/install.ico      \
51004be0b07SAndre Fischer    Binary/installfirstuse.ico  \
51104be0b07SAndre Fischer    Binary/installpartial.ico   \
51204be0b07SAndre Fischer    Binary/installstatemenu.ico \
51304be0b07SAndre Fischer    Binary/networkinstall.ico   \
51404be0b07SAndre Fischer    Binary/newfolder.ico        \
51504be0b07SAndre Fischer    Binary/openfolder.ico       \
51604be0b07SAndre Fischer    Binary/setup.ico        \
51704be0b07SAndre Fischer    Binary/setupcomplete.ico    \
51804be0b07SAndre Fischer    Binary/setuppartial.ico     \
51904be0b07SAndre Fischer    Binary/setuprepair.ico      \
52004be0b07SAndre Fischer    Binary/trashcan.ico     \
52104be0b07SAndre Fischer    Binary/up.ico
5227a3dfa40SAndre Fischer
5237a3dfa40SAndre FischerMSI_SDK_TEMPLATE_FILES=         \
5247a3dfa40SAndre Fischer    ActionTe.idt            \
5257a3dfa40SAndre Fischer    AdminExe.idt            \
5267a3dfa40SAndre Fischer    AdminUIS.idt            \
5277a3dfa40SAndre Fischer    AdvtExec.idt            \
5287a3dfa40SAndre Fischer    AppSearc.idt            \
5297a3dfa40SAndre Fischer    Binary.idt          \
5307a3dfa40SAndre Fischer    CheckBox.idt            \
5317a3dfa40SAndre Fischer    Control.idt         \
5327a3dfa40SAndre Fischer    ControlC.idt            \
5337a3dfa40SAndre Fischer    ControlE.idt            \
5347a3dfa40SAndre Fischer    CustomAc.idt            \
5357a3dfa40SAndre Fischer    Dialog.idt          \
5367a3dfa40SAndre Fischer    Error.idt           \
5377a3dfa40SAndre Fischer    EventMap.idt            \
5387a3dfa40SAndre Fischer    InstallE.idt            \
5397a3dfa40SAndre Fischer    InstallU.idt            \
5407a3dfa40SAndre Fischer    LaunchCo.idt            \
5417a3dfa40SAndre Fischer    ListBox.idt         \
5427a3dfa40SAndre Fischer    Property.idt            \
5437a3dfa40SAndre Fischer    RadioBut.idt            \
5447a3dfa40SAndre Fischer    RegLocat.idt            \
5457a3dfa40SAndre Fischer    Signatur.idt            \
5467a3dfa40SAndre Fischer    TextStyl.idt            \
5477a3dfa40SAndre Fischer    UIText.idt          \
5487a3dfa40SAndre Fischer    _Validat.idt            \
5497a3dfa40SAndre Fischer    codes.txt           \
5507a3dfa40SAndre Fischer    components.txt          \
5517a3dfa40SAndre Fischer    Binary/Banner.bmp       \
5527a3dfa40SAndre Fischer    Binary/Image.bmp        \
5537a3dfa40SAndre Fischer    Binary/caution.ico      \
5547a3dfa40SAndre Fischer    Binary/dontinstall.ico      \
5557a3dfa40SAndre Fischer    Binary/install.ico      \
5567a3dfa40SAndre Fischer    Binary/installfirstuse.ico  \
5577a3dfa40SAndre Fischer    Binary/installpartial.ico   \
5587a3dfa40SAndre Fischer    Binary/installstatemenu.ico \
5597a3dfa40SAndre Fischer    Binary/networkinstall.ico   \
5607a3dfa40SAndre Fischer    Binary/newfolder.ico        \
5617a3dfa40SAndre Fischer    Binary/openfolder.ico       \
5627a3dfa40SAndre Fischer    Binary/setup.ico        \
5637a3dfa40SAndre Fischer    Binary/setupcomplete.ico    \
5647a3dfa40SAndre Fischer    Binary/setuppartial.ico     \
5657a3dfa40SAndre Fischer    Binary/setuprepair.ico      \
5667a3dfa40SAndre Fischer    Binary/trashcan.ico     \
5677a3dfa40SAndre Fischer    Binary/up.ico
5687a3dfa40SAndre Fischer
5697a3dfa40SAndre Fischermsi_template_files .PHONY:                  \
5707a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)                 \
5717a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)$/Binary             \
5727a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)$/{$(MSI_OFFICE_TEMPLATE_FILES)}
5737a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR) $(MSIOFFICETEMPLATEDIR)$/Binary :
5747a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5757a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR)$/% : $(MSIOFFICETEMPLATESOURCE)$/%
5767a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
5777a3dfa40SAndre Fischer
5787a3dfa40SAndre Fischermsi_langpack_template_files .PHONY :                \
5797a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)               \
5807a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)$/Binary           \
5817a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)$/{$(MSI_LANGPACK_TEMPLATE_FILES)}
5827a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR) $(MSILANGPACKTEMPLATEDIR)$/Binary  :
5837a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5847a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR)$/% : $(MSILANGPACKTEMPLATESOURCE)$/%
5857a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
586cdf0e10cSrcweir
587cdf0e10cSrcweir
5887a3dfa40SAndre Fischermsi_sdk_template_files .PHONY :                 \
5897a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)                  \
5907a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)$/Binary              \
5917a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)$/{$(MSI_SDK_TEMPLATE_FILES)}
5927a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR) $(MSISDKOOTEMPLATEDIR)$/Binary :
5937a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5947a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR)/% : $(MSISDKOOTEMPLATESOURCE)$/%
5957a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
5969f91b7e3SAndre Fischer
5979f91b7e3SAndre Fischer
5989f91b7e3SAndre Fischer# Local Variables:
5999f91b7e3SAndre Fischer# tab-width: 8
6009f91b7e3SAndre Fischer# End:
601