source: python/aubio/Makefile.am @ 8595fe3

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 8595fe3 was 26d9f8f, checked in by Paul Brossier <piem@altern.org>, 19 years ago

added -fPIC to python module
added -fPIC to python module

  • Property mode set to 100644
File size: 866 bytes
RevLine 
[96fb8ad]1pkgpython_PYTHON = __init__.py onsetcompare.py\
2        gnuplot.py median.py txtfile.py aubioclass.py
[cdebe31]3
[77494e7]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
[26d9f8f]11CFLAGS = -fPIC -DJACK_SUPPORT -Werror -Wno-char-subscripts \
[8e25b1b]12        -Wno-unknown-pragmas $(SWCFLAGS) \
[735c4c4]13        -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \
[3050cb8]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:
[735c4c4]22        $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../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
[cdebe31]27
Note: See TracBrowser for help on using the repository browser.