summaryrefslogtreecommitdiff
path: root/expat/StaticLibrary_expat_x64.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-25 13:02:55 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-25 17:37:34 +0200
commitabc873feb3c805fd1f7c0a4b9b4a236617ec9ff7 (patch)
tree01e78a4a3feac5070eb13089dfc80c5577db0a6d /expat/StaticLibrary_expat_x64.mk
parent2ffde7b17192f76f815ab451f08164519f69887e (diff)
expat: for 64bit 1 static library is enough, only utf16 variant used
Change-Id: I98a3428578b52c6d9d7210a8fb0211876d6f7cae
Diffstat (limited to 'expat/StaticLibrary_expat_x64.mk')
-rw-r--r--expat/StaticLibrary_expat_x64.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/expat/StaticLibrary_expat_x64.mk b/expat/StaticLibrary_expat_x64.mk
new file mode 100644
index 000000000000..bc5b641e18fb
--- /dev/null
+++ b/expat/StaticLibrary_expat_x64.mk
@@ -0,0 +1,34 @@
+# -*- 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,expat_x64))
+
+$(eval $(call gb_StaticLibrary_set_x64,expat_x64,YES))
+
+$(eval $(call gb_StaticLibrary_set_warnings_not_errors,expat_x64))
+
+$(eval $(call gb_StaticLibrary_use_unpacked,expat_x64,expat))
+
+$(eval $(call gb_StaticLibrary_set_include,expat_x64,\
+ -I$(call gb_UnpackedTarball_get_dir,expat) \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_StaticLibrary_add_defs,expat_x64,\
+ -DXML_UNICODE \
+ -DCOMPILED_FROM_DSP \
+))
+
+$(eval $(call gb_StaticLibrary_add_x64_generated_cobjects,expat_x64,\
+ UnpackedTarball/expat/lib/xmlparse_x64 \
+ UnpackedTarball/expat/lib/xmltok_x64 \
+ UnpackedTarball/expat/lib/xmlrole_x64 \
+))
+
+# vim: set noet sw=4 ts=4: