xref: /aoo4110/main/unoxml/Library_unordf.mk (revision b1cdbd2c)
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	xml2 \
44	xslt \
45    $(gb_STDLIBS) \
46))
47
48$(eval $(call gb_Library_add_exception_objects,unordf,\
49	unoxml/source/rdf/CBlankNode \
50	unoxml/source/rdf/CURI \
51	unoxml/source/rdf/CLiteral \
52	unoxml/source/rdf/librdf_repository \
53	unoxml/source/rdf/librdf_services \
54))
55
56ifeq ($(SYSTEM_REDLAND),YES)
57$(eval $(call gb_Library_set_cxxflags,unordf,\
58	$$(CXXFLAGS) \
59	-DSYSTEM_REDLAND $$(REDLAND_CFLAGS) \
60))
61endif
62
63ifeq ($(SYSTEM_LIBXSLT),YES)
64$(eval $(call gb_Library_set_cxxflags,unordf,\
65	$$(CXXFLAGS) \
66	$$(LIBXSLT_CFLAGS) \
67))
68endif
69
70# vim: set noet sw=4 ts=4:
71
72