aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2007-08-01 23:36:36 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2007-08-01 23:36:36 +0000
commitc8701577ce452e131226961c7ae73419a44ef889 (patch)
tree87a09e4c32a3097eee32a982f51e762392e812e3
parent0db30bf3f3019f42f08c63b8ea3415738386639d (diff)
+ added extended/: pd-extended placeholder build directory hack
svn path=/trunk/externals/moocow/; revision=8339
-rw-r--r--extended/Makefile90
-rw-r--r--extended/README.pod54
-rw-r--r--extended/README.txt47
3 files changed, 191 insertions, 0 deletions
diff --git a/extended/Makefile b/extended/Makefile
new file mode 100644
index 0000000..306d543
--- /dev/null
+++ b/extended/Makefile
@@ -0,0 +1,90 @@
+## -*- Mode: Makefile -*-
+##
+## File: externals/moocow/extended/Makefile
+## Author: Bryan Jurish <moocow@bbaw.de>
+## Description: pd-extended makefile for moocow's externals
+##
+
+##======================================================================
+## Variables
+
+SUBDIRS = \
+ ../deque \
+ ../pdstring \
+ ../readdir \
+ ../weightmap
+
+# ../flite ../gfsm
+
+#CFLAGS ?= -march=k8
+
+MOOCOW_DIR ?=$(shell pwd)
+MOOCOW_BUILD ?=$(MOOCOW_DIR)/build
+
+CONFIGURE_ARGS=\
+ CFLAGS="$(CFLAGS)" \
+ --with-pd-include="$(pd_src)" \
+ --with-pd-dir="$(MOOCOW_BUILD)" \
+ --with-pd-extdir="$(MOOCOW_BUILD)/externs"
+
+##======================================================================
+## Rules: default
+all: build.stamp
+
+autogen: $(SUBDIRS:=-autogen)
+configure: $(SUBDIRS:=-configure)
+
+build.stamp: $(SUBDIRS:=/build.stamp)
+ touch $@
+
+reamde: README.txt
+README.txt: README.pod
+ pod2text README.pod $@
+
+clean:
+ for d in $(SUBDIRS); do $(MAKE) -C $$d clean || true; rm -f $$d/build.stamp; done;
+ rm -f build.stamp config.log
+ rm -rf $(MOOCOW_BUILD)
+
+realclean: clean
+ for d in $(SUBDIRS); do $(MAKE) -C $$d realclean || true; done;
+
+cvsclean: clean
+ for d in $(SUBDIRS); do $(MAKE) -C $$d cvsclean || true; done;
+
+
+##======================================================================
+## Templates: subdir
+
+## RULES = $(call subdir_template,$(dir_path),$(configure_args))
+define subdir_template
+ $(1)-autogen:
+ (cd $(1); ./autogen.sh) || true
+
+ $(1)-configure:
+ (cd $(1); ./configure $(CONFIGURE_ARGS) $(2)) || true
+
+ $(1)/configure: $(1)/configure.in $(1)/Makefile.am $(1)/autogen.sh
+ $(MAKE) $(1)-autogen
+
+ $(1)/Makefile: $(1)/configure
+ $(MAKE) $(1)-configure
+
+ $(1)/build.stamp: $(1)/Makefile
+ $(MAKE) -C $(1) all install || true
+ touch $$@
+
+ $(1)-clean:
+ $(MAKE) -C $(1) clean || true
+endef
+
+
+##======================================================================
+## Rules: subdirectories
+
+$(eval $(call subdir_template,../deque))
+#$(eval $(call subdir_template,../flite))
+#$(eval $(call subdir_template,../gfsm))
+$(eval $(call subdir_template,../pdstring,--enable-object-externals))
+$(eval $(call subdir_template,../readdir))
+$(eval $(call subdir_template,../weightmap))
diff --git a/extended/README.pod b/extended/README.pod
new file mode 100644
index 0000000..f01b373
--- /dev/null
+++ b/extended/README.pod
@@ -0,0 +1,54 @@
+=pod
+
+README for externals/moocow/extended/ build hacks.
+
+Last updated Thu, 02 Aug 2007 00:48:50 +0200
+
+=head1 DESCRIPTION
+
+This directory is for pd-extended compatible builds of (some of)
+moocow's externals directly from the CVS repository.
+
+=head1 USAGE
+
+Issuing the following commands to the shell:
+
+ cd externals/moocow/extended (or wherever you extracted the distribution)
+ make
+
+... should result in all objects being compiled into extended/build/externs.
+This is intended to be called from externals/Makefile.
+
+=head1 SUPPORTED EXTERNALS
+
+This makefile currently supports the following of moocow's externals:
+
+ deque
+ pdstring (just the dummy object, not the library!)
+ any2string
+ string2any
+ readdir
+ weightmap
+
+The following of moocow's externals are unsupported (for various reasons):
+
+ flite
+ gfsm
+ ratts
+
+
+=head1 ACKNOWLEDGEMENTS
+
+Pd by Miller Puckette and others.
+
+Ideas, black magic, and other nuggets of information drawn
+from code by Guenter Geiger, iohannes m zmoelnig, Hans-Christoph Steiner,
+and others.
+
+=head1 KNOWN BUGS
+
+None known.
+
+=head1 AUTHOR
+
+Bryan Jurish E<lt>moocow@bbaw.deE<gt>
diff --git a/extended/README.txt b/extended/README.txt
new file mode 100644
index 0000000..35a0dba
--- /dev/null
+++ b/extended/README.txt
@@ -0,0 +1,47 @@
+ README for externals/moocow/extended/ build hacks.
+
+ Last updated Thu, 02 Aug 2007 00:48:50 +0200
+
+DESCRIPTION
+ This directory is for pd-extended compatible builds of (some of)
+ moocow's externals directly from the CVS repository.
+
+USAGE
+ Issuing the following commands to the shell:
+
+ cd externals/moocow/extended (or wherever you extracted the distribution)
+ make
+
+ ... should result in all objects being compiled into
+ extended/build/externs. This is intended to be called from
+ externals/Makefile.
+
+SUPPORTED EXTERNALS
+ This makefile currently supports the following of moocow's externals:
+
+ deque
+ pdstring (just the dummy object, not the library!)
+ any2string
+ string2any
+ readdir
+ weightmap
+
+ The following of moocow's externals are unsupported (for various
+ reasons):
+
+ flite
+ gfsm
+ ratts
+
+ACKNOWLEDGEMENTS
+ Pd by Miller Puckette and others.
+
+ Ideas, black magic, and other nuggets of information drawn from code by
+ Guenter Geiger, iohannes m zmoelnig, Hans-Christoph Steiner, and others.
+
+KNOWN BUGS
+ None known.
+
+AUTHOR
+ Bryan Jurish <moocow@bbaw.de>
+