Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / i18npool / Executable_saxparser.mk
blobcbd01f8c07d175c3251793910307989cdc0930d5
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Executable_Executable,saxparser))
31 $(eval $(call gb_Executable_set_include,saxparser,\
32 $$(INCLUDE) \
35 $(eval $(call gb_Executable_use_api,saxparser,\
36 udkapi \
37 offapi \
40 $(eval $(call gb_Executable_use_libraries,saxparser,\
41 cppu \
42 cppuhelper \
43 sal \
44 $(gb_STDLIBS) \
47 $(eval $(call gb_Executable_add_exception_objects,saxparser,\
48 i18npool/source/localedata/LocaleNode \
49 i18npool/source/localedata/filewriter \
50 i18npool/source/localedata/saxparser \
53 ifeq ($(OS),SOLARIS)
54 # the xmlparser build breaks in this header file
56 # /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits
58 # which defines a class with member functions called min() and max().
59 # the build breaks because in solar.h, there is something like this
61 # #define max(x,y) ((x) < (y) ? (y) : (x))
62 # #define min(x,y) ((x) < (y) ? (x) : (y))
64 # so the only choice is to prevent "CC/Cstd/./limits" from being included:
65 $(eval $(call gb_Executable_add_defs,saxparser,\
66 -D__STD_LIMITS \
68 endif
70 # vim: set noet sw=4 ts=4: