source: python/aubio/Makefile.am @ d57c879

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

python/aubio/Makefile.am: simplify using nobase

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