xref: /aoo42x/main/unoxml/Library_unordf.mk (revision 7871dc3e)
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,unordf))
25
26$(eval $(call gb_Library_set_componentfile,unordf,unoxml/source/rdf/unordf))
27
28$(eval $(call gb_Library_set_include,unordf,\
29	$$(INCLUDE) \
30	-I$(OUTDIR)/inc/offuh \
31))
32
33$(eval $(call gb_Library_set_defs,unordf,\
34	$$(DEFS) \
35))
36
37$(eval $(call gb_Library_add_linked_libs,unordf,\
38	cppuhelper \
39	cppu \
40	sal \
41	stl \
42	rdf \
43	xslt \
44    $(gb_STDLIBS) \
45))
46
47$(eval $(call gb_Library_add_exception_objects,unordf,\
48	unoxml/source/rdf/CBlankNode \
49	unoxml/source/rdf/CURI \
50	unoxml/source/rdf/CLiteral \
51	unoxml/source/rdf/librdf_repository \
52	unoxml/source/rdf/librdf_services \
53))
54
55ifeq ($(SYSTEM_REDLAND),YES)
56$(eval $(call gb_Library_set_cxxflags,unordf,\
57	$$(CXXFLAGS) \
58	-DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \
59))
60endif
61
62ifeq ($(SYSTEM_LIBXSLT),YES)
63$(eval $(call gb_Library_set_cxxflags,unordf,\
64	$$(CXXFLAGS) \
65	$$(LIBXSLT_CFLAGS) \
66))
67endif
68
69# vim: set noet sw=4 ts=4:
70
71