source:
plugins/puredata/Makefile.am
@
342e3807
Last change on this file since 342e3807 was 71e393a, checked in by , 15 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 \ |
[6f9615c] | 30 | aubiopitch~.c \ |
31 | aubiozcr~.c | |
[30cbd419] | 32 | |
[be929a5] | 33 | aubio_pd_linux_SOURCES = $(ALLSOURCES) |
34 | aubio_pd_darwin_SOURCES = $(ALLSOURCES) | |
35 | aubio_dll_SOURCES = $(ALLSOURCES) | |
[30cbd419] | 36 | |
[be929a5] | 37 | pdincludedir = $(pddir)/src |
[30cbd419] | 38 | |
[6a52f29] | 39 | AM_CFLAGS = -I$(top_srcdir)/src -I$(pdincludedir) -DPD @AUBIO_CFLAGS@ |
[be929a5] | 40 | if MINGW |
[6a52f29] | 41 | else |
42 | AM_CFLAGS += -fPIC -DPIC | |
43 | endif | |
44 | ||
45 | AM_LDFLAGS = -L$(top_builddir)/src -laubio | |
46 | if MINGW | |
47 | AM_LDFLAGS += -export_dynamic -shared -lpd | |
[be929a5] | 48 | else |
49 | if DARWIN | |
[6a52f29] | 50 | AM_LDFLAGS += -bundle -undefined suppress -flat_namespace |
[be929a5] | 51 | else |
[71e393a] | 52 | AM_LDFLAGS += --export_dynamic --shared |
[be929a5] | 53 | endif |
54 | endif | |
55 | ||
[30cbd419] | 56 | ## Install the documentation. |
57 | ||
[0eb4025] | 58 | pdinstallref_DATA = \ |
[08d21bf] | 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 | |
[30cbd419] | 64 | |
[0eb4025] | 65 | pdinstallexp_DATA = \ |
66 | examples/onset-cam.pd | |
[30cbd419] | 67 | |
[be929a5] | 68 | EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) |
Note: See TracBrowser
for help on using the repository browser.