source: python/aubio/Makefile.am @ aa81937

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

link to libpython on windows, remove useless .libs, remove -no-undefined
link to libpython on windows, remove useless .libs, remove -no-undefined

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