shithub: aubio

ref: 0b530cbf3b532383ea84be81b610c7ff41f4d474
dir: /plugins/puredata/Makefile.am/

View raw version
## Process this file with automake to produce Makefile.in. -*-Makefile-*-
# inspired from Guenter Geiger's Makefile.am for plugin 
# pure-data/externals/plugin~/Makefile.am -- rev 1.1

SUFFIXES = .pd_linux
PDDIR = $(prefix)/lib/pd
pddir = $(PDDIR)
#SUBDIRS = ladspa vst win

## Make and install the shared library.
pdinstalldir = $(pddir)/extra

# Automake won't accept something ending in ".pd_linux" as a library
pdinstall_PROGRAMS = aubioonset~.pd_linux

aubioonset__pd_linux_SOURCES = \
	aubioonset~.c

pdincludedir = $(pddir)/src

LIBTOOL=$(SHELL) ./libtoolkludge

INCLUDES = -I$(top_srcdir) -I$(pdincludedir)

AM_CFLAGS = -I../../src \
    -DPD -O2 -funroll-loops -fomit-frame-pointer \
    -Wall -W -Wshadow -Wstrict-prototypes -Werror \
    -Wno-unused -Wno-parentheses -Wno-switch
AM_LDFLAGS = -L../../src/.libs -laubio -export_dynamic -shared 

## Install the documentation.

pdinstall_DATA = \
	help-aubioonset~.pd


## My kludge
noinst_SCRIPTS = libtoolkludge

EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS)