xref: /aoo42x/main/unoxml/Library_unoxml.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,unoxml))
25
26$(eval $(call gb_Library_set_componentfile,unoxml,unoxml/source/service/unoxml))
27
28$(eval $(call gb_Library_set_include,unoxml,\
29	$$(INCLUDE) \
30	-I$(OUTDIR)/inc/offuh \
31))
32
33$(eval $(call gb_Library_set_defs,unoxml,\
34	$$(DEFS) \
35))
36
37$(eval $(call gb_Library_add_linked_libs,unoxml,\
38    ucbhelper \
39	sax \
40	comphelper \
41	cppuhelper \
42	cppu \
43	sal \
44	stl \
45    xml2 \
46    $(gb_STDLIBS) \
47))
48
49$(eval $(call gb_Library_add_exception_objects,unoxml,\
50	unoxml/source/dom/node \
51	unoxml/source/dom/document \
52	unoxml/source/dom/element \
53	unoxml/source/dom/attr \
54	unoxml/source/dom/cdatasection \
55	unoxml/source/dom/characterdata \
56	unoxml/source/dom/comment \
57	unoxml/source/dom/documentbuilder \
58	unoxml/source/dom/documentfragment \
59	unoxml/source/dom/documenttype \
60	unoxml/source/dom/entity \
61	unoxml/source/dom/entityreference \
62	unoxml/source/dom/notation \
63	unoxml/source/dom/processinginstruction \
64	unoxml/source/dom/text \
65	unoxml/source/dom/domimplementation \
66	unoxml/source/dom/elementlist \
67	unoxml/source/dom/childlist \
68	unoxml/source/dom/notationsmap \
69	unoxml/source/dom/entitiesmap \
70	unoxml/source/dom/attributesmap \
71	unoxml/source/dom/saxbuilder \
72	unoxml/source/xpath/xpathobject \
73	unoxml/source/xpath/nodelist \
74	unoxml/source/xpath/xpathapi \
75	unoxml/source/events/event \
76	unoxml/source/events/eventdispatcher \
77	unoxml/source/events/mutationevent \
78	unoxml/source/events/uievent \
79	unoxml/source/events/mouseevent \
80	unoxml/source/events/testlistener \
81	unoxml/source/service/services \
82))
83
84ifeq ($(SYSTEM_LIBXML),YES)
85$(eval $(call gb_Library_set_cxxflags,unoxml,\
86	$$(CXXFLAGS) \
87	-DSYSTEM_LIBXML $$(LIBXML_CFLAGS) \
88))
89endif
90
91# vim: set noet sw=4 ts=4:
92
93