1#************************************************************************* 2#* 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************/ 27 28PRJ=..$/.. 29 30 31PRJNAME=i18npool 32TARGET=locale 33 34TARGETTYPE=CUI 35ENABLE_EXCEPTIONS=TRUE 36 37# --- Settings ----------------------------------------------------- 38 39.INCLUDE : settings.mk 40 41.IF "$(OS)" == "SOLARIS" 42# the xmlparser build breaks in this header file 43# 44# /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits 45# 46# which defines a class with member functions called min() and max(). 47# the build breaks because in solar.h, there is something like this 48# 49# #define max(x,y) ((x) < (y) ? (y) : (x)) 50# #define min(x,y) ((x) < (y) ? (x) : (y)) 51# 52# so the only choice is to prevent "CC/Cstd/./limits" from being 53# included: 54CDEFS+=-D__STD_LIMITS 55.ENDIF 56 57# --- Files -------------------------------------------------------- 58 59SLOFILES= $(SLO)$/localedata.obj 60 61OBJFILES = \ 62 $(OBJ)$/saxparser.obj \ 63 $(OBJ)$/LocaleNode.obj \ 64 $(OBJ)$/filewriter.obj 65 66APP1TARGET = saxparser 67APP1RPATH = NONE 68 69APP1OBJS = $(OBJFILES) 70 71APP1STDLIBS = \ 72 $(SALLIB) \ 73 $(CPPULIB) \ 74 $(CPPUHELPERLIB) 75 76DEPOBJFILES = \ 77 $(OBJ)$/saxparser.obj \ 78 $(OBJ)$/LocaleNode.obj \ 79 $(OBJ)$/filewriter.obj 80 81# --- Targets ------------------------------------------------------ 82 83.INCLUDE : target.mk 84 85