source: Makefile.am @ ec1ce52

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

ext/, examples/, swig/, python/, tests/: remove libaubioext, make libsamplerate optional

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[3050cb8]1if DOCBOOKFOUND
2DOC = doc
3endif
4
5if SWIGFOUND
6SWIGDIR = swig
[48b847b]7if PYTHONFOUND
[3050cb8]8PYTHONDIR = python
9endif
[fcc3fd2]10if JAVAFOUND
[04d50b0]11JAVADIR = interfaces/java
[fcc3fd2]12endif
[c3395f3]13endif
[fcc3fd2]14
[3050cb8]15
[740f06b]16SUBDIRS = src interfaces/cpp examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(JAVADIR) $(DOC) tests
[96fb8ad]17EXTRA_DIST = bootstrap VERSION
18
19docs:
20        cd doc && make update-docs && cd ..
21
22doc-devel:
23        cd doc && make doc-devel && cd ..
24
25doc-user:
26        cd doc && make doc-user && cd ..
27
28doc-examples:
29        cd doc && make doc-examples && cd ..
30
31install-pkgconfig:
32        $(mkinstalldirs) "$(DESTDIR)$(libdir)/pkgconfig"
33        $(INSTALL_DATA) aubio.pc "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
34
35uninstall-pkgconfig:
36        $(RM) "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
37        -rmdir "$(DESTDIR)$(libdir)/pkgconfig"
38
39install-data-hook: install-pkgconfig
40uninstall-hook: uninstall-pkgconfig
[aa3c8b7]41
[b995296]42lcov: all
43        mkdir -p $(top_builddir)/lcov
44        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --zerocounters
45        cd tests/python && ./run_all_tests -v || echo "some tests failed"
46        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --capture
47        genhtml --output-directory $(top_builddir)/lcov $(top_builddir)/lcov/aubio.info
Note: See TracBrowser for help on using the repository browser.