xref: /trunk/main/xmlscript/Library_xcr.mk (revision b63233d8)
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,xcr))
25
26$(eval $(call gb_Library_add_package_headers,xcr,xmlscript_inc))
27
28$(eval $(call gb_Library_set_componentfile,xcr,xmlscript/util/xcr))
29
30$(eval $(call gb_Library_add_api,xcr,\
31	udkapi \
32	offapi \
33))
34
35$(eval $(call gb_Library_set_include,xcr,\
36	-I$(SRCDIR)/xmlscript/source/inc \
37	-I$(SRCDIR)/xmlscript/inc/xmlscript \
38	-I$(SRCDIR)/xmlscript/inc/pch \
39	$$(INCLUDE) \
40))
41
42$(eval $(call gb_Library_add_defs,xcr,\
43	-DXCR_DLLIMPLEMENTATION \
44))
45
46$(eval $(call gb_Library_add_linked_libs,xcr,\
47	sal \
48	cppu \
49	cppuhelper \
50	stl \
51    $(gb_STDLIBS) \
52))
53
54$(eval $(call gb_Library_add_exception_objects,xcr,\
55	xmlscript/source/xmldlg_imexp/xmldlg_impmodels \
56	xmlscript/source/xmldlg_imexp/xmldlg_import \
57	xmlscript/source/xmldlg_imexp/xmldlg_addfunc \
58	xmlscript/source/xmldlg_imexp/xmldlg_export \
59	xmlscript/source/xmldlg_imexp/xmldlg_expmodels \
60	xmlscript/source/misc/unoservices \
61	xmlscript/source/xml_helper/xml_byteseq \
62	xmlscript/source/xml_helper/xml_impctx \
63	xmlscript/source/xml_helper/xml_element \
64	xmlscript/source/xmlflat_imexp/xmlbas_import \
65	xmlscript/source/xmlflat_imexp/xmlbas_export \
66	xmlscript/source/xmllib_imexp/xmllib_import \
67	xmlscript/source/xmllib_imexp/xmllib_export \
68	xmlscript/source/xmlmod_imexp/xmlmod_import \
69	xmlscript/source/xmlmod_imexp/xmlmod_export \
70))
71
72# vim: set noet sw=4 ts=4:
73