source: python/aubio/Makefile.am @ 8e25b1b

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 8e25b1b 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
Line 
1pkgpython_PYTHON = __init__.py onsetcompare.py\
2        gnuplot.py median.py txtfile.py aubioclass.py
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
11CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \
12        -Wno-unknown-pragmas $(SWCFLAGS) \
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
19LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
20
21aubio_wrap.c:
22        $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
23
24_aubiowrapper.so: aubio_wrap.c
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.