summaryrefslogtreecommitdiff
path: root/sax/StaticLibrary_sax_shared.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-24 20:11:45 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-24 23:22:42 +0200
commit5b57402ac40470605fbb31ebccbc8da4a5506089 (patch)
tree39b3a4e6885307a5204b21b2bb3c47c1937cd97d /sax/StaticLibrary_sax_shared.mk
parent06f611210cf487dcd32aa7ccfaae5ed80124e439 (diff)
sax: avoid pointless linking expwrap against sax
..only to share one class with fastsax in sax, where it's not used. The link dependency is ugly, mostly for libmerged. Use static library. Another option would be to link fastsax against expwrap. Change-Id: Ia85b01150959e2472d1ac04013b8b9a27232a070
Diffstat (limited to 'sax/StaticLibrary_sax_shared.mk')
-rw-r--r--sax/StaticLibrary_sax_shared.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/sax/StaticLibrary_sax_shared.mk b/sax/StaticLibrary_sax_shared.mk
new file mode 100644
index 000000000000..cdbc3c88843f
--- /dev/null
+++ b/sax/StaticLibrary_sax_shared.mk
@@ -0,0 +1,23 @@
+# -*- 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_StaticLibrary_StaticLibrary,sax_shared))
+
+$(eval $(call gb_StaticLibrary_set_include,sax_shared,\
+ -I$(SRCDIR)/sax/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_StaticLibrary_use_sdk_api,sax_shared))
+
+$(eval $(call gb_StaticLibrary_add_exception_objects,sax_shared,\
+ sax/source/expatwrap/xml2utf \
+))
+
+# vim: set noet sw=4 ts=4: