Update ooo320-m1
[ooovba.git] / i18npool / source / breakiterator / data / makefile.mk
blobba380babb2792bef60056d17c1f3562701058cc3
1 #*************************************************************************
2 #*
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.9 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #************************************************************************
31 PRJ=..$/..$/..
33 PRJNAME=i18npool
34 TARGET=dict
35 LIBTARGET=NO
37 # --- Settings -----------------------------------------------------
38 .INCLUDE : settings.mk
40 # Fix heap limit problem on MSC
41 .IF "$(OS)" == "WNT"
42 .IF "$(COMEX)" != "8"
43 CDEFS+=-Zm300
44 .ENDIF
45 .ENDIF
47 # --- Files --------------------------------------------------------
48 # Japanese dictionary
49 SHL1TARGET=dict_ja
50 SHL1IMPLIB=i$(SHL1TARGET)
52 SHL1VERSIONMAP=$(TARGET).map
53 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
54 DEF1NAME=$(SHL1TARGET)
56 SHL1OBJS= \
57 $(SLO)$/dict_ja.obj
59 LIB1TARGET= $(SLB)$/$(SHL1TARGET).lib
60 LIB1OBJFILES=$(SHL1OBJS)
62 # Chinese dictionary
63 SHL2TARGET=dict_zh
64 SHL2IMPLIB=i$(SHL2TARGET)
66 SHL2VERSIONMAP=$(TARGET).map
67 SHL2DEF=$(MISC)$/$(SHL2TARGET).def
68 DEF2NAME=$(SHL2TARGET)
70 SHL2OBJS= \
71 $(SLO)$/dict_zh.obj
73 LIB2TARGET= $(SLB)$/$(SHL2TARGET).lib
74 LIB2OBJFILES=$(SHL2OBJS)
76 DEPOBJFILES= \
77 $(SLO1FILES) \
78 $(SLO2FILES)
80 # --- Targets ------------------------------------------------------
81 .INCLUDE : target.mk
83 $(MISC)$/dict_%.cxx : %.dic
84 $(AUGMENT_LIBRARY_PATH) $(BIN)$/gendict $< $@
86 # ugly - is this dependency really required here?
87 $(foreach,i,$(shell @$(FIND) . -name "*.dic") $(MISC)$/dict_$(i:b).cxx) : $(BIN)$/gendict$(EXECPOST)