source: plugins/puredata/Makefile.am @ 79e72cf

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

improve flags for windows and darwin puredata external
improve flags for windows and darwin puredata external

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