GNUmakefile.am 688 Bytes
Newer Older
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
## Makefile.am -- Process this file with automake to produce Makefile.in

NAME=bob~

external_LTLIBRARIES = bob~.la
SOURCES =  bob~.c
PATCHES =  bob~-help.pd output~.pd
OTHERDATA =

EXTRA_DIST = makefile

###############################
# you shouldn't need to add anything below here
dist_external_DATA = $(PATCHES) $(OTHERDATA)

AUTOMAKE_OPTIONS = foreign
AM_CPPFLAGS	 = -I$(top_srcdir)/src -DPD
AM_CFLAGS = @ARCH_CFLAGS@
AM_LIBS = $(LIBM)
AM_LDFLAGS = -module -avoid-version -shared @ARCH_LDFLAGS@ -shrext .@EXTERNAL_EXTENSION@ -L$(top_srcdir)/src

externaldir = $(pkglibdir)/extra/$(NAME)


if MINGW
AM_LIBS += -lpd
endif

libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck