xref: /AOO42X/main/xmlhelp/Library_ucpchelp1.mk (revision e4ed64deae9df3957f9b5281c6880c3c3de84d6c)
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    ucbhelper \
55    $(gb_STDLIBS) \
56))
57
58$(call gb_Library_use_externals,ucpchelp1,\
59    expat_utf8 \
60    libxslt \
61)
62
63$(eval $(call gb_Library_add_exception_objects,ucpchelp1,\
64    xmlhelp/source/cxxhelp/provider/bufferedinputstream \
65    xmlhelp/source/cxxhelp/provider/content \
66    xmlhelp/source/cxxhelp/provider/contentcaps \
67    xmlhelp/source/cxxhelp/provider/databases \
68    xmlhelp/source/cxxhelp/provider/db \
69    xmlhelp/source/cxxhelp/provider/inputstream \
70    xmlhelp/source/cxxhelp/provider/provider \
71    xmlhelp/source/cxxhelp/provider/resultset \
72    xmlhelp/source/cxxhelp/provider/resultsetbase \
73    xmlhelp/source/cxxhelp/provider/resultsetforroot \
74    xmlhelp/source/cxxhelp/provider/resultsetforquery \
75    xmlhelp/source/cxxhelp/provider/services \
76    xmlhelp/source/cxxhelp/provider/urlparameter \
77    xmlhelp/source/cxxhelp/qe/DocGenerator \
78    xmlhelp/source/cxxhelp/util/Decompressor \
79))
80
81# vim: set noet sw=4 ts=4:
82