ref: e997b1af642cbc14d067302f897f90d740571bf2
dir: /swig/Makefile.am/
EXTRA_DIST = aubio.i PYTHON_DIR = ../python/aubio SWIG = swig #SW_FLAGS = -c++ # removed -Wall -Wmissing-prototypes -Wmissing-declarations SW_CFLAGS = -DJACK_SUPPORT -shared -Werror -Wno-char-subscripts -Wno-unknown-pragmas #SW_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations SWINCLUDE = -I/usr/include/python2.3 -I../src -I/usr/include SWLDFLAGS = -L../src/.libs -laubio all: $(SWIG) $(SW_FLAGS) -outdir $(PYTHON_DIR) -python aubio.i $(CC) $(SW_CFLAGS) -c aubio_wrap.c $(SWINCLUDE) $(CC) $(SW_CFLAGS) aubio_wrap.o -o $(PYTHON_DIR)/_aubiowrapper.so $(SWLDFLAGS) install: $(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(INSTALL) $(PYTHON_DIR)/_aubiowrapper.so $(DESTDIR)$(pkgpythondir) $(INSTALL) -m644 $(PYTHON_DIR)/aubiowrapper.py $(DESTDIR)$(pkgpythondir) clean: rm -f aubio_wrap.{c,o} $(PYTHON_DIR)/{_aubiowrapper.so,aubiowrapper.py,aubiowrapper.pyc} distclean: clean