Bump version to 4.1-6
[LibreOffice.git] / i18npool / Executable_saxparser.mk
blob1eafa516b74f008f0e363d0afcbdafce0bdc3fa8
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Executable_Executable,saxparser))
12 $(eval $(call gb_Executable_use_sdk_api,saxparser))
14 $(eval $(call gb_Executable_use_libraries,saxparser,\
15 cppu \
16 cppuhelper \
17 sal \
18 $(gb_UWINAPI) \
21 $(eval $(call gb_Executable_add_exception_objects,saxparser,\
22 i18npool/source/localedata/LocaleNode \
23 i18npool/source/localedata/filewriter \
24 i18npool/source/localedata/saxparser \
27 ifeq ($(OS),SOLARIS)
28 # the xmlparser build breaks in this header file
30 # /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits
32 # which defines a class with member functions called min() and max().
33 # the build breaks because in solar.h, there is something like this
35 # #define max(x,y) ((x) < (y) ? (y) : (x))
36 # #define min(x,y) ((x) < (y) ? (x) : (y))
38 # so the only choice is to prevent "CC/Cstd/./limits" from being included:
39 $(eval $(call gb_Executable_add_defs,saxparser,\
40 -D__STD_LIMITS \
42 endif
44 # vim: set noet sw=4 ts=4: