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/choice/GNUmakefile.am | 28 ++++++++++++++++++++++++++++ pd/extra/choice/choice.c | 2 +- pd/extra/choice/makefile | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 pd/extra/choice/GNUmakefile.am (limited to 'pd/extra/choice') diff --git a/pd/extra/choice/GNUmakefile.am b/pd/extra/choice/GNUmakefile.am new file mode 100644 index 00000000..5ed60350 --- /dev/null +++ b/pd/extra/choice/GNUmakefile.am @@ -0,0 +1,28 @@ +## Makefile.am -- Process this file with automake to produce Makefile.in + +NAME=choice + +external_LTLIBRARIES = choice.la +SOURCES = choice.c +PATCHES = choice-help.pd +OTHERDATA = + +############################### +# 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 diff --git a/pd/extra/choice/choice.c b/pd/extra/choice/choice.c index b7bf23ab..a50c66ac 100644 --- a/pd/extra/choice/choice.c +++ b/pd/extra/choice/choice.c @@ -18,7 +18,7 @@ static t_class *choice_class; typedef struct _elem { float e_age; - float e_weight[DIMENSION]; + t_float e_weight[DIMENSION]; } t_elem; typedef struct _choice diff --git a/pd/extra/choice/makefile b/pd/extra/choice/makefile index 7fc71159..ee63e8fd 100644 --- a/pd/extra/choice/makefile +++ b/pd/extra/choice/makefile @@ -1,4 +1,4 @@ NAME=choice CSYM=choice -include ../makefile +include ../makefile.subdir -- cgit v1.2.1