1*3eeae035SAndrew Rist#************************************************************** 2*3eeae035SAndrew Rist# 3*3eeae035SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*3eeae035SAndrew Rist# or more contributor license agreements. See the NOTICE file 5*3eeae035SAndrew Rist# distributed with this work for additional information 6*3eeae035SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*3eeae035SAndrew Rist# to you under the Apache License, Version 2.0 (the 8*3eeae035SAndrew Rist# "License"); you may not use this file except in compliance 9*3eeae035SAndrew Rist# with the License. You may obtain a copy of the License at 10*3eeae035SAndrew Rist# 11*3eeae035SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*3eeae035SAndrew Rist# 13*3eeae035SAndrew Rist# Unless required by applicable law or agreed to in writing, 14*3eeae035SAndrew Rist# software distributed under the License is distributed on an 15*3eeae035SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3eeae035SAndrew Rist# KIND, either express or implied. See the License for the 17*3eeae035SAndrew Rist# specific language governing permissions and limitations 18*3eeae035SAndrew Rist# under the License. 19*3eeae035SAndrew Rist# 20*3eeae035SAndrew Rist#************************************************************** 21*3eeae035SAndrew Rist 22*3eeae035SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=..$/.. 25cdf0e10cSrcweir 26cdf0e10cSrcweirPRJNAME=i18npool 27cdf0e10cSrcweirTARGET=collator 28cdf0e10cSrcweir 29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 30cdf0e10cSrcweir 31cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 32cdf0e10cSrcweir 33cdf0e10cSrcweir.INCLUDE : settings.mk 34cdf0e10cSrcweir 35cdf0e10cSrcweir# --- Files -------------------------------------------------------- 36cdf0e10cSrcweir 37cdf0e10cSrcweirtxtlist:=$(shell @cd data >& $(NULLDEV) && ls *.txt) 38cdf0e10cSrcweirLOCAL_RULE_LANGS:=$(uniq $(foreach,i,$(txtlist) $(i:s/-/_/:s/_/ /:1))) 39cdf0e10cSrcweirrules_dependencies:=$(foreach,i,$(txtlist) data$/$i) $(INCCOM)$/lrl_include.hxx 40cdf0e10cSrcweir 41cdf0e10cSrcweirrules_obj = $(SLO)$/collator_unicode.obj 42cdf0e10cSrcweir 43cdf0e10cSrcweirSLOFILES= \ 44cdf0e10cSrcweir $(SLO)$/collatorImpl.obj \ 45cdf0e10cSrcweir $(SLO)$/chaptercollator.obj \ 46cdf0e10cSrcweir $(rules_obj) 47cdf0e10cSrcweir 48cdf0e10cSrcweirAPP1TARGET = gencoll_rule 49cdf0e10cSrcweirAPP1RPATH = NONE 50cdf0e10cSrcweir 51cdf0e10cSrcweirAPP1OBJS = $(OBJ)$/gencoll_rule.obj 52cdf0e10cSrcweir 53cdf0e10cSrcweirDEPOBJFILES = $(APP1OBJS) 54cdf0e10cSrcweir 55cdf0e10cSrcweirAPP1STDLIBS = $(SALLIB) \ 56cdf0e10cSrcweir $(ICUINLIB) \ 57cdf0e10cSrcweir $(ICUUCLIB) \ 58cdf0e10cSrcweir $(ICUDATALIB) 59cdf0e10cSrcweir 60cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 61cdf0e10cSrcweir 62cdf0e10cSrcweir.INCLUDE : target.mk 63cdf0e10cSrcweir 64cdf0e10cSrcweir$(rules_obj) : $(rules_dependencies) 65cdf0e10cSrcweir 66cdf0e10cSrcweir$(INCCOM)$/lrl_include.hxx: $(foreach,i,$(txtlist) data$/$i) 67cdf0e10cSrcweir @@$(RM) $@ 68cdf0e10cSrcweir @echo $(EMQ)#define LOCAL_RULE_LANGS $(EMQ)"$(LOCAL_RULE_LANGS)$(EMQ)" >& $@ 69cdf0e10cSrcweir 70