feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since e83c895 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
|
Line | |
---|
1 | pkgpython_PYTHON = __init__.py onsetcompare.py\ |
---|
2 | gnuplot.py median.py txtfile.py aubioclass.py |
---|
3 | |
---|
4 | nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so |
---|
5 | |
---|
6 | CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py |
---|
7 | |
---|
8 | all: _aubiowrapper.so |
---|
9 | |
---|
10 | # removed -Wall -Wmissing-prototypes -Wmissing-declarations |
---|
11 | CFLAGS = -fPIC -DJACK_SUPPORT -Werror -Wno-char-subscripts \ |
---|
12 | -Wno-unknown-pragmas $(SWCFLAGS) \ |
---|
13 | -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \ |
---|
14 | -I/usr/include/python${PYTHON_VERSION} \ |
---|
15 | -I${prefix}/include/python${PYTHON_VERSION} \ |
---|
16 | -I/usr/include \ |
---|
17 | -I${prefix}/include |
---|
18 | |
---|
19 | LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio |
---|
20 | |
---|
21 | aubio_wrap.c: |
---|
22 | $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../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 |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.