source: plugins/puredata/Makefile.am @ c3395f3

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

plugins/puredata/aubiozcr~.c: add aubiozcr~, computing zero crossing rate

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[30cbd419]1## Process this file with automake to produce Makefile.in. -*-Makefile-*-
2# inspired from Guenter Geiger's Makefile.am for plugin
3# pure-data/externals/plugin~/Makefile.am -- rev 1.1
4
[6a52f29]5pddir = $(prefix)/lib/pd
[30cbd419]6
7## Make and install the shared library.
[77494e7]8pdinstalldir = $(pddir)/extra
[0eb4025]9pdinstallrefdir = $(pddir)/doc/5.reference
10pdinstallexpdir = $(pddir)/doc/aubio
[30cbd419]11
[be929a5]12if MINGW
13PDEXT = aubio.dll
14else
15if DARWIN
16PDEXT = aubio.pd_darwin
17else
18PDEXT = aubio.pd_linux
19endif
20endif
[cf83555]21
[be929a5]22pdinstall_PROGRAMS = $(PDEXT)
23
24ALLSOURCES = \
[cf83555]25        aubio_setup.c \
26        aubioonset~.c \
27        aubiotempo~.c \
28        aubiotss~.c \
[660c1d82]29        aubioquiet~.c \
[6f9615c]30        aubiopitch~.c \
31        aubiozcr~.c
[30cbd419]32
[be929a5]33aubio_pd_linux_SOURCES = $(ALLSOURCES)
34aubio_pd_darwin_SOURCES = $(ALLSOURCES)
35aubio_dll_SOURCES = $(ALLSOURCES)
[30cbd419]36
[be929a5]37pdincludedir = $(pddir)/src
[30cbd419]38
[6a52f29]39AM_CFLAGS  = -I$(top_srcdir)/src -I$(pdincludedir) -DPD @AUBIO_CFLAGS@
[be929a5]40if MINGW
[6a52f29]41else
42AM_CFLAGS += -fPIC -DPIC
43endif
44
45AM_LDFLAGS  = -L$(top_builddir)/src -laubio
46if MINGW
47AM_LDFLAGS += -export_dynamic -shared -lpd
[be929a5]48else
49if DARWIN
[6a52f29]50AM_LDFLAGS += -bundle -undefined suppress -flat_namespace
[be929a5]51else
[6a52f29]52AM_LDFLAGS += -export_dynamic -shared
[be929a5]53endif
54endif
55
[30cbd419]56## Install the documentation.
57
[0eb4025]58pdinstallref_DATA = \
[08d21bf]59        help/aubioonset~-help.pd \
60        help/aubioquiet~-help.pd \
61        help/aubiotempo~-help.pd \
62        help/aubiotss~-help.pd \
63        help/aubiopitch~-help.pd
[30cbd419]64
[0eb4025]65pdinstallexp_DATA = \
66        examples/onset-cam.pd
[30cbd419]67
[be929a5]68EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA)
Note: See TracBrowser for help on using the repository browser.