bump product version to 5.0.4.1
[LibreOffice.git] / xmlhelp / Library_ucpchelp1.mk
blob245d052d506a3c1fde0b576d4b3e17c9b6a3fe57
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_Library_Library,ucpchelp1))
12 $(eval $(call gb_Library_set_componentfile,ucpchelp1,xmlhelp/util/ucpchelp1))
14 # TODO: is this still relevant?
15 # GCC versions 4.2.x introduced a warning "allocating zero-element array"
16 # Allocating zero-element arrays is an allowed if not somewhat dubious
17 # technique though, so this warning is plain wrong and has been fixed
18 # in gcc 4.3. Unfortunately there is no way at all to suppress this warning.
19 # Some files in this directory use zero allocated arrays, we need to
20 # diable the WaE mechanism for the GCC 4.2.x series.
21 # .IF "$(COM)"=="GCC"
22 # .IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
23 # CFLAGSWERRCXX:=
24 # .ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
25 # .ENDIF # "$(COM)"=="GCC"
27 ifeq ($(OS)$(COM),WNTMSC)
28 $(eval $(call gb_Library_add_cxxflags,ucpchelp1,\
29 -GR \
31 endif
33 $(eval $(call gb_Library_set_include,ucpchelp1,\
34 -I$(SRCDIR)/xmlhelp/source/cxxhelp/inc \
35 $$(INCLUDE) \
38 $(eval $(call gb_Library_use_sdk_api,ucpchelp1))
40 $(eval $(call gb_Library_use_externals,ucpchelp1,\
41 boost_headers \
42 clucene \
43 expat \
44 libxml2 \
45 libxslt \
48 $(eval $(call gb_Library_use_libraries,ucpchelp1,\
49 comphelper \
50 cppu \
51 cppuhelper \
52 helplinker \
53 sal \
54 ucbhelper \
55 utl \
56 i18nlangtag \
57 vcl \
60 $(eval $(call gb_Library_add_exception_objects,ucpchelp1,\
61 xmlhelp/source/cxxhelp/provider/bufferedinputstream \
62 xmlhelp/source/cxxhelp/provider/content \
63 xmlhelp/source/cxxhelp/provider/contentcaps \
64 xmlhelp/source/cxxhelp/provider/databases \
65 xmlhelp/source/cxxhelp/provider/db \
66 xmlhelp/source/cxxhelp/provider/inputstream \
67 xmlhelp/source/cxxhelp/provider/provider \
68 xmlhelp/source/cxxhelp/provider/resultset \
69 xmlhelp/source/cxxhelp/provider/resultsetbase \
70 xmlhelp/source/cxxhelp/provider/resultsetforquery \
71 xmlhelp/source/cxxhelp/provider/resultsetforroot \
72 xmlhelp/source/cxxhelp/provider/services \
73 xmlhelp/source/cxxhelp/provider/urlparameter \
74 xmlhelp/source/cxxhelp/qe/DocGenerator \
75 xmlhelp/source/cxxhelp/util/Decompressor \
76 xmlhelp/source/treeview/tvfactory \
77 xmlhelp/source/treeview/tvread \
80 # vim: set shiftwidth=4 tabstop=4 noexpandtab: