Changeset 77494e7 for python/aubio


Ignore:
Timestamp:
Dec 12, 2004, 1:25:19 AM (20 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
e6d4ccb
Parents:
205da86
Message:

bumping to 0.1.8

Location:
python/aubio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/Makefile.am

    r205da86 r77494e7  
    1 EXTRA_DIST = __init__.py onsetcompare.py aubioclass.py gnuplot.py\
    2         median.py txtfile.py
    3 
    41pkgpython_PYTHON = __init__.py onsetcompare.py\
    52        gnuplot.py median.py txtfile.py aubioclass.py
     3       
     4nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
    65
    7 clean:
    8         rm -f *.pyc
     6CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
    97
    10 distclean: clean
     8all: _aubiowrapper.so
     9
     10SWIG = swig
     11# removed -Wall -Wmissing-prototypes -Wmissing-declarations
     12SWCFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts -Wno-unknown-pragmas -I/usr/include/python2.3 -I../../src -I../../ext -I/usr/include
     13SWLDFLAGS = -shared -L../../ext/.libs -laubioext -L../../src/.libs -laubio
     14
     15aubio_wrap.c:
     16        $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
     17
     18_aubiowrapper.so: aubio_wrap.c
     19        $(CC)   $(SWCFLAGS) -c aubio_wrap.c
     20        $(CC)   $(SWLDFLAGS) aubio_wrap.o -o _aubiowrapper.so
  • python/aubio/Makefile.in

    r205da86 r77494e7  
    152152sysconfdir = @sysconfdir@
    153153target_alias = @target_alias@
    154 EXTRA_DIST = __init__.py onsetcompare.py aubioclass.py gnuplot.py\
    155         median.py txtfile.py
    156 
    157 
    158154pkgpython_PYTHON = __init__.py onsetcompare.py\
    159155        gnuplot.py median.py txtfile.py aubioclass.py
    160156
     157
     158nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
     159
     160CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py
     161
     162SWIG = swig
     163# removed -Wall -Wmissing-prototypes -Wmissing-declarations
     164SWCFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts -Wno-unknown-pragmas -I/usr/include/python2.3 -I../../src -I../../ext -I/usr/include
     165SWLDFLAGS = -shared -L../../ext/.libs -laubioext -L../../src/.libs -laubio
    161166subdir = python/aubio
    162167ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    185190        -rm -f libtool
    186191uninstall-info-am:
     192nodist_pkgpythonPYTHON_INSTALL = $(INSTALL_DATA)
     193install-nodist_pkgpythonPYTHON: $(nodist_pkgpython_PYTHON)
     194        @$(NORMAL_INSTALL)
     195        $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
     196        @list='$(nodist_pkgpython_PYTHON)'; dlist=''; for p in $$list; do\
     197          if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \
     198          if test -f $$b$$p; then \
     199            d=`echo "$$p" | sed -e 's,^.*/,,'`; \
     200            dlist="$$dlist $$d"; \
     201            echo " $(nodist_pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d"; \
     202            $(nodist_pkgpythonPYTHON_INSTALL) $$b$$p $(DESTDIR)$(pkgpythondir)/$$d; \
     203          else :; fi; \
     204        done; \
     205        PYTHON=$(PYTHON) $(py_compile) --basedir $(DESTDIR)$(pkgpythondir) $$dlist
     206
     207uninstall-nodist_pkgpythonPYTHON:
     208        @$(NORMAL_UNINSTALL)
     209        list='$(nodist_pkgpython_PYTHON)'; for p in $$list; do \
     210          d=`echo "$$p" | sed -e 's,^.*/,,'`; \
     211          rm -f $(DESTDIR)$(pkgpythondir)/$$d; \
     212          rm -f $(DESTDIR)$(pkgpythondir)/$${d}c; \
     213          rm -f $(DESTDIR)$(pkgpythondir)/$${d}o; \
     214        done
    187215pkgpythonPYTHON_INSTALL = $(INSTALL_DATA)
    188216install-pkgpythonPYTHON: $(pkgpython_PYTHON)
     
    251279
    252280installdirs:
    253         $(mkinstalldirs) $(DESTDIR)$(pkgpythondir)
     281        $(mkinstalldirs) $(DESTDIR)$(pkgpythondir) $(DESTDIR)$(pkgpythondir)
    254282install: install-am
    255283install-exec: install-exec-am
     
    269297
    270298clean-generic:
     299        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
    271300
    272301distclean-generic:
     
    292321info-am:
    293322
    294 install-data-am: install-pkgpythonPYTHON
     323install-data-am: install-nodist_pkgpythonPYTHON install-pkgpythonPYTHON
    295324
    296325install-exec-am:
     
    318347ps-am:
    319348
    320 uninstall-am: uninstall-info-am uninstall-pkgpythonPYTHON
     349uninstall-am: uninstall-info-am uninstall-nodist_pkgpythonPYTHON \
     350        uninstall-pkgpythonPYTHON
    321351
    322352.PHONY: all all-am check check-am clean clean-generic clean-libtool \
     
    324354        dvi-am info info-am install install-am install-data \
    325355        install-data-am install-exec install-exec-am install-info \
    326         install-info-am install-man install-pkgpythonPYTHON \
    327         install-strip installcheck installcheck-am installdirs \
    328         maintainer-clean maintainer-clean-generic mostlyclean \
    329         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    330         uninstall uninstall-am uninstall-info-am \
     356        install-info-am install-man install-nodist_pkgpythonPYTHON \
     357        install-pkgpythonPYTHON install-strip installcheck \
     358        installcheck-am installdirs maintainer-clean \
     359        maintainer-clean-generic mostlyclean mostlyclean-generic \
     360        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
     361        uninstall-info-am uninstall-nodist_pkgpythonPYTHON \
    331362        uninstall-pkgpythonPYTHON
    332363
    333364
    334 clean:
    335         rm -f *.pyc
    336 
    337 distclean: clean
     365all: _aubiowrapper.so
     366
     367aubio_wrap.c:
     368        $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
     369
     370_aubiowrapper.so: aubio_wrap.c
     371        $(CC)   $(SWCFLAGS) -c aubio_wrap.c
     372        $(CC)   $(SWLDFLAGS) aubio_wrap.o -o _aubiowrapper.so
    338373# Tell versions [3.59,3.63) of GNU make to not export all variables.
    339374# Otherwise a system limit (for SysV at least) may be exceeded.
Note: See TracChangeset for help on using the changeset viewer.