source: plugins/puredata/Makefile.am @ 7e4613b

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 7e4613b was 7e4613b, checked in by Paul Brossier <piem@altern.org>, 18 years ago

use -fPIC to build puredata plugin
use -fPIC to build puredata plugin

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[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
5SUFFIXES = .pd_linux
6PDDIR = $(prefix)/lib/pd
7pddir = $(PDDIR)
8#SUBDIRS = ladspa vst win
9
10## Make and install the shared library.
[77494e7]11pdinstalldir = $(pddir)/extra
[0eb4025]12pdinstallrefdir = $(pddir)/doc/5.reference
13pdinstallexpdir = $(pddir)/doc/aubio
[30cbd419]14
15# Automake won't accept something ending in ".pd_linux" as a library
[cf83555]16pdinstall_PROGRAMS = aubio.pd_linux
17
18aubio_pd_linux_SOURCES = \
19        aubio_setup.c \
20        aubioonset~.c \
21        aubiotempo~.c \
22        aubiotss~.c \
[660c1d82]23        aubioquiet~.c \
24        aubiopitch~.c
[30cbd419]25
26pdincludedir = $(pddir)/src
27
[735c4c4]28LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge
[30cbd419]29
30INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
31
[dba3b1a]32AM_CFLAGS = -I$(srcdir)/../../src \
[7e4613b]33    -DPD -O2 -fPIC -funroll-loops -fomit-frame-pointer \
[30cbd419]34    -Wall -W -Wshadow -Wstrict-prototypes -Werror \
35    -Wno-unused -Wno-parentheses -Wno-switch
36AM_LDFLAGS = -L../../src/.libs -laubio -export_dynamic -shared
37
38## Install the documentation.
39
[0eb4025]40pdinstallref_DATA = \
41        help/help-aubioonset~.pd \
42        help/help-aubioquiet~.pd \
43        help/help-aubiotempo~.pd \
[660c1d82]44        help/help-aubiotss~.pd \
45        help/help-aubiopitch~.pd
[30cbd419]46
[0eb4025]47pdinstallexp_DATA = \
48        examples/onset-cam.pd
[30cbd419]49
50## My kludge
51noinst_SCRIPTS = libtoolkludge
52
[acf2ec07]53EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) $(noinst_SCRIPTS)
[dba3b1a]54
Note: See TracBrowser for help on using the repository browser.