xref: /aoo42x/main/xmlhelp/Library_ucpchelp1.mk (revision 5043aa08)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,ucpchelp1))
25
26$(eval $(call gb_Library_add_precompiled_header,ucpchelp1,$(SRCDIR)/xmlhelp/inc/pch/precompiled_xmlhelp))
27
28$(eval $(call gb_Library_set_componentfile,ucpchelp1,xmlhelp/util/ucpchelp1))
29
30$(eval $(call gb_Library_set_include,ucpchelp1,\
31	$$(INCLUDE) \
32	-I$(SRCDIR)/xmlhelp/inc \
33	-I$(SRCDIR)/xmlhelp/inc/pch \
34	-I$(SRCDIR)/xmlhelp/source/cxxhelp/inc \
35	-I$(SRCDIR)/solenv/inc \
36	-I$(OUTDIR)/inc/stl \
37	-I$(OUTDIR)/inc \
38))
39
40$(eval $(call gb_Library_add_api,ucpchelp1,\
41	offapi \
42	udkapi \
43))
44
45$(eval $(call gb_Library_add_defs,ucpchelp1,\
46	-DHAVE_EXPAT_H \
47))
48
49$(eval $(call gb_Library_add_linked_libs,ucpchelp1,\
50    comphelper \
51    cppu \
52    cppuhelper \
53    sal \
54    stl \
55    ucbhelper \
56    $(gb_STDLIBS) \
57))
58
59$(call gb_Library_use_externals,ucpchelp1,\
60	expat_utf8 \
61	libxml2 \
62	libxslt \
63)
64
65$(eval $(call gb_Library_add_exception_objects,ucpchelp1,\
66    xmlhelp/source/cxxhelp/provider/bufferedinputstream \
67    xmlhelp/source/cxxhelp/provider/content \
68    xmlhelp/source/cxxhelp/provider/contentcaps \
69    xmlhelp/source/cxxhelp/provider/databases \
70    xmlhelp/source/cxxhelp/provider/db \
71    xmlhelp/source/cxxhelp/provider/inputstream \
72    xmlhelp/source/cxxhelp/provider/provider \
73    xmlhelp/source/cxxhelp/provider/resultset \
74    xmlhelp/source/cxxhelp/provider/resultsetbase \
75    xmlhelp/source/cxxhelp/provider/resultsetforroot \
76    xmlhelp/source/cxxhelp/provider/resultsetforquery \
77    xmlhelp/source/cxxhelp/provider/services \
78    xmlhelp/source/cxxhelp/provider/urlparameter \
79    xmlhelp/source/cxxhelp/qe/DocGenerator \
80    xmlhelp/source/cxxhelp/util/Decompressor \
81))
82
83# vim: set noet sw=4 ts=4:
84