xref: /trunk/main/solenv/inc/tg_merge.mk (revision 7871dc3e)
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
22
23
24MKFILENAME:=tg_merge.mk
25
26# look for the according rules in "rules.mk"
27
28.IF "$(WITH_LANG)"!=""
29.IF "$(ULFFILES)"!=""
30$(foreach,i,$(ULFFILES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
31.ENDIF          # "$(ULFFILES)"!=""
32
33# *.xrb merge
34.IF "$(XMLPROPERTIES)"!=""
35$(foreach,i,$(XMLPROPERTIES) $(COMMONMISC)/$(TARGET)/$i) : $$(@:f) $(LOCALIZESDF)
36.ENDIF          # "$(ULFFILES)"!=""
37
38# *.xrm merge
39.IF "$(READMEFILES)"!=""
40$(foreach,i,$(READMEFILES) $(COMMONMISC)/$(TARGET)/$(i:b).xrm) : $$(@:f) $(LOCALIZESDF)
41.ENDIF          # "$(ULFFILES)"!=""
42
43# *.xrm merge
44#.IF "$(APOCHELPFILES)"!=""
45#$(foreach,i,$(APOCHELPFILES) $(COMMONMISC)/$(MYPATH)/$(i:b).xrm) : $$(@:f) $(LOCALIZESDF)
46#.ENDIF          # "$(ULFFILES)"!=""
47# *.xcu merge
48.IF "$(LOCALIZEDFILES)"!=""
49$(foreach,i,$(LOCALIZEDFILES) $(PROCESSOUT)/merge/{$(subst,.,/ $(PACKAGE))}/$(i:b).xcu) : $$(@:f) $(LOCALIZESDF)
50.ENDIF          # "$(ULFFILES)"!=""
51.ENDIF			# "$(WITH_LANG)"!=""
52
53# dependencies from *.ulf to par-files
54.IF "$(ULFPARFILES)"!=""
55$(ULFPARFILES) : $(COMMONMISC)/$(TARGET)/$$(@:b).$(LANGFILEEXT)
56.ENDIF          # "$(ULFPARFILES)"!=""
57
58# *.xrm merge
59#.IF "$(READMEFILES)"!=""
60#$(uniq $(foreach,i,$(READMEFILES) $(COMMONMISC)/$(TARGET)/$(i:b).xrm)) : $$(@:f) $(LOCALIZESDF)
61#.ENDIF          # "$(ULFFILES)"!=""
62
63