source: plugins/puredata/Makefile.am @ 1899f0d

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

link to pd.dll on windows
link to pd.dll on windows

  • Property mode set to 100644
File size: 1.4 KB
Line 
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.
10pdinstalldir = $(pddir)/extra
11pdinstallrefdir = $(pddir)/doc/5.reference
12pdinstallexpdir = $(pddir)/doc/aubio
13
14if MINGW
15PDEXT = aubio.dll
16else
17if DARWIN
18PDEXT = aubio.pd_darwin
19else
20PDEXT = aubio.pd_linux
21endif
22endif
23
24pdinstall_PROGRAMS = $(PDEXT)
25
26ALLSOURCES = \
27        aubio_setup.c \
28        aubioonset~.c \
29        aubiotempo~.c \
30        aubiotss~.c \
31        aubioquiet~.c \
32        aubiopitch~.c
33
34aubio_pd_linux_SOURCES = $(ALLSOURCES)
35aubio_pd_darwin_SOURCES = $(ALLSOURCES)
36aubio_dll_SOURCES = $(ALLSOURCES)
37
38pdincludedir = $(pddir)/src
39
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 -lpd
43else
44if DARWIN
45AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -bundle -undefined suppress -flat_namespace
46else
47AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
48endif
49endif
50
51
52## Install the documentation.
53
54pdinstallref_DATA = \
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
60
61pdinstallexp_DATA = \
62        examples/onset-cam.pd
63
64EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA)
Note: See TracBrowser for help on using the repository browser.