From 3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Fri, 23 Jul 2004 21:36:47 +0000 Subject: added --enable-python option to ./configure; default is yes. --enable-python=no to not compile python bindings. --- python/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'python/Makefile.am') 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 -- cgit