aboutsummaryrefslogtreecommitdiff
path: root/weightmap
diff options
context:
space:
mode:
Diffstat (limited to 'weightmap')
-rw-r--r--weightmap/README.txt33
-rw-r--r--weightmap/configure.in13
-rw-r--r--weightmap/src/Makefile.am9
3 files changed, 48 insertions, 7 deletions
diff --git a/weightmap/README.txt b/weightmap/README.txt
new file mode 100644
index 0000000..7c5e97c
--- /dev/null
+++ b/weightmap/README.txt
@@ -0,0 +1,33 @@
+ README for weightmap
+
+ Last updated for weightmap v0.02
+
+DESCRIPTION
+ weightmap is a PD external which maps incoming probability values to
+ integers, inspired in part by Yves Degoyon's 'probalizer' object.
+
+INSTALLATION
+ Issue the following commands to the shell:
+
+ cd weightmap-X.YY (or wherever you extracted the distribution)
+ ./configure
+ make
+ make install
+
+ACKNOWLEDGEMENTS
+ PD by Miller Puckette and others.
+
+ probalizer object by Yves Degoyon.
+
+ Ideas, black magic, and other nuggets of information drawn from code by
+ Guenter Geiger, Larry Troxler, and iohannes m zmoelnig.
+
+BUGS
+ It's a misleading name: higher input "weights" don't neccesarily
+ correspond to higer stored "weights".
+
+ Probably many more serious ones as well.
+
+AUTHOR
+ Bryan Jurish <moocow@ling.uni-potsdam.de>
+
diff --git a/weightmap/configure.in b/weightmap/configure.in
index 958750b..1f472dc 100644
--- a/weightmap/configure.in
+++ b/weightmap/configure.in
@@ -71,7 +71,18 @@ AC_CHECK_HEADERS([math.h],
dnl PD externals
-PD_OBJECT_EXTERNALS="weightmap\$(EXEEXT)"
+AC_MSG_CHECKING([how to hack automake EXEEXT conventions])
+case "${am__api_version}" in
+ 1.[[0-4]]*)
+ AC_MSG_RESULT([automake v${am__api_version}: on install])
+ buildext=""
+ ;;
+ *)
+ AC_MSG_RESULT([automake v${am__api_version}: on build])
+ buildext="\$(EXEEXT)"
+ ;;
+esac
+PD_OBJECT_EXTERNALS="weightmap${buildext}"
AC_SUBST(PD_OBJECT_EXTERNALS)
diff --git a/weightmap/src/Makefile.am b/weightmap/src/Makefile.am
index a7feb67..5d64322 100644
--- a/weightmap/src/Makefile.am
+++ b/weightmap/src/Makefile.am
@@ -58,14 +58,11 @@ LFLAGS = @LFLAGS@
OFLAGS = @OFLAGS@
WFLAGS = -Wall -Winline
-#GLIB_IFLAGS = @GLIB_IFLAGS@
-#GLIB_LFLAGS = @GLIB_LFLAGS@
-
-AM_CPPFLAGS = $(IFLAGS) $(GLIB_IFLAGS) $(DFLAGS)
+AM_CPPFLAGS = $(IFLAGS) $(DFLAGS)
AM_CFLAGS = $(OFLAGS) $(WFLAGS) $(AFLAGS)
weightmap_LDFLAGS = $(LFLAGS)
-weightmap_LDADD = $(GLIB_LFLAGS)
+#weightmap_LDADD =
#-----------------------------------------------------------------------
# Variables: cleanup
@@ -74,7 +71,7 @@ weightmap_LDADD = $(GLIB_LFLAGS)
#MOSTLYCLEANFILES =
## --- clean: built by 'make'
-CLEANFILES = *$(EXEEXT)
+CLEANFILES = *.$(PDEXT)
## --- distclean: built by 'configure'
DISTCLEANFILES = \