summaryrefslogtreecommitdiff
path: root/sax/Library_sax.mk
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-16 06:58:09 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-16 06:58:09 -0500
commit3be786451b6a9accc46a08f0aed4f8d5a8794ffe (patch)
tree64368032bd85bcb8d552a678174effdbd66e04b0 /sax/Library_sax.mk
parent445cb2bcda1d9b186a250a5c2d91d03d3f3888ed (diff)
gbuildification of sax
Change-Id: I6e8220e88566e04b20687d54181205d31ec68e13
Diffstat (limited to 'sax/Library_sax.mk')
-rw-r--r--sax/Library_sax.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/sax/Library_sax.mk b/sax/Library_sax.mk
new file mode 100644
index 000000000000..9b6b8600188a
--- /dev/null
+++ b/sax/Library_sax.mk
@@ -0,0 +1,46 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,sax))
+
+$(eval $(call gb_Library_use_package,sax,\
+ sax_inc \
+))
+
+$(eval $(call gb_Library_use_api,sax,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_use_libraries,sax,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_set_include,sax,\
+ -I$(SRCDIR)/sax/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_defs,sax,\
+ -DSAX_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_exception_objects,sax,\
+ sax/source/expatwrap/xml2utf \
+ sax/source/tools/converter \
+ sax/source/tools/fastattribs \
+ sax/source/tools/fastserializer \
+ sax/source/tools/fshelper \
+))
+
+# vim: set noet sw=4 ts=4: