1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: tg_merge.mk,v $
11 # $Revision: 1.11.72.2 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 MKFILENAME
:=tg_merge.mk
34 # look for the according rules in "rules.mk"
36 .IF
"$(WITH_LANG)"!=""
38 $(foreach,i
,$(ULFFILES
) $(COMMONMISC
)/$(TARGET
)/$i) : $$(@
:f
) $(LOCALIZESDF
)
39 .ENDIF
# "$(ULFFILES)"!=""
42 .IF
"$(XMLPROPERTIES)"!=""
43 $(foreach,i
,$(XMLPROPERTIES
) $(COMMONMISC
)/$(TARGET
)/$i) : $$(@
:f
) $(LOCALIZESDF
)
44 .ENDIF
# "$(ULFFILES)"!=""
47 .IF
"$(READMEFILES)"!=""
48 $(foreach,i
,$(READMEFILES
) $(COMMONMISC
)/$(TARGET
)/$(i
:b
).xrm
) : $$(@
:f
) $(LOCALIZESDF
)
49 .ENDIF
# "$(ULFFILES)"!=""
52 #.IF "$(APOCHELPFILES)"!=""
53 #$(foreach,i,$(APOCHELPFILES) $(COMMONMISC)/$(MYPATH)/$(i:b).xrm) : $$(@:f) $(LOCALIZESDF)
54 #.ENDIF # "$(ULFFILES)"!=""
56 .IF
"$(LOCALIZEDFILES)"!=""
57 $(foreach,i
,$(LOCALIZEDFILES
) $(PROCESSOUT
)/merge
/{$(subst,.
,/ $(PACKAGE
))}/$(i
:b
).xcu
) : $$(@
:f
) $(LOCALIZESDF
)
58 .ENDIF
# "$(ULFFILES)"!=""
59 .ENDIF
# "$(WITH_LANG)"!=""
61 # dependencies from *.ulf to par-files
62 .IF
"$(ULFPARFILES)"!=""
63 $(ULFPARFILES
) : $(COMMONMISC
)/$(TARGET
)/$$(@
:b
).
$(LANGFILEEXT
)
64 .ENDIF
# "$(ULFPARFILES)"!=""
67 #.IF "$(READMEFILES)"!=""
68 #$(uniq $(foreach,i,$(READMEFILES) $(COMMONMISC)/$(TARGET)/$(i:b).xrm)) : $$(@:f) $(LOCALIZESDF)
69 #.ENDIF # "$(ULFFILES)"!=""