aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4b2fc048ca6293a1bc4d487609c31d51e7e8462e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## Process this file with automake to produce Makefile.in. -*-Makefile-*-

SUFFIXES = .pd_linux

pddir = @PDDIR@

SUBDIRS = ladspa vst win

## Make and install the shared library.

pdinstalldir = $(pddir)/extra/plugin~

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

plugin__pd_linux_SOURCES = \
	config.h \
	jload.c \
	jsearch.c \
	jutils.h \
	plugin~.c \
	plugin~.h \
	plugin~_ladspa.c \
	plugin~_ladspa.h \
	plugin~_vst.c \
	plugin~_vst.h \
	vstutils.c \
	vstutils.h

pdincludedir = $(pddir)/src
INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
CFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
    -Wall -W -Wshadow -Wstrict-prototypes -Werror \
    -Wno-unused -Wno-parentheses -Wno-switch
LDFLAGS = -export_dynamic -shared

## Install the documentation.

pdinstall_DATA = \
	AUTHORS \
	BUGS \
	COPYING \
	NEWS \
	README \
	TODO \
	plugin~.pd \
	plugin~.txt

## My kludge
noinst_SCRIPTS = libtoolkludge

## version.h is there for the Windows platform (no autoconf)
EXTRA_DIST = $(pdinstall_DATA) $(noinst_SCRIPTS) version.h