1*3eeae035SAndrew Rist#************************************************************** 2*3eeae035SAndrew Rist# 3*3eeae035SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*3eeae035SAndrew Rist# or more contributor license agreements. See the NOTICE file 5*3eeae035SAndrew Rist# distributed with this work for additional information 6*3eeae035SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*3eeae035SAndrew Rist# to you under the Apache License, Version 2.0 (the 8*3eeae035SAndrew Rist# "License"); you may not use this file except in compliance 9*3eeae035SAndrew Rist# with the License. You may obtain a copy of the License at 10*3eeae035SAndrew Rist# 11*3eeae035SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*3eeae035SAndrew Rist# 13*3eeae035SAndrew Rist# Unless required by applicable law or agreed to in writing, 14*3eeae035SAndrew Rist# software distributed under the License is distributed on an 15*3eeae035SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3eeae035SAndrew Rist# KIND, either express or implied. See the License for the 17*3eeae035SAndrew Rist# specific language governing permissions and limitations 18*3eeae035SAndrew Rist# under the License. 19*3eeae035SAndrew Rist# 20*3eeae035SAndrew Rist#************************************************************** 21*3eeae035SAndrew Rist 22*3eeae035SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=..$/.. 25cdf0e10cSrcweir 26cdf0e10cSrcweir 27cdf0e10cSrcweirPRJNAME=i18npool 28cdf0e10cSrcweirTARGET=locale 29cdf0e10cSrcweir 30cdf0e10cSrcweirTARGETTYPE=CUI 31cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 32cdf0e10cSrcweir 33cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 34cdf0e10cSrcweir 35cdf0e10cSrcweir.INCLUDE : settings.mk 36cdf0e10cSrcweir 37cdf0e10cSrcweir.IF "$(OS)" == "SOLARIS" 38cdf0e10cSrcweir# the xmlparser build breaks in this header file 39cdf0e10cSrcweir# 40cdf0e10cSrcweir# /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits 41cdf0e10cSrcweir# 42cdf0e10cSrcweir# which defines a class with member functions called min() and max(). 43cdf0e10cSrcweir# the build breaks because in solar.h, there is something like this 44cdf0e10cSrcweir# 45cdf0e10cSrcweir# #define max(x,y) ((x) < (y) ? (y) : (x)) 46cdf0e10cSrcweir# #define min(x,y) ((x) < (y) ? (x) : (y)) 47cdf0e10cSrcweir# 48cdf0e10cSrcweir# so the only choice is to prevent "CC/Cstd/./limits" from being 49cdf0e10cSrcweir# included: 50cdf0e10cSrcweirCDEFS+=-D__STD_LIMITS 51cdf0e10cSrcweir.ENDIF 52cdf0e10cSrcweir 53cdf0e10cSrcweir# --- Files -------------------------------------------------------- 54cdf0e10cSrcweir 55cdf0e10cSrcweirSLOFILES= $(SLO)$/localedata.obj 56cdf0e10cSrcweir 57cdf0e10cSrcweirOBJFILES = \ 58cdf0e10cSrcweir $(OBJ)$/saxparser.obj \ 59cdf0e10cSrcweir $(OBJ)$/LocaleNode.obj \ 60cdf0e10cSrcweir $(OBJ)$/filewriter.obj 61cdf0e10cSrcweir 62cdf0e10cSrcweirAPP1TARGET = saxparser 63cdf0e10cSrcweirAPP1RPATH = NONE 64cdf0e10cSrcweir 65cdf0e10cSrcweirAPP1OBJS = $(OBJFILES) 66cdf0e10cSrcweir 67cdf0e10cSrcweirAPP1STDLIBS = \ 68cdf0e10cSrcweir $(SALLIB) \ 69cdf0e10cSrcweir $(CPPULIB) \ 70cdf0e10cSrcweir $(CPPUHELPERLIB) 71cdf0e10cSrcweir 72cdf0e10cSrcweirDEPOBJFILES = \ 73cdf0e10cSrcweir $(OBJ)$/saxparser.obj \ 74cdf0e10cSrcweir $(OBJ)$/LocaleNode.obj \ 75cdf0e10cSrcweir $(OBJ)$/filewriter.obj 76cdf0e10cSrcweir 77cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 78cdf0e10cSrcweir 79cdf0e10cSrcweir.INCLUDE : target.mk 80cdf0e10cSrcweir 81