aboutsummaryrefslogtreecommitdiff
path: root/readdir
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2007-08-05 23:11:13 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2007-08-05 23:11:13 +0000
commitb43b88f10c8354e2873ca8c581cee155e792aef6 (patch)
treecc2e572eafdf48d0850c0ec551ca2a850feb04f4 /readdir
parenteab2e81bae60b817684875d516945d5f58e1baf2 (diff)
+ fixes for pd-extended autobuild with automake-1.4 (grr)
svn path=/trunk/externals/moocow/; revision=8425
Diffstat (limited to 'readdir')
-rw-r--r--readdir/README.txt33
-rw-r--r--readdir/configure.in14
-rw-r--r--readdir/src/Makefile.am9
3 files changed, 49 insertions, 7 deletions
diff --git a/readdir/README.txt b/readdir/README.txt
new file mode 100644
index 0000000..5dcf559
--- /dev/null
+++ b/readdir/README.txt
@@ -0,0 +1,33 @@
+ README for pd external 'readdir'
+
+ Last updated for readdir v0.02
+
+DESCRIPTION
+ The 'readdir' object lets you read the contents of a directory.
+
+INSTALLATION
+ Issue the following commands to the shell:
+
+ cd readdir-X.YY (or wherever you extracted the distribution)
+ ./configure
+ make
+ make install
+
+BUILD OPTIONS
+ The 'configure' script supports the following options, among others:
+
+ * --enable-debug , --disable-debug
+ Whether to enable verbose debugging messages. Default=no.
+
+ACKNOWLEDGEMENTS
+ PD by Miller Puckette and others.
+
+ Ideas, black magic, and other nuggets of information drawn from code by
+ Guenter Geiger, Larry Troxler, and iohannes m zmoelnig.
+
+KNOWN BUGS
+ None known.
+
+AUTHOR
+ Bryan Jurish <moocow@ling.uni-potsdam.de>
+
diff --git a/readdir/configure.in b/readdir/configure.in
index 466924a..c5326e1 100644
--- a/readdir/configure.in
+++ b/readdir/configure.in
@@ -71,7 +71,19 @@ AC_CHECK_HEADERS([dirent.h fcntl.h string.h errno.h],
dnl PD externals
-PD_OBJECT_EXTERNALS="readdir\$(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="readdir${buildext}"
AC_SUBST(PD_OBJECT_EXTERNALS)
diff --git a/readdir/src/Makefile.am b/readdir/src/Makefile.am
index 53f09c0..68280f5 100644
--- a/readdir/src/Makefile.am
+++ b/readdir/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)
readdir_LDFLAGS = $(LFLAGS)
-readdir_LDADD = $(GLIB_LFLAGS)
+#readdir_LDADD =
#-----------------------------------------------------------------------
# Variables: cleanup
@@ -74,7 +71,7 @@ readdir_LDADD = $(GLIB_LFLAGS)
#MOSTLYCLEANFILES =
## --- clean: built by 'make'
-CLEANFILES = *$(EXEEXT)
+CLEANFILES = *.$(PDEXT)
## --- distclean: built by 'configure'
DISTCLEANFILES = \