source: python/aubio/Makefile.am @ 1e7ef7c

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

fix python Makefiles
fix python Makefiles

  • 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
47# removed -Wall -Wmissing-prototypes -Wmissing-declarations
48CFLAGS = -fPIC -DJACK_SUPPORT -Werror -Wno-char-subscripts \
49        -Wno-unknown-pragmas $(SWCFLAGS) \
50        -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \
51        -I/usr/include/python${PYTHON_VERSION} \
52        -I${prefix}/include/python${PYTHON_VERSION} \
53        -I/usr/include \
54        -I${prefix}/include
55
56LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
57
58aubio_wrap.c:
59        $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../swig/aubio.i
60
61_aubiowrapper.so: aubio_wrap.c
62        $(CC) $(CFLAGS) -c aubio_wrap.c
63        $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
64
Note: See TracBrowser for help on using the repository browser.