view swig/python/Makefile.am @ 98:ca40a0dc29d6

Removed fftw_plan from xtraction functions. Created new init function xtract_init_fft() for creating plans, which have global scope. Updated examples to reflect the change. New configure option: --with-fft_optimisation (0 = FFTW_ESTIMATE, 1 = FFTW_MEASURE, 2 = FFTW_PATIENT).
author Jamie Bullock <jamie@postlude.co.uk>
date Sat, 06 Oct 2007 16:36:00 +0000
parents 525bfdf936c6
children 0d49e1502159
line wrap: on
line source
MAINTAINERCLEANFILES = xtract.py xtract_wrap.c Makefile.in _xtract.so

BUILT_SOURCES = $(srcdir)/xtract_wrap.c
SWIG_SOURCES = ../xtract.i

pkgpython_PYTHON = xtract.py
pkgpyexec_LTLIBRARIES = _xtract.la
_xtract_la_SOURCES = $(srcdir)/xtract_wrap.c $(SWIG_SOURCES)
_xtract_la_CFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src
_xtract_la_LDFLAGS = -module -lxtract
_xtract_la_LIBADD = $(top_srcdir)/src/libxtract.la

xtract_wrap.c : $(SWIG_SOURCES)
	$(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -o $@ $<

clean-local:
	-rm -f _xtract.so xtract.py xtract_wrap.c xtract.pyc