source: plugins/puredata/Makefile.am @ 39658e2

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

plugins/puredata/Makefile.am: update compiler options

  • 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        aubiozcr~.c
32
33aubio_pd_linux_SOURCES = $(ALLSOURCES)
34aubio_pd_darwin_SOURCES = $(ALLSOURCES)
35aubio_dll_SOURCES = $(ALLSOURCES)
36
37pdincludedir = $(pddir)/src
38
39AM_CFLAGS  = -I$(top_srcdir)/src -I$(pdincludedir) -DPD @AUBIO_CFLAGS@
40if MINGW
41else
42AM_CFLAGS += -fPIC -DPIC
43endif
44
45AM_LDFLAGS  = -L$(top_builddir)/src -laubio
46if MINGW
47AM_LDFLAGS += -export_dynamic -shared -lpd
48else
49if DARWIN
50AM_LDFLAGS += -bundle -undefined suppress -flat_namespace
51else
52AM_LDFLAGS += --export_dynamic --shared
53endif
54endif
55
56## Install the documentation.
57
58pdinstallref_DATA = \
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
64
65pdinstallexp_DATA = \
66        examples/onset-cam.pd
67
68EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA)
Note: See TracBrowser for help on using the repository browser.