2004-06-25 10:13:04 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# $RCSfile: tg_merge.mk,v $
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-07-30 06:48:35 -05:00
|
|
|
# $Revision: 1.12 $
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
2008-04-10 11:41:11 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2004-06-25 10:13:04 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
MKFILENAME:=tg_merge.mk
|
|
|
|
|
|
|
|
# look for the according rules in "rules.mk"
|
|
|
|
|
2006-11-08 05:04:09 -06:00
|
|
|
.IF "$(WITH_LANG)"!=""
|
2004-06-25 10:13:04 -05:00
|
|
|
.IF "$(ULFFILES)"!=""
|
|
|
|
$(foreach,i,$(ULFFILES) $(COMMONMISC)$/$(TARGET)$/$i) : $$(@:f) localize.sdf
|
|
|
|
.ENDIF # "$(ULFFILES)"!=""
|
|
|
|
|
|
|
|
# *.xrb merge
|
|
|
|
.IF "$(XMLPROPERTIES)"!=""
|
|
|
|
$(foreach,i,$(XMLPROPERTIES) $(COMMONMISC)$/$(TARGET)$/$i) : $$(@:f) localize.sdf
|
2008-07-30 06:48:35 -05:00
|
|
|
.ENDIF # "$(XMLPROPERTIES)"!=""
|
2006-12-12 08:50:31 -06:00
|
|
|
|
|
|
|
# *.xrm merge
|
|
|
|
.IF "$(APOCHELPFILES)"!=""
|
|
|
|
$(foreach,i,$(APOCHELPFILES) $(COMMONMISC)$/$(MYPATH)$/$(i:b).xrm) : $$(@:f) localize.sdf
|
2008-07-30 06:48:35 -05:00
|
|
|
.ENDIF # "$(APOCHELPFILES)"!=""
|
2006-12-12 08:50:31 -06:00
|
|
|
|
2004-07-23 04:24:13 -05:00
|
|
|
# *.xcu merge
|
|
|
|
.IF "$(LOCALIZEDFILES)"!=""
|
2006-09-15 08:09:08 -05:00
|
|
|
$(foreach,i,$(LOCALIZEDFILES) $(PROCESSOUT)$/merge$/{$(subst,.,$/ $(PACKAGE))}$/$(i:b).xcu) : $$(@:f) localize.sdf
|
2008-07-30 06:48:35 -05:00
|
|
|
.ENDIF # "$(LOCALIZEDFILES)"!=""
|
2006-11-08 05:04:09 -06:00
|
|
|
.ENDIF # "$(WITH_LANG)"!=""
|
2004-07-23 04:24:13 -05:00
|
|
|
|
2006-11-08 05:04:09 -06:00
|
|
|
# dependencies from *.ulf to par-files
|
|
|
|
.IF "$(ULFPARFILES)"!=""
|
|
|
|
$(ULFPARFILES) : $(COMMONMISC)$/$(TARGET)$/$$(@:b).$(LANGFILEEXT)
|
2008-07-30 06:48:35 -05:00
|
|
|
.ENDIF # "$(ULFPARFILES)"!=""
|
2006-11-08 05:04:09 -06:00
|
|
|
|
|
|
|
# *.xrm merge
|
|
|
|
.IF "$(READMEFILES)"!=""
|
|
|
|
$(uniq $(foreach,i,$(READMEFILES) $(COMMONMISC)$/$(TARGET)$/$(i:b).xrm)) : $$(@:f) localize.sdf
|
2008-07-30 06:48:35 -05:00
|
|
|
.ENDIF # "$(READMEFILES)"!=""
|
2004-06-25 10:13:04 -05:00
|
|
|
|