use "LibreOffice" instead of "LibO" for final download file names
[LibreOffice.git] / i18npool / Executable_saxparser.mk
blobce47a701a9c8fa596eb488f6c1f45b26a46448d3
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_sdk_api,saxparser))
37 $(eval $(call gb_Executable_use_libraries,saxparser,\
38 comphelper \
39 cppu \
40 cppuhelper \
41 sal \
42 $(gb_UWINAPI) \
45 $(eval $(call gb_Executable_add_exception_objects,saxparser,\
46 i18npool/source/localedata/LocaleNode \
47 i18npool/source/localedata/filewriter \
48 i18npool/source/localedata/saxparser \
51 ifeq ($(OS),SOLARIS)
52 # the xmlparser build breaks in this header file
54 # /opt/SUNWspro/WS6U1/include/CC/Cstd/./limits
56 # which defines a class with member functions called min() and max().
57 # the build breaks because in solar.h, there is something like this
59 # #define max(x,y) ((x) < (y) ? (y) : (x))
60 # #define min(x,y) ((x) < (y) ? (x) : (y))
62 # so the only choice is to prevent "CC/Cstd/./limits" from being included:
63 $(eval $(call gb_Executable_add_defs,saxparser,\
64 -D__STD_LIMITS \
66 endif
68 # vim: set noet sw=4 ts=4: