xref: /AOO41X/main/i18nutil/source/utility/makefile.mk (revision 8809db7a87f97847b57a57f4cd2b0104b2b83182)
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=i18nutil
24TARGET=i18nutil
25LIBTARGET=NO
26
27# --- Settings -----------------------------------------------------
28
29.INCLUDE :  settings.mk
30
31# --- Files --------------------------------------------------------
32
33EXCEPTIONSFILES= \
34    $(SLO)$/casefolding.obj
35
36SLOFILES= \
37    $(EXCEPTIONSFILES) \
38    $(SLO)$/unicode.obj \
39    $(SLO)$/widthfolding.obj \
40    $(SLO)$/oneToOneMapping.obj
41
42# Unicode utilities
43.IF "$(GUI)" == "OS2"
44SHL1TARGET=     $(TARGET)
45.ELSE
46SHL1TARGET=     $(TARGET)$(COMID)
47.ENDIF
48SHL1IMPLIB=     i$(TARGET)
49
50DEF1DEPN=       $(MISC)$/$(SHL1TARGET).flt
51SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
52DEF1NAME=       $(SHL1TARGET)
53DEFLIB1NAME=    $(SHL1TARGET)
54
55SHL1OBJS=       $(SLOFILES)
56
57LIB1TARGET= $(SLB)$/$(SHL1TARGET).lib
58LIB1OBJFILES=$(SHL1OBJS)
59
60SHL1STDLIBS= \
61        $(CPPULIB) \
62        $(SALLIB)
63
64# --- Targets ------------------------------------------------------
65.INCLUDE :  target.mk
66
67$(MISC)$/$(SHL1TARGET).flt: makefile.mk
68    @echo ------------------------------
69    @echo Making: $@
70    @echo CLEAR_THE_FILE > $@
71    @echo __CT >> $@
72
73