source: swig/Makefile.am @ 96fb8ad

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

import 0.1.7.1

  • Property mode set to 100644
File size: 893 bytes
Line 
1EXTRA_DIST = aubio.i
2
3PYTHON_DIR = ../python/aubio
4SWIG = swig
5#SW_FLAGS = -c++
6# removed -Wall -Wmissing-prototypes -Wmissing-declarations
7SW_CFLAGS = -DJACK_SUPPORT -shared -Werror -Wno-char-subscripts -Wno-unknown-pragmas
8#SW_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations
9SWINCLUDE = -I/usr/include/python2.3 -I../src -I/usr/include
10SWLDFLAGS = -L../src/.libs -laubio
11
12
13all:
14        $(SWIG) $(SW_FLAGS) -outdir $(PYTHON_DIR) -python aubio.i
15        $(CC) $(SW_CFLAGS) -c aubio_wrap.c $(SWINCLUDE)
16        $(CC) $(SW_CFLAGS) aubio_wrap.o -o $(PYTHON_DIR)/_aubiowrapper.so $(SWLDFLAGS)
17
18install:
19        $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
20        $(INSTALL) $(PYTHON_DIR)/_aubiowrapper.so $(DESTDIR)$(pkgpythondir)
21        $(INSTALL) -m644 $(PYTHON_DIR)/aubiowrapper.py $(DESTDIR)$(pkgpythondir)
22
23clean:
24        rm -f aubio_wrap.{c,o} $(PYTHON_DIR)/{_aubiowrapper.so,aubiowrapper.py,aubiowrapper.pyc}
25
26distclean: clean
Note: See TracBrowser for help on using the repository browser.