From 21c068f1916330e90f814bed461fe0821d1665ec Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 9 Oct 2011 16:36:37 +0000 Subject: checked in pd-0.43-0.src.tar.gz svn path=/trunk/; revision=15557 --- pd/extra/expr~/GNUmakefile.am | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pd/extra/expr~/GNUmakefile.am (limited to 'pd/extra/expr~/GNUmakefile.am') diff --git a/pd/extra/expr~/GNUmakefile.am b/pd/extra/expr~/GNUmakefile.am new file mode 100644 index 00000000..a9074b92 --- /dev/null +++ b/pd/extra/expr~/GNUmakefile.am @@ -0,0 +1,50 @@ +## Makefile.am -- Process this file with automake to produce Makefile.in +NAME=expr~ + +external_LTLIBRARIES = expr~.la +expr__la_SOURCES = vexp.c vexp_fun.c vexp_if.c +PATCHES = ../expr-help.pd +OTHERDATA = LICENSE.txt README.txt + +dist_external_DATA = $(PATCHES) $(OTHERDATA) +noinst_HEADERS = fts_to_pd.h vexp.h + +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) + +# install-exec-hook seems to be called before $(DESTDIR)$(externaldir) is created... +# so we install everything in the install-data-hook +install-data-hook: + cd $(DESTDIR)$(externaldir) && ( \ + $(LN_S) expr~.@EXTERNAL_EXTENSION@ expr.@EXTERNAL_EXTENSION@; \ + $(LN_S) expr~.@EXTERNAL_EXTENSION@ fexpr~.@EXTERNAL_EXTENSION@; \ + cd ..; \ + $(LN_S) $(NAME)/expr.@EXTERNAL_EXTENSION@ expr.@EXTERNAL_EXTENSION@; \ + $(LN_S) $(NAME)/expr~.@EXTERNAL_EXTENSION@ expr~.@EXTERNAL_EXTENSION@; \ + $(LN_S) $(NAME)/fexpr~.@EXTERNAL_EXTENSION@ fexpr~.@EXTERNAL_EXTENSION@; \ + $(LN_S) $(NAME)/expr-help.pd expr-help.pd; \ + $(LN_S) $(NAME)/expr-help.pd expr~-help.pd; \ + $(LN_S) $(NAME)/expr-help.pd fexpr~-help.pd; \ + ) + +uninstall-hook: + cd $(DESTDIR)$(externaldir) && ( \ + rm -f expr.@EXTERNAL_EXTENSION@ fexpr~.@EXTERNAL_EXTENSION@; \ + cd ..; \ + rm -f expr~.@EXTERNAL_EXTENSION@ expr.@EXTERNAL_EXTENSION@ fexpr~.@EXTERNAL_EXTENSION@; \ + rm -f expr-help.pd expr~-help.pd fexpr~-help.pd; \ + ) + + + +if MINGW +AM_LIBS += -lpd +endif + +libtool: $(LIBTOOL_DEPS) + $(SHELL) ./config.status --recheck -- cgit v1.2.1