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#**************************************************************
21
22
23
24PRJ=..$/..
25
26
27PRJNAME=i18npool
28TARGET=locale
29
30TARGETTYPE=CUI
31ENABLE_EXCEPTIONS=TRUE
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :  settings.mk
36
37.IF "$(OS)" == "SOLARIS"
38# the xmlparser build breaks in this header file
39#
40#      /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits
41#
42# which defines a class with member functions called min() and max().
43# the build breaks because in solar.h, there is something like this
44#
45#      #define max(x,y) ((x) < (y) ? (y) : (x))
46#      #define min(x,y) ((x) < (y) ? (x) : (y))
47#
48# so the only choice is to prevent "CC/Cstd/./limits" from being
49# included:
50CDEFS+=-D__STD_LIMITS
51.ENDIF
52
53# --- Files --------------------------------------------------------
54
55SLOFILES=   $(SLO)$/localedata.obj
56
57OBJFILES   = \
58	    $(OBJ)$/saxparser.obj \
59	    $(OBJ)$/LocaleNode.obj \
60	    $(OBJ)$/filewriter.obj
61
62APP1TARGET = saxparser
63APP1RPATH = NONE
64
65APP1OBJS   = $(OBJFILES)
66
67APP1STDLIBS = \
68	    $(SALLIB) \
69	    $(CPPULIB) \
70	    $(CPPUHELPERLIB)
71
72DEPOBJFILES = \
73	    $(OBJ)$/saxparser.obj \
74	    $(OBJ)$/LocaleNode.obj \
75	    $(OBJ)$/filewriter.obj
76
77# --- Targets ------------------------------------------------------
78
79.INCLUDE :	target.mk
80
81