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