summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-20 09:31:07 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-20 09:31:07 +0000
commitffa64315e95b822a0d9a365c5ab062db40d3140e (patch)
treececc394774e25e09f90ca44584b8af3f14303506 /python
parent9dba8d3fc1629db5e42b6eed1437ecde21c1b77f (diff)
downloadlasso-ffa64315e95b822a0d9a365c5ab062db40d3140e.tar.gz
lasso-ffa64315e95b822a0d9a365c5ab062db40d3140e.tar.xz
lasso-ffa64315e95b822a0d9a365c5ab062db40d3140e.zip
install lasso.py (and cleaned a bit the Makefile.am)
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am42
1 files changed, 18 insertions, 24 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 11511f9c..301c5eb2 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,25 +1,23 @@
-NULL=
-
-INCLUDES=-I$(top_srcdir)/lasso -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir)/lasso -I$(top_srcdir)
pythondir= $(PY_SITE_PACKAGES)
-python_DATA=lassomod.py
-python_LTLIBRARIES=_lassomod.la
+python_DATA = lassomod.py lasso.py
+python_LTLIBRARIES = _lassomod.la
PYTHON_PACKAGE=lassomod
-_lassomod_la_SOURCES=$(PYTHON_PACKAGE)_wrap.c \
+
+_lassomod_la_SOURCES = $(PYTHON_PACKAGE)_wrap.c \
$(top_srcdir)/swig/Lasso.c
-_lassomod_la_CFLAGS= $(LASSO_CFLAGS) \
+
+_lassomod_la_CFLAGS = $(LASSO_CFLAGS) \
-DSWIG_COBJECT_TYPES \
- $(PY_CFLAGS) \
- $(NULL)
-_lassomod_la_LIBADD= $(top_builddir)/lasso/liblasso.la \
- $(LASSO_LIBS) \
- $(NULL)
-_lassomod_la_LDFLAGS= -no-undefined \
- -module -avoid-version \
- -version-info @LASSO_VERSION_INFO@ \
- $(NULL)
+ $(PY_CFLAGS)
+
+_lassomod_la_LIBADD = $(top_builddir)/lasso/liblasso.la \
+ $(LASSO_LIBS)
+
+_lassomod_la_LDFLAGS = -no-undefined \
+ -module -avoid-version
$(PYTHON_PACKAGE)_wrap.c $(PYTHON_PACKAGE).py: $(srcdir)/../swig/Lasso.i
$(SWIG) -v -python -module $(PYTHON_PACKAGE) -o $(PYTHON_PACKAGE)_wrap.c $<
@@ -29,19 +27,15 @@ $(PYTHON_PACKAGE)_wrap.c $(PYTHON_PACKAGE).py: $(srcdir)/../swig/Lasso.i
mkdir -p .deps
echo "#dummy" > .deps/_$(PYTHON_PACKAGE)_la-$(PYTHON_PACKAGE)_wrap.Plo
-SWIG_OUTPUTS=$(PYTHON_PACKAGE)_wrap.c $(PYTHON_PACKAGE).py
-
+SWIG_OUTPUTS = $(PYTHON_PACKAGE)_wrap.c $(PYTHON_PACKAGE).py
-SUBDIRS= \
- $(NULL)
# In distribution, swig generated files are present.
-EXTRA_DIST= $(SWIG_OUTPUTS)\
- $(NULL)
+EXTRA_DIST = $(SWIG_OUTPUTS) lasso.py
# In case of....
-CLEANFILES=lassomod.pyc
+CLEANFILES = *.pyc
# Maintainer clean the swig generated files, because he/she maintains them.
-MAINTAINERCLEANFILES=$(SWIG_OUTPUTS)
+MAINTAINERCLEANFILES = $(SWIG_OUTPUTS)