summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorKarel Zak2013-08-19 14:57:21 +0200
committerKarel Zak2013-08-19 14:57:21 +0200
commitd78df0ac6546bfe5500ca97f2bf05153d93e1eef (patch)
treeb8a3d6b9cbe97c945b487ab7ef9488d08ccb0bb5 /libmount/python
parentbuild-sys: remove deprecated elvtune command (diff)
downloadkernel-qcow2-util-linux-d78df0ac6546bfe5500ca97f2bf05153d93e1eef.tar.gz
kernel-qcow2-util-linux-d78df0ac6546bfe5500ca97f2bf05153d93e1eef.tar.xz
kernel-qcow2-util-linux-d78df0ac6546bfe5500ca97f2bf05153d93e1eef.zip
build-sys: add pylibmount
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
new file mode 100644
index 000000000..30946d635
--- /dev/null
+++ b/libmount/python/Makemodule.am
@@ -0,0 +1,21 @@
+
+if BUILD_PYLIBMOUNT
+pyexec_LTLIBRARIES += pylibmount.la
+
+pylibmount_la_SOURCES =
+
+pylibmount_la_LIBADD = libmount.la -lpython$(PYTHON_VERSION)
+
+pylibmount_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(PYTHON_INCLUDES) \
+ $(PYTHON_CFLAGS) \
+ -I$(ul_libmount_incdir) \
+ -fno-strict-aliasing #-ggdb3 -O0
+
+pylibmount_la_LDFLAGS = \
+ -avoid-version -module -shared -export-dynamic
+
+CLEANFILES += *.img
+
+endif # BUILD_PYLIBMOUNT