source: python/aubio/Makefile.am @ 6ff2870

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

use top_{build,src}dir instead of ../
use top_{build,src}dir instead of ../

  • Property mode set to 100644
File size: 1.5 KB
Line 
1pkgpython_PYTHON = \
2        __init__.py \
3        onsetcompare.py \
4        gnuplot.py \
5        median.py \
6        txtfile.py \
7        aubioclass.py
8
9pkgpythontaskdir = $(pkgpythondir)/task
10pkgpythontask_PYTHON = \
11        task/__init__.py \
12        task/params.py \
13        task/utils.py \
14        task/onset.py \
15        task/silence.py \
16        task/cut.py \
17        task/beat.py \
18        task/task.py \
19        task/pitch.py \
20        task/notes.py
21
22pkgpythonbenchdir = $(pkgpythondir)/bench
23pkgpythonbench_PYTHON = \
24        bench/__init__.py \
25        bench/broadcast.py \
26        bench/config.py \
27        bench/node.py \
28        bench/onset.py
29
30pkgpythonplotdir = $(pkgpythondir)/plot
31pkgpythonplot_PYTHON = \
32        plot/__init__.py \
33        plot/keyboard.py
34
35pkgpythonwebdir = $(pkgpythondir)/web
36pkgpythonweb_PYTHON = \
37        web/__init__.py \
38        web/browser.py \
39        web/html.py
40
41nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
42
43CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
44
45all: _aubiowrapper.so
46
47NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \
48        -Wno-strict-aliasing
49
50AM_CFLAGS = $(SWCFLAGS) -fPIC -DPIC \
51        -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \
52        -I/usr/include/python${PYTHON_VERSION} \
53        -I${prefix}/include/python${PYTHON_VERSION} \
54        -I/usr/include \
55        -I${prefix}/include
56
57AM_LDFLAGS = $(SWLDFLAGS) \
58        -L$(top_builddir)/ext/.libs -laubioext \
59        -L$(top_builddir)/src/.libs -laubio
60
61aubio_wrap.c:
62        $(SWIG) -outdir . -o aubio_wrap.c -python $(top_srcdir)/swig/aubio.i
63
64_aubiowrapper.so: aubio_wrap.c
65        $(CC) $(AM_CFLAGS) $(CFLAGS) $(NOWARN_CFLAGS) -c aubio_wrap.c
66        $(CC) $(AM_LDFLAGS) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
Note: See TracBrowser for help on using the repository browser.