xref: /trunk/main/instsetoo_native/util/makefile.mk (revision 41deec9fbf385ebd2ff21199e9eb3301a269d33d)
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
2255a8773fSMatthias Seidel
2355a8773fSMatthias Seidel
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweirPRJNAME=instsetoo_native
26cdf0e10cSrcweirTARGET=util
27cdf0e10cSrcweir
28cdf0e10cSrcweir.INCLUDE: settings.mk
29cdf0e10cSrcweir.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
3043cf7aa4SJürgen Schmidt#.INCLUDE: $(SOLARENVINC)$/version.mk
31cdf0e10cSrcweir
32cdf0e10cSrcweir# watch for the path delimiter
33cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
34cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
35cdf0e10cSrcweir.ELSE           # "$(GUI)"=="WNT"
36cdf0e10cSrcweirPYTHONPATH:=$(PWD)$/$(BIN):$(SOLARLIBDIR):$(SOLARLIBDIR)$/python:$(SOLARLIBDIR)$/python$/lib-dynload
37cdf0e10cSrcweir.ENDIF          # "$(GUI)"=="WNT"
38cdf0e10cSrcweir.EXPORT: PYTHONPATH
39cdf0e10cSrcweir
40cdf0e10cSrcweir.IF "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
41cdf0e10cSrcweirENABLE_DOWNLOADSETS*=TRUE
42cdf0e10cSrcweir.ENDIF          # "$(CWS_WORK_STAMP)"=="" || "$(UPDATER)"!=""
43cdf0e10cSrcweir.IF "$(FORCE_DOWNLOADSETS)"!=""
44cdf0e10cSrcweirENABLE_DOWNLOADSETS=TRUE
45cdf0e10cSrcweir.ENDIF          # "$(FORCE_DOWNLOADSETS)"!=""
46cdf0e10cSrcweir
47cdf0e10cSrcweir.EXPORT: ENABLE_DOWNLOADSETS
48cdf0e10cSrcweir.EXPORT: LAST_MINOR
49cdf0e10cSrcweir.EXPORT: PRJ
50cdf0e10cSrcweir.EXPORT: PRJNAME
51cdf0e10cSrcweir
52cdf0e10cSrcweir.IF "$(OS)"=="LINUX"
53cdf0e10cSrcweirDONT_REMOVE_PACKAGE:=TRUE
54cdf0e10cSrcweir.EXPORT: DONT_REMOVE_PACKAGE
55cdf0e10cSrcweir.ENDIF          # "$(OS)"=="LINUX"
56cdf0e10cSrcweir
57cdf0e10cSrcweir.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
58cdf0e10cSrcweir
59cdf0e10cSrcweirSHARED_COM_SDK_PATH*:=.
60cdf0e10cSrcweir
61cdf0e10cSrcweirINSTALLDIR=$(OUT)
62cdf0e10cSrcweir
63cdf0e10cSrcweir.INCLUDE: target.mk
64cdf0e10cSrcweir
65f5a0c083SAndre Fischer.IF "$(FORCE2ARCHIVE)" == "TRUE"
66f5a0c083SAndre FischerPKGFORMAT = archive
67f5a0c083SAndre Fischer.END
68f5a0c083SAndre Fischer.IF "$(MAKETARGETS:e)"!=""
69f5a0c083SAndre FischerPKGFORMAT+=$(MAKETARGETS:e:s/.//)
70f5a0c083SAndre Fischer.ENDIF
71f5a0c083SAndre Fischer# PKGFORMAT may contain the standard package format twice at this time.
72f5a0c083SAndre Fischer# Provide its content with duplicates removed.
73f5a0c083SAndre FischerPACKAGE_FORMATS=$(uniq $(PKGFORMAT))
74f5a0c083SAndre Fischer
75f5a0c083SAndre Fischer
7632d4040dSAndre Fischer# The help target belongs after the inclusion of target.mk to not become the default target.
7732d4040dSAndre Fischerhelp .PHONY :
7832d4040dSAndre Fischer    @echo "known targets:"
7932d4040dSAndre Fischer    @echo "    openoffice             builds the default installation packages for the platform"
8032d4040dSAndre Fischer    @echo "    aoo_srcrelease         packs the source release package"
8132d4040dSAndre Fischer    @echo "    updatepack"
8255a8773fSMatthias Seidel    @echo "    openofficedev          developer snapshot"
8332d4040dSAndre Fischer    @echo "    ooolanguagepack"
8443cf7aa4SJürgen Schmidt    @echo "    ooobetalanguagepack"
8532d4040dSAndre Fischer    @echo "    ooodevlanguagepack"
8643cf7aa4SJürgen Schmidt    @echo "    sdkoo                  builds the developer SDK package"
8743cf7aa4SJürgen Schmidt    @echo "    sdkoobeta              like sdkoo but with 'Beta' appended to the product name"
8843cf7aa4SJürgen Schmidt    @echo "    sdkoodev               builds the developer snapshot of the SDK"
89bf28f449SAndre Fischer    @echo "    openofficebeta         like openoffice but with 'Beta' appended to product name"
9032d4040dSAndre Fischer    @echo
919f91b7e3SAndre Fischer    @echo "experimental targets:"
92f5a0c083SAndre Fischer    @echo "    patch-create           create a patch for updating an installed office (Windows only)"
93f5a0c083SAndre Fischer    @echo "    patch-apply            apply a previously created patch"
94f5a0c083SAndre Fischer    @echo "    patch-update-releases-xml"
95677600b0SAndre Fischer    @echo "    patch-check            check if patch can be created (part of patch-create)"
969f91b7e3SAndre Fischer    @echo
9732d4040dSAndre Fischer    @echo "Most targets (all except aoo_srcrelease and updatepack) accept suffixes"
98fdbb6be0SAndre Fischer    @echo "    append _<language> to build a target for one language only"
9932d4040dSAndre Fischer    @echo "        the default set of languages is alllangiso=$(alllangiso)"
100fdbb6be0SAndre Fischer    @echo "    append .<package_format> to build a target for one package format only"
10132d4040dSAndre Fischer    @echo "        the default set of package formats is archive and PKGFORMAT=$(PKGFORMAT)"
102fdbb6be0SAndre Fischer    @echo "        known package formats are: "
103fdbb6be0SAndre Fischer    @echo "        archive, bsd, deb, dmg, installed, msi, native, osx, pkg, portable, rpm"
10432d4040dSAndre Fischer
10532d4040dSAndre Fischer
106cdf0e10cSrcweirLOCALPYFILES=           \
107cdf0e10cSrcweir    $(BIN)$/uno.py      \
108cdf0e10cSrcweir    $(BIN)$/unohelper.py    \
109cdf0e10cSrcweir    $(BIN)$/pythonloader.py \
110cdf0e10cSrcweir    $(BIN)$/pythonscript.py \
111cdf0e10cSrcweir    $(BIN)$/officehelper.py \
112cdf0e10cSrcweir    $(BIN)$/mailmerge.py
113cdf0e10cSrcweir
114cdf0e10cSrcweirxxxx:
115cdf0e10cSrcweir    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
116cdf0e10cSrcweir
117cdf0e10cSrcweir.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
118cdf0e10cSrcweirALLTAR : $(LOCALPYFILES)
119cdf0e10cSrcweir    @echo "No EPM: do no packaging at this stage"
120cdf0e10cSrcweir.ELSE           # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
121cdf0e10cSrcweir.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
122cdf0e10cSrcweir.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
123cdf0e10cSrcweirALLTAR : openoffice
124cdf0e10cSrcweir.ELSE
125910823aeSJürgen SchmidtALLTAR : openoffice sdkoo_en-US
126cdf0e10cSrcweir.ENDIF
127cdf0e10cSrcweir.ELSE           # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
128cdf0e10cSrcweirALLTAR : updatepack
129cdf0e10cSrcweir.ENDIF          # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
130cdf0e10cSrcweir.ENDIF          # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
131cdf0e10cSrcweir
132cdf0e10cSrcweir
133cdf0e10cSrcweir# Independent of PKGFORMAT, always build a default-language openoffice product
13455a8773fSMatthias Seidel# also in archive format, so that tests that require an AOO installation (like
135cdf0e10cSrcweir# smoketestoo_native) have one available:
13638d57702SAndre Fischeropenoffice_$(defaultlangiso) : $$@.archive
137cdf0e10cSrcweir
138cdf0e10cSrcweir.IF "$(VERBOSE)"=="TRUE"
139cdf0e10cSrcweirVERBOSESWITCH=-verbose
1403b45f81aSAriel Constenla-Haile.ELIF "$(VERBOSE)"=="FALSE"
141cdf0e10cSrcweirVERBOSESWITCH=-quiet
142cdf0e10cSrcweir.ENDIF
143cdf0e10cSrcweir
1444b7a009fSAndre Fischer.IF "$(release)"!=""
1459f91b7e3SAndre FischerRELEASE_SWITCH=-release
1469f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i.msi) : prepare_release_build
1479f91b7e3SAndre Fischer.ELSE
1489f91b7e3SAndre FischerRELEASE_SWITCH=
1499f91b7e3SAndre Fischer.ENDIF
1509f91b7e3SAndre Fischer
1519f91b7e3SAndre Fischerprepare_release_build .PHONY:
1529f91b7e3SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/release_prepare.pl    \
1539f91b7e3SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst     \
1549f91b7e3SAndre Fischer        --product-name Apache_OpenOffice        \
1559f91b7e3SAndre Fischer        --output-path $(OUT)                \
1569f91b7e3SAndre Fischer        $(alllangiso)
1579f91b7e3SAndre Fischer
1583b45f81aSAriel Constenla-Haile.IF "$(VERBOSE_INSTALLER)"=="TRUE"
1593b45f81aSAriel Constenla-HaileVERBOSESWITCH+=-log
1603b45f81aSAriel Constenla-Haile.ENDIF
1613b45f81aSAriel Constenla-Haile
162c81b3157SJürgen Schmidt# New target to prepare a source release
163c81b3157SJürgen SchmidtSRC_RELEASE_OUT_DIR=$(shell cd $(OUT) && pwd)$/AOO_SRC_Release
164c81b3157SJürgen Schmidt
165c81b3157SJürgen Schmidtaoo_srcrelease: $(SOLARENV)$/bin$/srcrelease.xml
16627a447d8SJim Jagielski    $(PERL) -I$(SOLARENV)/bin/modules -e "use RepoRevision; print RepoRevision::DetectRevisionId(\"$(SRC_ROOT)\")" > $(SOLARENV)$/inc$/reporevision.lst
167c81b3157SJürgen Schmidt    @-$(MKDIR) $(OUT)$/AOO_SRC_Release
168c81b3157SJürgen Schmidt    $(ANT) -f $(SOLARENV)$/bin$/srcrelease.xml -q -Dbasedir=$(SOURCE_ROOT_DIR) -Dout.dir=$(SRC_RELEASE_OUT_DIR)
169c81b3157SJürgen Schmidt
170cdf0e10cSrcweirupdatepack:
171cdf0e10cSrcweir    $(PERL) -w $(SOLARENV)$/bin$/packager.pl
172cdf0e10cSrcweir
17338d57702SAndre Fischer
17438d57702SAndre Fischer
175677600b0SAndre Fischer.IF "$(alllangiso)"==""
176677600b0SAndre Fischeropenoffice:
177677600b0SAndre Fischer    @echo no languages specified => aborting packing
178677600b0SAndre Fischer
179677600b0SAndre Fischer.ELSE   # "$(alllangiso)"==""
180677600b0SAndre Fischer
181677600b0SAndre Fischer# The naming schema of targets is this: <target>_<language>.<package>
182677600b0SAndre Fischer# where <target> is the target base name (like openoffice or sdkoo)
183677600b0SAndre Fischer#       <language> is the language name (like en-US or fr)
184677600b0SAndre Fischer#       <package> is the package format (like archive, msi, deb, rpm, dmg)
185cdf0e10cSrcweir
18638d57702SAndre Fischer# Add dependencies of basic targets on language specific targets.
187cdf0e10cSrcweiropenoffice: $(foreach,i,$(alllangiso) openoffice_$i)
188cdf0e10cSrcweiropenofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
18943cf7aa4SJürgen Schmidtopenofficebeta: $(foreach,i,$(alllangiso) openofficebeta_$i)
190cdf0e10cSrcweirooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
19143cf7aa4SJürgen Schmidtooobetalanguagepack : $(foreach,i,$(alllangiso) ooobetalanguagepack_$i)
192cdf0e10cSrcweirooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
193cdf0e10cSrcweirsdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
19443cf7aa4SJürgen Schmidtsdkoobeta: $(foreach,i,$(alllangiso) sdkoobeta_$i)
195cdf0e10cSrcweirsdkoodev: $(foreach,i,$(alllangiso) sdkoodev_$i)
196f5a0c083SAndre Fischerpatch-create: $(foreach,i,$(alllangiso) patch-create_$i)
197cdf0e10cSrcweir
198cdf0e10cSrcweirMSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
199cdf0e10cSrcweirMSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
200cdf0e10cSrcweirMSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
201cdf0e10cSrcweir
202cdf0e10cSrcweirNOLOGOSPLASH:=$(BIN)$/intro.zip
20355a8773fSMatthias SeidelDEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip $(BIN)$/dev$/images.zip
204bf28f449SAndre FischerBETA_LOGO_SPLASH:=$(BIN)$/beta$/intro.zip $(BIN)$/beta$/images.zip
205cdf0e10cSrcweirMSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
206cdf0e10cSrcweirMSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
207cdf0e10cSrcweirMSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
208cdf0e10cSrcweir
2099f91b7e3SAndre FischerADDDEPS=adddeps
2109f91b7e3SAndre Fischeradddeps .PHONY : $(NOLOGOSPLASH) $(DEVNOLOGOSPLASH)
211451f97f9SPedro Giffuni
212cdf0e10cSrcweir.IF "$(OS)" == "WNT"
2139f91b7e3SAndre Fischeradddeps : msitemplates
214cdf0e10cSrcweir.ENDIF
215cdf0e10cSrcweir
2169f91b7e3SAndre Fischer.IF "$(LOCALPYFILES)"!=""
2179f91b7e3SAndre Fischerlocal_python_files .PHONY : $(LOCALPYFILES)
2189f91b7e3SAndre Fischeradddeps : local_python_files
2199f91b7e3SAndre Fischerupdatepack : local_python_files
2209f91b7e3SAndre Fischer.ENDIF          # "$(LOCALPYFILES)"!=""
2219f91b7e3SAndre Fischer
22238d57702SAndre Fischer# Add dependencies on 'adddeps' where necessary.
22338d57702SAndre Fischer$(foreach,i,$(alllangiso) openoffice_$i) : adddeps
22438d57702SAndre Fischeropenoffice_$(defaultlangiso).archive : adddeps
22538d57702SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : adddeps
22643cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : adddeps $(BETA_LOGO_SPLASH)
22738d57702SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : adddeps
22843cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : adddeps
22938d57702SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : adddeps
23038d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : adddeps
23143cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : adddeps
23238d57702SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : adddeps
2339f91b7e3SAndre Fischer
23438d57702SAndre Fischer# Create targets that take the package formats into account. Together with language dependency we
23538d57702SAndre Fischer# get this transformation: target -> target_$language -> target_$language.$package
23638d57702SAndre Fischer# where $language ranges over all languages in $(alllangiso)
23738d57702SAndre Fischer# and $package ranges over all package formats in $(PKGFORMAT)
238cdf0e10cSrcweir$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
2399f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
24043cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) openofficebeta_$i) : $$@{$(PKGFORMAT:^".")}
2419f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
24243cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) ooobetalanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2439f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
2449f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
24543cf7aa4SJürgen Schmidt$(foreach,i,$(alllangiso) sdkoobeta_$i) : $$@{$(PKGFORMAT:^".")}
2469f91b7e3SAndre Fischer$(foreach,i,$(alllangiso) sdkoodev_$i) : $$@{$(PKGFORMAT:^".")}
247f5a0c083SAndre Fischer$(foreach,i,$(alllangiso) patch-create_$i) : $$@{$(PKGFORMAT:^".")}
248aa3f9146SAndre Fischer
249aa3f9146SAndre Fischer
250aa3f9146SAndre Fischer# This macro makes calling the make_installer.pl script a bit easier.
251aa3f9146SAndre Fischer# Just add -p and -msitemplate switches.
252aa3f9146SAndre FischerMAKE_INSTALLER_COMMAND=                 \
253dc914883SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl \
254aa3f9146SAndre Fischer        -f $(PRJ)$/util$/openoffice.lst     \
255aa3f9146SAndre Fischer        -l $(subst,$(@:s/_/ /:1)_, $(@:b))  \
256aa3f9146SAndre Fischer        -u $(OUT)               \
257aa3f9146SAndre Fischer        -buildid $(BUILD)           \
258aa3f9146SAndre Fischer        -msilanguage $(MISC)$/win_ulffiles  \
259aa3f9146SAndre Fischer        -format $(@:e:s/.//)            \
260aa3f9146SAndre Fischer        $(VERBOSESWITCH)
261aa3f9146SAndre Fischer
262aa3f9146SAndre Fischer# This macro makes calling gen_update_info.pl a bit easier
263aa3f9146SAndre Fischer# Just add --product switches, and xml input file and redirect output.
264aa3f9146SAndre FischerGEN_UPDATE_INFO_COMMAND=                    \
265dc914883SAndre Fischer    @$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl    \
266aa3f9146SAndre Fischer        --buildid $(BUILD)              \
267aa3f9146SAndre Fischer        --arch "$(RTL_ARCH)"                \
268aa3f9146SAndre Fischer        --os "$(RTL_OS)"                \
269aa3f9146SAndre Fischer        --lstfile $(PRJ)$/util$/openoffice.lst      \
270aa3f9146SAndre Fischer        --languages $(subst,$(@:s/_/ /:1)_, $(@:b))
271aa3f9146SAndre Fischer
27238d57702SAndre Fischer#openoffice_%{$(PKGFORMAT:^".")} :
27338d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openoffice_$L.$P)) .PHONY :
274dc914883SAndre Fischer    $(MAKE_INSTALLER_COMMAND)           \
275dc914883SAndre Fischer        -p Apache_OpenOffice            \
2769f91b7e3SAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)    \
2779f91b7e3SAndre Fischer        $(RELEASE_SWITCH)
278dc914883SAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)      \
279dc914883SAndre Fischer        --product Apache_OpenOffice \
280dc914883SAndre Fischer        $(PRJ)$/util$/update.xml    \
281dc914883SAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
282dc914883SAndre Fischer
283cdf0e10cSrcweir
28438d57702SAndre Fischer#openofficedev_%{$(PKGFORMAT:^".")} :
28538d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficedev_$L.$P)) .PHONY :
286aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND)       \
287aa3f9146SAndre Fischer        -p Apache_OpenOffice_Dev    \
288aa3f9146SAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)
289aa3f9146SAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)          \
290aa3f9146SAndre Fischer        --product Apache_OpenOffice_Dev     \
291aa3f9146SAndre Fischer        $(PRJ)$/util$/update.xml        \
292aa3f9146SAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
293cdf0e10cSrcweir
29455a8773fSMatthias Seidel#openofficebeta_%{$(PKGFORMAT:^".")} :
29543cf7aa4SJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) openofficebeta_$L.$P)) .PHONY :
296bf28f449SAndre Fischer    $(MAKE_INSTALLER_COMMAND)       \
297bf28f449SAndre Fischer        -p Apache_OpenOffice_Beta   \
298bf28f449SAndre Fischer        -msitemplate $(MSIOFFICETEMPLATEDIR)
299bf28f449SAndre Fischer    $(GEN_UPDATE_INFO_COMMAND)          \
300bf28f449SAndre Fischer        --product Apache_OpenOffice_Beta    \
301bf28f449SAndre Fischer        $(PRJ)$/util$/update.xml        \
302bf28f449SAndre Fischer        > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
303bf28f449SAndre Fischer
30438d57702SAndre Fischer#ooolanguagepack_%{$(PKGFORMAT:^".")} :
30538d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooolanguagepack_$L.$P)) .PHONY :
306aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND)           \
307aa3f9146SAndre Fischer        -p Apache_OpenOffice            \
308aa3f9146SAndre Fischer        -msitemplate $(MSILANGPACKTEMPLATEDIR)  \
309aa3f9146SAndre Fischer        -languagepack
310cdf0e10cSrcweir
31143cf7aa4SJürgen Schmidt#ooobetalanguagepack_%{$(PKGFORMAT:^".")} :
31243cf7aa4SJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooobetalanguagepack_$L.$P)) .PHONY :
31343cf7aa4SJürgen Schmidt    $(MAKE_INSTALLER_COMMAND)           \
31443cf7aa4SJürgen Schmidt        -p Apache_OpenOffice_Beta           \
31543cf7aa4SJürgen Schmidt        -msitemplate $(MSILANGPACKTEMPLATEDIR)  \
31643cf7aa4SJürgen Schmidt        -languagepack
31743cf7aa4SJürgen Schmidt
31838d57702SAndre Fischer#ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
31938d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) ooodevlanguagepack_$L.$P)) .PHONY :
320aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev -msitemplate $(MSILANGPACKTEMPLATEDIR) -languagepack
321cdf0e10cSrcweir
32238d57702SAndre Fischer#sdkoo_%{$(PKGFORMAT:^".")} :
32338d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoo_$L.$P)) .PHONY :
324aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
325cdf0e10cSrcweir
32643cf7aa4SJürgen Schmidt#sdkoobeta_%{$(PKGFORMAT:^".")} :
32743cf7aa4SJürgen Schmidt$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoobeta_$L.$P)) .PHONY :
32843cf7aa4SJürgen Schmidt    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Beta_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
32943cf7aa4SJürgen Schmidt
33038d57702SAndre Fischer#sdkoodev_%{$(PKGFORMAT:^".")} :
33138d57702SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) sdkoodev_$L.$P)) .PHONY :
332aa3f9146SAndre Fischer    $(MAKE_INSTALLER_COMMAND) -p Apache_OpenOffice_Dev_SDK -msitemplate $(MSISDKOOTEMPLATEDIR) -dontstrip
333cdf0e10cSrcweir
334677600b0SAndre Fischer.ENDIF  # "$(alllangiso)"==""
335cdf0e10cSrcweir
336cdf0e10cSrcweir$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
3379f91b7e3SAndre Fischer    $(COPY) $< $@
338cdf0e10cSrcweir
339910823aeSJürgen Schmidt$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/intro.zip
340cdf0e10cSrcweir    $(COPY) $< $@
341cdf0e10cSrcweir
342910823aeSJürgen Schmidt$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev$/intro.zip
343cdf0e10cSrcweir    @-$(MKDIR) $(@:d)
344cdf0e10cSrcweir    $(COPY) $< $@
345cdf0e10cSrcweir
34655a8773fSMatthias Seidel# Replace framework/res/*.png with *-dev.png
34755a8773fSMatthias Seidel$(BIN)$/dev$/images.zip : $(SOLARBINDIR)$/images.zip
3484a564a01SDon Lewis    @-$(MKDIR) $(@:d)
34955a8773fSMatthias Seidel    $(COPY) $< $@
35055a8773fSMatthias Seidel    $(PERL) $(SOLARENV)$/bin/replace_in_zip.pl  \
35155a8773fSMatthias Seidel        $@              \
35255a8773fSMatthias Seidel        framework/res/          \
35355a8773fSMatthias Seidel        $(SRC_ROOT)/default_images/framework/res/dev/   \
35455a8773fSMatthias Seidel        backing.png         \
35555a8773fSMatthias Seidel        backing_hc.png          \
35655a8773fSMatthias Seidel        backing_rtl_left.png        \
35755a8773fSMatthias Seidel        backing_rtl_left_hc.png
35855a8773fSMatthias Seidel
359bf28f449SAndre Fischer$(BIN)$/beta$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_beta$/intro.zip
360bf28f449SAndre Fischer    @-$(MKDIR) $(@:d)
361bf28f449SAndre Fischer    $(COPY) $< $@
362bf28f449SAndre Fischer
363bf28f449SAndre Fischer# Replace framework/res/*.png with *-beta.png
36443cf7aa4SJürgen Schmidt$(BIN)$/beta$/images.zip : $(SOLARBINDIR)$/images.zip
365bf28f449SAndre Fischer    $(COPY) $< $@
36643cf7aa4SJürgen Schmidt    $(PERL) $(SOLARENV)$/bin/replace_in_zip.pl  \
367bf28f449SAndre Fischer        $@              \
368bf28f449SAndre Fischer        framework/res/          \
369bf28f449SAndre Fischer        $(SRC_ROOT)/default_images/framework/res/beta/  \
370bf28f449SAndre Fischer        backing.png         \
371bf28f449SAndre Fischer        backing_hc.png          \
372bf28f449SAndre Fischer        backing_rtl_left.png        \
373bf28f449SAndre Fischer        backing_rtl_left_hc.png
3749f91b7e3SAndre Fischer
3759f91b7e3SAndre Fischer.IF "$(OS)" == "WNT"
376f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
377f5a0c083SAndre Fischer    @echo building $@
37843cf7aa4SJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
379d575d58fSAndre Fischer        create                              \
3809f91b7e3SAndre Fischer        --product-name Apache_OpenOffice                \
3819f91b7e3SAndre Fischer        --output-path $(OUT)                        \
3829f91b7e3SAndre Fischer        --data-path $(PRJ)$/data                    \
383f5a0c083SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
384f5a0c083SAndre Fischer        --language $(subst,$(@:s/_/ /:1)_, $(@:b))          \
385f5a0c083SAndre Fischer        --package-format $(@:e:s/.//)
386f5a0c083SAndre Fischerpatch-apply .PHONY :
38743cf7aa4SJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
388d575d58fSAndre Fischer        apply                               \
389d575d58fSAndre Fischer        --product-name Apache_OpenOffice                \
390d575d58fSAndre Fischer        --output-path $(OUT)                        \
391f5a0c083SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
392f5a0c083SAndre Fischer        --language en-US                        \
393f5a0c083SAndre Fischer        --package-format msi
394f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
39543cf7aa4SJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
396d575d58fSAndre Fischer        update-releases-xml                     \
397d575d58fSAndre Fischer        --product-name Apache_OpenOffice                \
398d575d58fSAndre Fischer        --output-path $(OUT)                        \
399d575d58fSAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst\
400d575d58fSAndre Fischer        --target-version 4.0.1
401677600b0SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-check_$L.$P)) .PHONY :
402677600b0SAndre Fischer    @echo building $@
40343cf7aa4SJürgen Schmidt    $(PERL) -I $(SOLARENV)$/bin/modules $(SOLARENV)$/bin$/patch_tool.pl \
404677600b0SAndre Fischer        check                               \
405677600b0SAndre Fischer        --product-name Apache_OpenOffice                \
406677600b0SAndre Fischer        --output-path $(OUT)                        \
407677600b0SAndre Fischer        --data-path $(PRJ)$/data                    \
408677600b0SAndre Fischer        --lst-file $(PRJ)$/util$/openoffice.lst             \
409677600b0SAndre Fischer        --language $(subst,$(@:s/_/ /:1)_, $(@:b))          \
410677600b0SAndre Fischer        --package-format $(@:e:s/.//)
4119f91b7e3SAndre Fischer
4129f91b7e3SAndre Fischer$(PRJ)$/data :
4139f91b7e3SAndre Fischer    mkdir $@
4149f91b7e3SAndre Fischer.ELSE
415f5a0c083SAndre Fischer$(foreach,P,$(PACKAGE_FORMATS) $(foreach,L,$(alllangiso) patch-create_$L.$P)) .PHONY :
416f5a0c083SAndre Fischer    @echo "patches can only be created on Windows at the moment"
417f5a0c083SAndre Fischerpatch-apply .PHONY :
418f5a0c083SAndre Fischer    @echo "patches can only be created on Windows at the moment"
419f5a0c083SAndre Fischerpatch-update-releases-xml .PHONY:
4209f91b7e3SAndre Fischer    @echo "patches can only be created on Windows at the moment"
4219f91b7e3SAndre Fischer.ENDIF
4229f91b7e3SAndre Fischer
4239f91b7e3SAndre Fischer
424b6dfe6c8SAndre Fischermsitemplates .PHONY: msi_template_files msi_langpack_template_files msi_sdk_template_files
4257a3dfa40SAndre Fischer
4267a3dfa40SAndre FischerMSI_OFFICE_TEMPLATE_FILES=      \
4277a3dfa40SAndre Fischer    ActionTe.idt            \
4287a3dfa40SAndre Fischer    AdminExe.idt            \
4297a3dfa40SAndre Fischer    AdminUIS.idt            \
4307a3dfa40SAndre Fischer    AdvtExec.idt            \
4317a3dfa40SAndre Fischer    AppSearc.idt            \
4327a3dfa40SAndre Fischer    Binary.idt          \
4337a3dfa40SAndre Fischer    CheckBox.idt            \
4347a3dfa40SAndre Fischer    Control.idt         \
4357a3dfa40SAndre Fischer    ControlC.idt            \
4367a3dfa40SAndre Fischer    ControlE.idt            \
4377a3dfa40SAndre Fischer    CustomAc.idt            \
4387a3dfa40SAndre Fischer    Dialog.idt          \
4397a3dfa40SAndre Fischer    Error.idt           \
4407a3dfa40SAndre Fischer    EventMap.idt            \
4417a3dfa40SAndre Fischer    InstallE.idt            \
4427a3dfa40SAndre Fischer    InstallU.idt            \
4437a3dfa40SAndre Fischer    LaunchCo.idt            \
4447a3dfa40SAndre Fischer    ListBox.idt         \
4457a3dfa40SAndre Fischer    Property.idt            \
4467a3dfa40SAndre Fischer    RadioBut.idt            \
4477a3dfa40SAndre Fischer    RegLocat.idt            \
4487a3dfa40SAndre Fischer    Signatur.idt            \
4497a3dfa40SAndre Fischer    TextStyl.idt            \
4507a3dfa40SAndre Fischer    UIText.idt          \
4517a3dfa40SAndre Fischer    _Validat.idt            \
4527a3dfa40SAndre Fischer    codes.txt           \
4537a3dfa40SAndre Fischer    codes_broo.txt          \
4547a3dfa40SAndre Fischer    codes_broodev.txt       \
4557a3dfa40SAndre Fischer    codes_ooodev.txt        \
4567a3dfa40SAndre Fischer    components.txt          \
4577a3dfa40SAndre Fischer    upgradecode_remove_ooo.txt  \
4587a3dfa40SAndre Fischer    Binary/Banner.bmp       \
4597a3dfa40SAndre Fischer    Binary/Image.bmp        \
4607a3dfa40SAndre Fischer    Binary/caution.ico      \
4617a3dfa40SAndre Fischer    Binary/dontinstall.ico      \
4627a3dfa40SAndre Fischer    Binary/install.ico      \
4637a3dfa40SAndre Fischer    Binary/installfirstuse.ico  \
4647a3dfa40SAndre Fischer    Binary/installpartial.ico   \
4657a3dfa40SAndre Fischer    Binary/installstatemenu.ico \
4667a3dfa40SAndre Fischer    Binary/networkinstall.ico   \
4677a3dfa40SAndre Fischer    Binary/newfolder.ico        \
4687a3dfa40SAndre Fischer    Binary/openfolder.ico       \
4697a3dfa40SAndre Fischer    Binary/setup.ico        \
4707a3dfa40SAndre Fischer    Binary/setupcomplete.ico    \
4717a3dfa40SAndre Fischer    Binary/setuppartial.ico     \
4727a3dfa40SAndre Fischer    Binary/setuprepair.ico      \
4737a3dfa40SAndre Fischer    Binary/trashcan.ico     \
4747a3dfa40SAndre Fischer    Binary/up.ico
4757a3dfa40SAndre Fischer
4767a3dfa40SAndre FischerMSI_LANGPACK_TEMPLATE_FILES=        \
4777a3dfa40SAndre Fischer    ActionTe.idt            \
4787a3dfa40SAndre Fischer    AdminExe.idt            \
4797a3dfa40SAndre Fischer    AdminUIS.idt            \
4807a3dfa40SAndre Fischer    AdvtExec.idt            \
4817a3dfa40SAndre Fischer    Binary.idt          \
4827a3dfa40SAndre Fischer    CheckBox.idt            \
4837a3dfa40SAndre Fischer    Control.idt         \
4847a3dfa40SAndre Fischer    ControlC.idt            \
4857a3dfa40SAndre Fischer    ControlE.idt            \
4867a3dfa40SAndre Fischer    CustomAc.idt            \
4877a3dfa40SAndre Fischer    Dialog.idt          \
4887a3dfa40SAndre Fischer    Error.idt           \
4897a3dfa40SAndre Fischer    EventMap.idt            \
4907a3dfa40SAndre Fischer    InstallE.idt            \
4917a3dfa40SAndre Fischer    InstallU.idt            \
4927a3dfa40SAndre Fischer    LaunchCo.idt            \
4937a3dfa40SAndre Fischer    ListBox.idt         \
4947a3dfa40SAndre Fischer    Property.idt            \
4957a3dfa40SAndre Fischer    RadioBut.idt            \
4967a3dfa40SAndre Fischer    TextStyl.idt            \
4977a3dfa40SAndre Fischer    UIText.idt          \
4987a3dfa40SAndre Fischer    _Validat.idt            \
4997a3dfa40SAndre Fischer    bro_patchcodes.txt      \
5007a3dfa40SAndre Fischer    brodev_patchcodes.txt       \
5017a3dfa40SAndre Fischer    codes.txt           \
5027a3dfa40SAndre Fischer    codes_broo.txt          \
5037a3dfa40SAndre Fischer    codes_ooodev.txt        \
5047a3dfa40SAndre Fischer    components.txt          \
5057a3dfa40SAndre Fischer    ooo_patchcodes.txt      \
5067a3dfa40SAndre Fischer    ooodev_patchcodes.txt       \
50704be0b07SAndre Fischer    Binary/Banner.bmp       \
50804be0b07SAndre Fischer    Binary/Image.bmp        \
50904be0b07SAndre Fischer    Binary/caution.ico      \
51004be0b07SAndre Fischer    Binary/dontinstall.ico      \
51104be0b07SAndre Fischer    Binary/install.ico      \
51204be0b07SAndre Fischer    Binary/installfirstuse.ico  \
51304be0b07SAndre Fischer    Binary/installpartial.ico   \
51404be0b07SAndre Fischer    Binary/installstatemenu.ico \
51504be0b07SAndre Fischer    Binary/networkinstall.ico   \
51604be0b07SAndre Fischer    Binary/newfolder.ico        \
51704be0b07SAndre Fischer    Binary/openfolder.ico       \
51804be0b07SAndre Fischer    Binary/setup.ico        \
51904be0b07SAndre Fischer    Binary/setupcomplete.ico    \
52004be0b07SAndre Fischer    Binary/setuppartial.ico     \
52104be0b07SAndre Fischer    Binary/setuprepair.ico      \
52204be0b07SAndre Fischer    Binary/trashcan.ico     \
52304be0b07SAndre Fischer    Binary/up.ico
5247a3dfa40SAndre Fischer
5257a3dfa40SAndre FischerMSI_SDK_TEMPLATE_FILES=         \
5267a3dfa40SAndre Fischer    ActionTe.idt            \
5277a3dfa40SAndre Fischer    AdminExe.idt            \
5287a3dfa40SAndre Fischer    AdminUIS.idt            \
5297a3dfa40SAndre Fischer    AdvtExec.idt            \
5307a3dfa40SAndre Fischer    AppSearc.idt            \
5317a3dfa40SAndre Fischer    Binary.idt          \
5327a3dfa40SAndre Fischer    CheckBox.idt            \
5337a3dfa40SAndre Fischer    Control.idt         \
5347a3dfa40SAndre Fischer    ControlC.idt            \
5357a3dfa40SAndre Fischer    ControlE.idt            \
5367a3dfa40SAndre Fischer    CustomAc.idt            \
5377a3dfa40SAndre Fischer    Dialog.idt          \
5387a3dfa40SAndre Fischer    Error.idt           \
5397a3dfa40SAndre Fischer    EventMap.idt            \
5407a3dfa40SAndre Fischer    InstallE.idt            \
5417a3dfa40SAndre Fischer    InstallU.idt            \
5427a3dfa40SAndre Fischer    LaunchCo.idt            \
5437a3dfa40SAndre Fischer    ListBox.idt         \
5447a3dfa40SAndre Fischer    Property.idt            \
5457a3dfa40SAndre Fischer    RadioBut.idt            \
5467a3dfa40SAndre Fischer    RegLocat.idt            \
5477a3dfa40SAndre Fischer    Signatur.idt            \
5487a3dfa40SAndre Fischer    TextStyl.idt            \
5497a3dfa40SAndre Fischer    UIText.idt          \
5507a3dfa40SAndre Fischer    _Validat.idt            \
5517a3dfa40SAndre Fischer    codes.txt           \
5527a3dfa40SAndre Fischer    components.txt          \
5537a3dfa40SAndre Fischer    Binary/Banner.bmp       \
5547a3dfa40SAndre Fischer    Binary/Image.bmp        \
5557a3dfa40SAndre Fischer    Binary/caution.ico      \
5567a3dfa40SAndre Fischer    Binary/dontinstall.ico      \
5577a3dfa40SAndre Fischer    Binary/install.ico      \
5587a3dfa40SAndre Fischer    Binary/installfirstuse.ico  \
5597a3dfa40SAndre Fischer    Binary/installpartial.ico   \
5607a3dfa40SAndre Fischer    Binary/installstatemenu.ico \
5617a3dfa40SAndre Fischer    Binary/networkinstall.ico   \
5627a3dfa40SAndre Fischer    Binary/newfolder.ico        \
5637a3dfa40SAndre Fischer    Binary/openfolder.ico       \
5647a3dfa40SAndre Fischer    Binary/setup.ico        \
5657a3dfa40SAndre Fischer    Binary/setupcomplete.ico    \
5667a3dfa40SAndre Fischer    Binary/setuppartial.ico     \
5677a3dfa40SAndre Fischer    Binary/setuprepair.ico      \
5687a3dfa40SAndre Fischer    Binary/trashcan.ico     \
5697a3dfa40SAndre Fischer    Binary/up.ico
5707a3dfa40SAndre Fischer
5717a3dfa40SAndre Fischermsi_template_files .PHONY:                  \
5727a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)                 \
5737a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)$/Binary             \
5747a3dfa40SAndre Fischer    $(MSIOFFICETEMPLATEDIR)$/{$(MSI_OFFICE_TEMPLATE_FILES)}
5757a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR) $(MSIOFFICETEMPLATEDIR)$/Binary :
5767a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5777a3dfa40SAndre Fischer$(MSIOFFICETEMPLATEDIR)$/% : $(MSIOFFICETEMPLATESOURCE)$/%
5787a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
5797a3dfa40SAndre Fischer
5807a3dfa40SAndre Fischermsi_langpack_template_files .PHONY :                \
5817a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)               \
5827a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)$/Binary           \
5837a3dfa40SAndre Fischer    $(MSILANGPACKTEMPLATEDIR)$/{$(MSI_LANGPACK_TEMPLATE_FILES)}
5847a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR) $(MSILANGPACKTEMPLATEDIR)$/Binary :
5857a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5867a3dfa40SAndre Fischer$(MSILANGPACKTEMPLATEDIR)$/% : $(MSILANGPACKTEMPLATESOURCE)$/%
5877a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
588cdf0e10cSrcweir
589cdf0e10cSrcweir
5907a3dfa40SAndre Fischermsi_sdk_template_files .PHONY :                 \
5917a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)                  \
5927a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)$/Binary              \
5937a3dfa40SAndre Fischer    $(MSISDKOOTEMPLATEDIR)$/{$(MSI_SDK_TEMPLATE_FILES)}
5947a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR) $(MSISDKOOTEMPLATEDIR)$/Binary :
5957a3dfa40SAndre Fischer    -$(MKDIRHIER) $@
5967a3dfa40SAndre Fischer$(MSISDKOOTEMPLATEDIR)/% : $(MSISDKOOTEMPLATESOURCE)$/%
5977a3dfa40SAndre Fischer    $(GNUCOPY) $< $@
5989f91b7e3SAndre Fischer
599*41deec9fSmseidel# vim: set noet sw=4 ts=4:
600