annotate swig/python/Makefile.am @ 138:cfb8a5f6ea06

removing unneeded %newobject decl newobject is only for management of a returned object -- it cannot handle nested structures that need complicated teardown
author Tej Chajed <tchajed+github@gmail.com>
date Sun, 02 Dec 2012 13:51:23 -0600
parents 110afbaa8aaa
children 34f6492223b2
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@126 6 pkgpython_PYTHON = xtract.py __init__.py
jamie@88 7 pkgpyexec_LTLIBRARIES = _xtract.la
jamie@88 8 _xtract_la_SOURCES = $(srcdir)/xtract_wrap.c $(SWIG_SOURCES)
jamie@128 9 _xtract_la_CFLAGS = $(AX_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@126 13 $(srcdir)/xtract_wrap.c : $(SWIG_SOURCES)
jamie@126 14 $(SWIG) $(AX_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