GNUmakefile.am 961 Bytes
Newer Older
1 2
#########################################
##### Defaults & Paths #####
3 4 5 6

NAME=stdout

external_LTLIBRARIES = stdout.la
7 8
SOURCES = stdout.c
PATCHES = stdout-help.pd
9 10
OTHERDATA = 

11 12 13 14 15
EXTRA_DIST = makefile

#########################################
##### Files, Binaries, & Libs #####

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

AUTOMAKE_OPTIONS = foreign
20 21
AM_CFLAGS = @EXTERNAL_CFLAGS@
AM_CPPFLAGS	+= -I$(top_srcdir)/src -DPD
22
AM_LIBS = $(LIBM)
23 24
AM_LDFLAGS = -module -avoid-version -shared @EXTERNAL_LDFLAGS@ \
    -shrext .@EXTERNAL_EXTENSION@ -L$(top_builddir)/src
25 26 27

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

28 29
#########################################
##### Targets #####
30 31 32

libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck
33 34 35 36 37 38 39 40

# create convenience link for running locally
all-local:
	rm -f *.@EXTERNAL_EXTENSION@
	-$(LN_S) $(wildcard .libs/*.@EXTERNAL_EXTENSION@) ./

clean-local:
	rm -f *.@EXTERNAL_EXTENSION@