source: python/aubio/Makefile.am @ 1397c6e

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 1397c6e was 8e25b1b, checked in by Paul Brossier <piem@altern.org>, 20 years ago

fix compilation of swig/python on macosx

  • Property mode set to 100644
File size: 818 bytes
RevLine 
[96fb8ad]1pkgpython_PYTHON = __init__.py onsetcompare.py\
2        gnuplot.py median.py txtfile.py aubioclass.py
[77494e7]3       
4nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
5
6CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
7
8all: _aubiowrapper.so
9
10# removed -Wall -Wmissing-prototypes -Wmissing-declarations
[8e25b1b]11CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \
12        -Wno-unknown-pragmas $(SWCFLAGS) \
[3050cb8]13        -I../../src -I../../ext \
14        -I/usr/include/python${PYTHON_VERSION} \
15        -I${prefix}/include/python${PYTHON_VERSION} \
16        -I/usr/include \
17        -I${prefix}/include
18
[8e25b1b]19LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
[96fb8ad]20
[77494e7]21aubio_wrap.c:
22        $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
[96fb8ad]23
[77494e7]24_aubiowrapper.so: aubio_wrap.c
[8e25b1b]25        $(CC) $(CFLAGS) -c aubio_wrap.c
26        $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
Note: See TracBrowser for help on using the repository browser.