source: python/aubio/Makefile.am @ 48b847b

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

install aubiowrapper.py only once and in pkgpython
install aubiowrapper.py only once and in pkgpython

  • Property mode set to 100644
File size: 1.7 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
43_aubiowrapper.so: _aubiowrapper.la
44
45if MINGW
46SWLDFLAGS = -L${prefix}/bin -lpython${PYTHON_VERSION}
47else
48if DARWIN
49SWLDFLAGS = -bundle -framework Python
50else
51SWLDFLAGS = -shared
52endif
53endif
54
55CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
56
57NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \
58        -Wno-strict-aliasing
59
60AM_CFLAGS = @AUBIO_CFLAGS@ $(NOWARN_CFLAGS) $(SWCFLAGS) \
61        -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \
62        -I/usr/include/python${PYTHON_VERSION} \
63        -I${prefix}/include/python${PYTHON_VERSION} \
64        -I/usr/include \
65        -I${prefix}/include
66
67AUBIO_LDFLAGS = $(SWLDFLAGS) \
68        -L$(top_builddir)/ext -laubioext \
69        -L$(top_builddir)/src -laubio
70
71pkgpython_LTLIBRARIES = _aubiowrapper.la
72
73_aubiowrapper_la_LDFLAGS = -module -avoid-version $(AUBIO_LDFLAGS)
74_aubiowrapper_la_SOURCES = aubio_wrap.c
75
76aubio_wrap.c aubiowrapper.py:
77        $(SWIG) -outdir . -o aubio_wrap.c -python $(top_srcdir)/swig/aubio.i
Note: See TracBrowser for help on using the repository browser.