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#************************************************************** 21PRJ=..$/..$/.. 22 23PRJNAME=i18npool 24TARGET=textconv_dict 25LIBTARGET=NO 26 27# --- Settings ----------------------------------------------------- 28.INCLUDE : settings.mk 29 30# Fix heap limit problem on MSC 31.IF "$(OS)" == "WNT" 32.IF "$(COMEX)" != "8" 33CDEFS+=-Zm300 34.ENDIF 35SHL1STDLIBS+= $(SALLIB) $(CPPULIB) $(CPPUHELPERLIB) 36.ENDIF 37 38# --- Files -------------------------------------------------------- 39 40.IF "$(GUI)" == "OS2" 41SHL1STDLIBS+= $(SALLIB) $(CPPULIB) 42.ENDIF 43 44# collator data library 45SHL1TARGET=$(TARGET) 46SHL1IMPLIB=i$(SHL1TARGET) 47 48SHL1VERSIONMAP=$(SHL1TARGET).map 49SHL1DEF=$(MISC)$/$(SHL1TARGET).def 50DEF1NAME=$(SHL1TARGET) 51 52DATA_FILES:=$(shell @ls ./*.dic) 53SHL1OBJS=$(subst,./,$(SLO)$/ $(DATA_FILES:s/.dic/.obj/)) 54 55LIB1TARGET= $(SLB)$/$(SHL1TARGET).lib 56LIB1OBJFILES=$(SHL1OBJS) 57 58# --- Targets ------------------------------------------------------ 59.INCLUDE : target.mk 60 61APP1TARGET = genconv_dict 62$(MISC)$/%.cxx : %.dic 63 $(AUGMENT_LIBRARY_PATH) $(BIN)$/genconv_dict $* $< $@ 64 65# ugly - is this dependency really required here? 66.IF "$(GUI)" != "OS2" 67$(foreach,i,$(shell @$(FIND) . -name "*.dic") $(MISC)$/dict_$(i:b).cxx) : $(BIN)$/genconv_dict$(EXECPOST) 68.ENDIF 69 70