Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / helpcompiler / Library_helplinker.mk
blob405ad80d4fa4e7eb8e386cd30d8add5f9ceadf21
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 # Major Contributor(s):
15 # Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
17 # All Rights Reserved.
19 # For minor contributions see the git repository.
21 # Alternatively, the contents of this file may be used under the terms of
22 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
23 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
24 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
25 # instead of those above.
27 $(eval $(call gb_Library_Library,helplinker))
29 $(eval $(call gb_Library_use_package,helplinker,\
30 helpcompiler_inc\
33 $(eval $(call gb_Library_add_defs,helplinker,\
34 -DL10N_DLLIMPLEMENTATION \
35 -DHELPLINKER_DLLIMPLEMENTATION \
38 ifeq ($(HAVE_CXX0X),TRUE)
39 $(eval $(call gb_Library_add_defs,helplinker,\
40 -DHAVE_CXX0X \
42 endif
44 $(eval $(call gb_Library_use_libraries,helplinker,\
45 sal \
48 $(eval $(call gb_Library_use_externals,helplinker,\
49 expat_utf8 \
50 libxslt \
51 libxml2 \
52 clucene \
55 $(eval $(call gb_Library_add_exception_objects,helplinker,\
56 helpcompiler/source/HelpCompiler \
57 helpcompiler/source/LuceneHelper \
58 helpcompiler/source/HelpIndexer \
59 helpcompiler/source/HelpSearch \
62 ifeq ($(strip $(OS)$(CPU)$(COM)),MACOSXPGCC)
63 $(eval $(call gb_Library_add_cxxobjects,helplinker,\
64 helpcompiler/source/HelpLinker \
65 , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
67 else
68 $(eval $(call gb_Library_add_exception_objects,helplinker,\
69 helpcompiler/source/HelpLinker \
71 endif
73 # vim: set noet sw=4 ts=4: