summaryrefslogtreecommitdiff
path: root/pyuno/Executable_python.mk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-03 22:47:30 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-03 23:44:12 +0100
commitfd7cf77ad5e353d4332ed65dfa4252c841cd85f7 (patch)
tree79e2176fd445d711b23f6a92ce157a91b58868ee /pyuno/Executable_python.mk
parentb3ccc2360492a0d50e4c86195836a840cd3d419a (diff)
pyuno: rename Executable_python_wrapper.mk
Change-Id: I653cb0e36c1faa622ecc90e0316a1f1fd1e843db
Diffstat (limited to 'pyuno/Executable_python.mk')
-rw-r--r--pyuno/Executable_python.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/pyuno/Executable_python.mk b/pyuno/Executable_python.mk
new file mode 100644
index 000000000000..2f96404b7ae2
--- /dev/null
+++ b/pyuno/Executable_python.mk
@@ -0,0 +1,24 @@
+# -*- 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_Executable_Executable,python))
+
+$(eval $(call gb_Executable_add_defs,python,\
+ -DMY_PYVERSION=L\"$(PYTHON_VERSION)\" \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,python,\
+ ooopathutils \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,python,\
+ pyuno/zipcore/python \
+))
+
+# vim:set noet sw=4 ts=4: