summaryrefslogtreecommitdiffstats
path: root/python/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
new file mode 100644
index 00000000..7966cf03
--- /dev/null
+++ b/python/Makefile.am
@@ -0,0 +1,31 @@
+SUBDIRS = doc environs examples protocols tests xml
+
+INCLUDES = \
+ -DPACKAGE=\"@PACKAGE@\" \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/lasso \
+ $(LASSO_DEFINES) \
+ $(LASSO_CFLAGS) \
+ $(PY_CFLAGS)
+
+pythondir = $(PY_DYNLOAD)
+python_LTLIBRARIES = lassomod.la
+
+pythonspdir = $(PY_SITE_PACKAGES)
+pythonsp_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
+
+
+EXTRA_DIST = lassomod.h py_lasso.h utils.h wrap_objs.h \
+ generator_lasso_strings.py lasso.py lasso_strings.py setup.py
+
+