xref: /aoo41x/main/unoxml/Library_unoxml.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2009 by Sun Microsystems, Inc.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.	If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,unoxml))
29
30$(eval $(call gb_Library_set_componentfile,unoxml,unoxml/source/service/unoxml))
31
32$(eval $(call gb_Library_set_include,unoxml,\
33	$$(INCLUDE) \
34	-I$(OUTDIR)/inc/offuh \
35))
36
37$(eval $(call gb_Library_set_defs,unoxml,\
38	$$(DEFS) \
39))
40
41$(eval $(call gb_Library_add_linked_libs,unoxml,\
42    ucbhelper \
43	sax \
44	comphelper \
45	cppuhelper \
46	cppu \
47	sal \
48	stl \
49    xml2 \
50    $(gb_STDLIBS) \
51))
52
53$(eval $(call gb_Library_add_exception_objects,unoxml,\
54	unoxml/source/dom/node \
55	unoxml/source/dom/document \
56	unoxml/source/dom/element \
57	unoxml/source/dom/attr \
58	unoxml/source/dom/cdatasection \
59	unoxml/source/dom/characterdata \
60	unoxml/source/dom/comment \
61	unoxml/source/dom/documentbuilder \
62	unoxml/source/dom/documentfragment \
63	unoxml/source/dom/documenttype \
64	unoxml/source/dom/entity \
65	unoxml/source/dom/entityreference \
66	unoxml/source/dom/notation \
67	unoxml/source/dom/processinginstruction \
68	unoxml/source/dom/text \
69	unoxml/source/dom/domimplementation \
70	unoxml/source/dom/elementlist \
71	unoxml/source/dom/childlist \
72	unoxml/source/dom/notationsmap \
73	unoxml/source/dom/entitiesmap \
74	unoxml/source/dom/attributesmap \
75	unoxml/source/dom/saxbuilder \
76	unoxml/source/xpath/xpathobject \
77	unoxml/source/xpath/nodelist \
78	unoxml/source/xpath/xpathapi \
79	unoxml/source/events/event \
80	unoxml/source/events/eventdispatcher \
81	unoxml/source/events/mutationevent \
82	unoxml/source/events/uievent \
83	unoxml/source/events/mouseevent \
84	unoxml/source/events/testlistener \
85	unoxml/source/service/services \
86))
87
88ifeq ($(SYSTEM_LIBXML),YES)
89$(eval $(call gb_Library_set_cxxflags,unoxml,\
90	$$(CXXFLAGS) \
91	-DSYSTEM_LIBXML $$(LIBXML_CFLAGS) \
92))
93endif
94
95# vim: set noet sw=4 ts=4:
96
97