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