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
6 PDDIR = $(prefix)/lib/pd
8 #SUBDIRS = ladspa vst win
10 ## Make and install the shared library.
11 pdinstalldir = $(pddir)/extra/aubio
13 # Automake won't accept something ending in ".pd_linux" as a library
14 pdinstall_PROGRAMS = aubioonset~.pd_linux
16 aubioonset__pd_linux_SOURCES = \
19 pdincludedir = $(pddir)/src
21 LIBTOOL=$(SHELL) ./libtoolkludge
23 INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
25 AM_CFLAGS = -I../../src \
26 -DPD -O2 -funroll-loops -fomit-frame-pointer \
27 -Wall -W -Wshadow -Wstrict-prototypes -Werror \
28 -Wno-unused -Wno-parentheses -Wno-switch
29 AM_LDFLAGS = -L../../src/.libs -laubio -export_dynamic -shared
31 ## Install the documentation.
38 noinst_SCRIPTS = libtoolkludge
40 ## version.h is there for the Windows platform (no autoconf)
41 EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS) version.h