summaryrefslogtreecommitdiffstats
path: root/python/Makefile.am
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
commit3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 (patch)
treeedabee11a7b4437cc633d5bda03cf6bcb0ec2611 /python/Makefile.am
parenta3fce007c45a710758c572346ab5a4839bfd6bf8 (diff)
downloadlasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.gz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.xz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.zip
added --enable-python option to ./configure; default is yes.
--enable-python=no to not compile python bindings.
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 32a9f65a..e6d8dc90 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,5 +1,8 @@
SUBDIRS = doc environs examples protocols tests xml
+lassomod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/lasso/.libs
+
+if WITH_PYTHON
INCLUDES = \
-DPACKAGE=\"@PACKAGE@\" \
-I$(top_srcdir) \
@@ -14,16 +17,15 @@ python_DATA = lasso.py lasso_strings.py
mylibs = $(top_builddir)/lasso/liblasso.la
-lassomod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/lasso/.libs
lassomod_la_SOURCES = lassomod.c py_lasso.c utils.c wrap_objs.c
lassomod_la_LIBADD = $(mylibs) \
./protocols/elements/libelements.a \
./protocols/libprotocols.a \
./xml/libxml.a \
./environs/libenvirons.a
-
+endif
EXTRA_DIST = lassomod.h py_lasso.h utils.h wrap_objs.h \
- generator_lasso_strings.py lasso.py lasso_strings.py
-
+ generator_lasso_strings.py lasso.py lasso_strings.py \
+ lassomod.c py_lasso.c utils.c wrap_objs.c