18809db7aSAndrew Rist#************************************************************** 28809db7aSAndrew Rist# 38809db7aSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 48809db7aSAndrew Rist# or more contributor license agreements. See the NOTICE file 58809db7aSAndrew Rist# distributed with this work for additional information 68809db7aSAndrew Rist# regarding copyright ownership. The ASF licenses this file 78809db7aSAndrew Rist# to you under the Apache License, Version 2.0 (the 88809db7aSAndrew Rist# "License"); you may not use this file except in compliance 98809db7aSAndrew Rist# with the License. You may obtain a copy of the License at 108809db7aSAndrew Rist# 118809db7aSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 128809db7aSAndrew Rist# 138809db7aSAndrew Rist# Unless required by applicable law or agreed to in writing, 148809db7aSAndrew Rist# software distributed under the License is distributed on an 158809db7aSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 168809db7aSAndrew Rist# KIND, either express or implied. See the License for the 178809db7aSAndrew Rist# specific language governing permissions and limitations 188809db7aSAndrew Rist# under the License. 198809db7aSAndrew Rist# 208809db7aSAndrew Rist#************************************************************** 21cdf0e10cSrcweirPRJ=..$/..$/.. 22cdf0e10cSrcweir 23cdf0e10cSrcweirPRJNAME=i18npool 24cdf0e10cSrcweirTARGET=dict 25cdf0e10cSrcweirLIBTARGET=NO 26cdf0e10cSrcweir 27cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 28cdf0e10cSrcweir.INCLUDE : settings.mk 29cdf0e10cSrcweir 30cdf0e10cSrcweir# Fix heap limit problem on MSC 31cdf0e10cSrcweir.IF "$(OS)" == "WNT" 32cdf0e10cSrcweir.IF "$(COMEX)" != "8" 33cdf0e10cSrcweirCDEFS+=-Zm300 34cdf0e10cSrcweir.ENDIF 35cdf0e10cSrcweir.ENDIF 36cdf0e10cSrcweir 37cdf0e10cSrcweir# --- Files -------------------------------------------------------- 38cdf0e10cSrcweir# Japanese dictionary 39cdf0e10cSrcweirSHL1TARGET=dict_ja 40cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET) 41cdf0e10cSrcweir 42cdf0e10cSrcweirSHL1VERSIONMAP=$(TARGET).map 43cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 44cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 45cdf0e10cSrcweir 46cdf0e10cSrcweirSHL1OBJS= \ 47cdf0e10cSrcweir $(SLO)$/dict_ja.obj 48cdf0e10cSrcweir 49cdf0e10cSrcweirLIB1TARGET= $(SLB)$/$(SHL1TARGET).lib 50cdf0e10cSrcweirLIB1OBJFILES=$(SHL1OBJS) 51cdf0e10cSrcweir 52cdf0e10cSrcweir# Chinese dictionary 53cdf0e10cSrcweirSHL2TARGET=dict_zh 54cdf0e10cSrcweirSHL2IMPLIB=i$(SHL2TARGET) 55cdf0e10cSrcweir 56cdf0e10cSrcweirSHL2VERSIONMAP=$(TARGET).map 57cdf0e10cSrcweirSHL2DEF=$(MISC)$/$(SHL2TARGET).def 58cdf0e10cSrcweirDEF2NAME=$(SHL2TARGET) 59cdf0e10cSrcweir 60cdf0e10cSrcweirSHL2OBJS= \ 61cdf0e10cSrcweir $(SLO)$/dict_zh.obj 62cdf0e10cSrcweir 63cdf0e10cSrcweirLIB2TARGET= $(SLB)$/$(SHL2TARGET).lib 64cdf0e10cSrcweirLIB2OBJFILES=$(SHL2OBJS) 65cdf0e10cSrcweir 66cdf0e10cSrcweirDEPOBJFILES= \ 67cdf0e10cSrcweir $(SLO1FILES) \ 68cdf0e10cSrcweir $(SLO2FILES) 69cdf0e10cSrcweir 70cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 71cdf0e10cSrcweir.INCLUDE : target.mk 72cdf0e10cSrcweir 73cdf0e10cSrcweir$(MISC)$/dict_%.cxx : %.dic 74cdf0e10cSrcweir $(AUGMENT_LIBRARY_PATH) $(BIN)$/gendict $< $@ 75cdf0e10cSrcweir 76cdf0e10cSrcweir# ugly - is this dependency really required here? 77*03c97e34SYuri Dario.IF "$(GUI)" != "OS2" 78cdf0e10cSrcweir$(foreach,i,$(shell @$(FIND) . -name "*.dic") $(MISC)$/dict_$(i:b).cxx) : $(BIN)$/gendict$(EXECPOST) 79*03c97e34SYuri Dario.ENDIF 80cdf0e10cSrcweir 81