source: python/aubio/Makefile.am @ aac02a1

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since aac02a1 was 740f06b, checked in by Paul Brossier <piem@piem.org>, 15 years ago

ext/, examples/, swig/, python/, tests/: remove libaubioext, make libsamplerate optional

  • Property mode set to 100644
File size: 1.5 KB
Line 
1nobase_pkgpython_PYTHON = \
2        __init__.py \
3        onsetcompare.py \
4        gnuplot.py \
5        median.py \
6        txtfile.py \
7        aubioclass.py \
8        task/__init__.py \
9        task/params.py \
10        task/onset.py \
11        task/silence.py \
12        task/cut.py \
13        task/beat.py \
14        task/task.py \
15        task/pitch.py \
16        task/notes.py \
17        bench/__init__.py \
18        bench/broadcast.py \
19        bench/config.py \
20        bench/node.py \
21        bench/onset.py \
22        plot/__init__.py \
23        plot/keyboard.py \
24        web/__init__.py \
25        web/browser.py \
26        web/html.py
27
28nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
29
30_aubiowrapper.so: _aubiowrapper.la
31
32if MINGW
33SWLDFLAGS = -L${prefix}/bin -lpython${PYTHON_VERSION}
34else
35if DARWIN
36SWLDFLAGS = -bundle -framework Python
37else
38SWLDFLAGS = -shared
39endif
40endif
41
42CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
43
44NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \
45        -Wno-strict-aliasing
46
47AM_CFLAGS = @AUBIO_CFLAGS@ @SNDFILE_CFLAGS@ \
48        $(NOWARN_CFLAGS) $(SWCFLAGS) \
49        -I$(top_builddir)/src -I$(top_srcdir)/src \
50        -I$(top_srcdir)/examples \
51        -I/usr/include/python${PYTHON_VERSION} \
52        -I${prefix}/include/python${PYTHON_VERSION} \
53        -I/usr/include \
54        -I${prefix}/include
55
56AUBIO_LDFLAGS = $(SWLDFLAGS) \
57        @SNDFILE_LIBS@ \
58        -L$(top_builddir)/src -laubio
59
60pkgpyexec_LTLIBRARIES = _aubiowrapper.la
61
62_aubiowrapper_la_LDFLAGS = -module -avoid-version $(AUBIO_LDFLAGS)
63_aubiowrapper_la_SOURCES = aubio_wrap.c $(top_srcdir)/examples/sndfileio.c
64
65aubio_wrap.c aubiowrapper.py:
66        $(SWIG) -outdir . -o aubio_wrap.c -python $(top_srcdir)/swig/aubio.i
Note: See TracBrowser for help on using the repository browser.