source: plugins/puredata/Makefile.am @ f43867f

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

add correct flags for puredata Makefile.am
add correct flags for puredata Makefile.am

  • 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
5SUFFIXES = .pd_linux
6PDDIR = $(prefix)/lib/pd
7pddir = $(PDDIR)
8
9## Make and install the shared library.
[77494e7]10pdinstalldir = $(pddir)/extra
[0eb4025]11pdinstallrefdir = $(pddir)/doc/5.reference
12pdinstallexpdir = $(pddir)/doc/aubio
[30cbd419]13
[be929a5]14if MINGW
15PDEXT = aubio.dll
16else
17if DARWIN
18PDEXT = aubio.pd_darwin
19else
20PDEXT = aubio.pd_linux
21endif
22endif
[cf83555]23
[be929a5]24pdinstall_PROGRAMS = $(PDEXT)
25
26ALLSOURCES = \
[cf83555]27        aubio_setup.c \
28        aubioonset~.c \
29        aubiotempo~.c \
30        aubiotss~.c \
[660c1d82]31        aubioquiet~.c \
32        aubiopitch~.c
[30cbd419]33
[be929a5]34aubio_pd_linux_SOURCES = $(ALLSOURCES)
35aubio_pd_darwin_SOURCES = $(ALLSOURCES)
36aubio_dll_SOURCES = $(ALLSOURCES)
[30cbd419]37
[be929a5]38pdincludedir = $(pddir)/src
[30cbd419]39
[be929a5]40AM_CFLAGS  = -I$(top_srcdir)/src -I$(pdincludedir) -DPD -fPIC -DPIC @AUBIO_CFLAGS@
41if MINGW
42AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
43else
44if DARWIN
[961c39c3]45AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -bundle -undefined suppress -flat_namespace
[be929a5]46else
47AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
48endif
49endif
50
[30cbd419]51
52## Install the documentation.
53
[0eb4025]54pdinstallref_DATA = \
[08d21bf]55        help/aubioonset~-help.pd \
56        help/aubioquiet~-help.pd \
57        help/aubiotempo~-help.pd \
58        help/aubiotss~-help.pd \
59        help/aubiopitch~-help.pd
[30cbd419]60
[0eb4025]61pdinstallexp_DATA = \
62        examples/onset-cam.pd
[30cbd419]63
[be929a5]64EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA)
Note: See TracBrowser for help on using the repository browser.