feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 6a52f29 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 | |
---|
5 | pddir = $(prefix)/lib/pd |
---|
6 | |
---|
7 | ## Make and install the shared library. |
---|
8 | pdinstalldir = $(pddir)/extra |
---|
9 | pdinstallrefdir = $(pddir)/doc/5.reference |
---|
10 | pdinstallexpdir = $(pddir)/doc/aubio |
---|
11 | |
---|
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 |
---|
21 | |
---|
22 | pdinstall_PROGRAMS = $(PDEXT) |
---|
23 | |
---|
24 | ALLSOURCES = \ |
---|
25 | aubio_setup.c \ |
---|
26 | aubioonset~.c \ |
---|
27 | aubiotempo~.c \ |
---|
28 | aubiotss~.c \ |
---|
29 | aubioquiet~.c \ |
---|
30 | aubiopitch~.c |
---|
31 | |
---|
32 | aubio_pd_linux_SOURCES = $(ALLSOURCES) |
---|
33 | aubio_pd_darwin_SOURCES = $(ALLSOURCES) |
---|
34 | aubio_dll_SOURCES = $(ALLSOURCES) |
---|
35 | |
---|
36 | pdincludedir = $(pddir)/src |
---|
37 | |
---|
38 | AM_CFLAGS = -I$(top_srcdir)/src -I$(pdincludedir) -DPD @AUBIO_CFLAGS@ |
---|
39 | if MINGW |
---|
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 |
---|
47 | else |
---|
48 | if DARWIN |
---|
49 | AM_LDFLAGS += -bundle -undefined suppress -flat_namespace |
---|
50 | else |
---|
51 | AM_LDFLAGS += -export_dynamic -shared |
---|
52 | endif |
---|
53 | endif |
---|
54 | |
---|
55 | ## Install the documentation. |
---|
56 | |
---|
57 | pdinstallref_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 | |
---|
64 | pdinstallexp_DATA = \ |
---|
65 | examples/onset-cam.pd |
---|
66 | |
---|
67 | EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) |
---|
Note: See
TracBrowser
for help on using the repository browser.