Mercurial > hg > libxtract
annotate swig/python/Makefile.am @ 103:1cbbe5b5e461
- Added some previously uncommitted Pd testing examples
- Improved python bindings. Now we can do vector features as well as scalar from Python
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Fri, 21 Dec 2007 11:05:20 +0000 |
parents | 525bfdf936c6 |
children | 0d49e1502159 |
rev | line source |
---|---|
jamie@88 | 1 MAINTAINERCLEANFILES = xtract.py xtract_wrap.c Makefile.in _xtract.so |
jamie@88 | 2 |
jamie@88 | 3 BUILT_SOURCES = $(srcdir)/xtract_wrap.c |
jamie@88 | 4 SWIG_SOURCES = ../xtract.i |
jamie@88 | 5 |
jamie@88 | 6 pkgpython_PYTHON = xtract.py |
jamie@88 | 7 pkgpyexec_LTLIBRARIES = _xtract.la |
jamie@88 | 8 _xtract_la_SOURCES = $(srcdir)/xtract_wrap.c $(SWIG_SOURCES) |
jamie@88 | 9 _xtract_la_CFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src |
jamie@88 | 10 _xtract_la_LDFLAGS = -module -lxtract |
jamie@88 | 11 _xtract_la_LIBADD = $(top_srcdir)/src/libxtract.la |
jamie@88 | 12 |
jamie@88 | 13 xtract_wrap.c : $(SWIG_SOURCES) |
jamie@88 | 14 $(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -o $@ $< |
jamie@88 | 15 |
jamie@88 | 16 clean-local: |
jamie@88 | 17 -rm -f _xtract.so xtract.py xtract_wrap.c xtract.pyc |
jamie@88 | 18 |