feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 205da86 was
205da86,
checked in by Paul Brossier <piem@altern.org>, 20 years ago
|
moved jack and sndfile to aubioext
|
-
Property mode set to
100644
|
File size:
927 bytes
|
Rev | Line | |
---|
[96fb8ad] | 1 | EXTRA_DIST = aubio.i |
---|
| 2 | |
---|
| 3 | PYTHON_DIR = ../python/aubio |
---|
| 4 | SWIG = swig |
---|
| 5 | #SW_FLAGS = -c++ |
---|
| 6 | # removed -Wall -Wmissing-prototypes -Wmissing-declarations |
---|
| 7 | SW_CFLAGS = -DJACK_SUPPORT -shared -Werror -Wno-char-subscripts -Wno-unknown-pragmas |
---|
| 8 | #SW_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations |
---|
[205da86] | 9 | SWINCLUDE = -I/usr/include/python2.3 -I../src -I../ext -I/usr/include |
---|
| 10 | SWLDFLAGS = -L../ext/.libs -laubioext -L../src/.libs -laubio |
---|
[96fb8ad] | 11 | |
---|
| 12 | all: |
---|
| 13 | $(SWIG) $(SW_FLAGS) -outdir $(PYTHON_DIR) -python aubio.i |
---|
| 14 | $(CC) $(SW_CFLAGS) -c aubio_wrap.c $(SWINCLUDE) |
---|
| 15 | $(CC) $(SW_CFLAGS) aubio_wrap.o -o $(PYTHON_DIR)/_aubiowrapper.so $(SWLDFLAGS) |
---|
| 16 | |
---|
| 17 | install: |
---|
| 18 | $(mkinstalldirs) $(DESTDIR)$(pkgpythondir) |
---|
| 19 | $(INSTALL) $(PYTHON_DIR)/_aubiowrapper.so $(DESTDIR)$(pkgpythondir) |
---|
| 20 | $(INSTALL) -m644 $(PYTHON_DIR)/aubiowrapper.py $(DESTDIR)$(pkgpythondir) |
---|
| 21 | |
---|
| 22 | clean: |
---|
| 23 | rm -f aubio_wrap.{c,o} $(PYTHON_DIR)/{_aubiowrapper.so,aubiowrapper.py,aubiowrapper.pyc} |
---|
| 24 | |
---|
| 25 | distclean: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.