xref: /trunk/main/sax/Library_sax.mk (revision b63233d8)
145ef6fe1SAndrew Rist###############################################################
245ef6fe1SAndrew Rist#
345ef6fe1SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
445ef6fe1SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
545ef6fe1SAndrew Rist#  distributed with this work for additional information
645ef6fe1SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
745ef6fe1SAndrew Rist#  to you under the Apache License, Version 2.0 (the
845ef6fe1SAndrew Rist#  "License"); you may not use this file except in compliance
945ef6fe1SAndrew Rist#  with the License.  You may obtain a copy of the License at
1045ef6fe1SAndrew Rist#
1145ef6fe1SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
1245ef6fe1SAndrew Rist#
1345ef6fe1SAndrew Rist#  Unless required by applicable law or agreed to in writing,
1445ef6fe1SAndrew Rist#  software distributed under the License is distributed on an
1545ef6fe1SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1645ef6fe1SAndrew Rist#  KIND, either express or implied.  See the License for the
1745ef6fe1SAndrew Rist#  specific language governing permissions and limitations
1845ef6fe1SAndrew Rist#  under the License.
1945ef6fe1SAndrew Rist#
2045ef6fe1SAndrew Rist###############################################################
21*b63233d8Sdamjan
22*b63233d8Sdamjan
23*b63233d8Sdamjan
24*b63233d8Sdamjan$(eval $(call gb_Library_Library,sax))
25*b63233d8Sdamjan
26*b63233d8Sdamjan$(eval $(call gb_Library_add_api,sax,\
27*b63233d8Sdamjan	udkapi \
28*b63233d8Sdamjan	offapi \
29*b63233d8Sdamjan))
30*b63233d8Sdamjan
31*b63233d8Sdamjan$(eval $(call gb_Library_add_package_headers,sax,\
32*b63233d8Sdamjan	sax_inc \
33*b63233d8Sdamjan))
34*b63233d8Sdamjan
35*b63233d8Sdamjan$(eval $(call gb_Library_set_include,sax,\
36*b63233d8Sdamjan	$$(INCLUDE) \
37*b63233d8Sdamjan	-I$(SRCDIR)/sax/inc \
38*b63233d8Sdamjan))
39*b63233d8Sdamjan
40*b63233d8Sdamjan$(eval $(call gb_Library_add_defs,sax,\
41*b63233d8Sdamjan	-DSAX_DLLIMPLEMENTATION \
42*b63233d8Sdamjan))
43*b63233d8Sdamjan
44*b63233d8Sdamjan$(eval $(call gb_Library_add_linked_libs,sax,\
45*b63233d8Sdamjan	sal \
46*b63233d8Sdamjan	cppu \
47*b63233d8Sdamjan	cppuhelper \
48*b63233d8Sdamjan	comphelper \
49*b63233d8Sdamjan	stl \
50*b63233d8Sdamjan    $(gb_STDLIBS) \
51*b63233d8Sdamjan))
52*b63233d8Sdamjan
53*b63233d8Sdamjan$(eval $(call gb_Library_add_exception_objects,sax,\
54*b63233d8Sdamjan	sax/source/tools/converter \
55*b63233d8Sdamjan	sax/source/tools/fastattribs \
56*b63233d8Sdamjan	sax/source/tools/fastserializer \
57*b63233d8Sdamjan	sax/source/tools/fshelper \
58*b63233d8Sdamjan))
59*b63233d8Sdamjan
60*b63233d8Sdamjan# vim: set noet sw=4 ts=4:
61