aboutsummaryrefslogtreecommitdiff
path: root/extensions/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-28 02:32:31 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-28 02:32:31 +0000
commit450695869e334f4626e08c53e429501d61b11e18 (patch)
tree4b72786e0896d06123da3fa1142e85bb3e1e0258 /extensions/Makefile
parent1b5906f97a129fa95bb9a5149b7787b886fbe8da (diff)
added gripd docs and gui/ix to the build system
svn path=/trunk/; revision=4063
Diffstat (limited to 'extensions/Makefile')
-rw-r--r--extensions/Makefile93
1 files changed, 93 insertions, 0 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
new file mode 100644
index 00000000..ba794fe2
--- /dev/null
+++ b/extensions/Makefile
@@ -0,0 +1,93 @@
+#==============================================================================#
+#
+# Centralized build system for "extensions".
+#
+# see for instructions: http://puredata.org/docs/developer/build
+# <hans@at.or.at>
+#
+#==============================================================================#
+
+CWD := $(shell pwd)
+
+# these are designed to be overridden by the packages/Makefile
+cvs_root_dir = $(CWD)/..
+prefix = build
+BUILDLAYOUT_DIR = $(CWD)
+
+# default target
+all: gripd
+
+include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
+
+#==============================================================================#
+#
+# OVERARCHING BUILD TARGETS
+#
+#==============================================================================#
+
+# clean up after everything is installed
+final_setup:
+ chmod -R ugo-w $(pddocdir)
+
+install: gripd_install ix_install
+ @echo " "
+ @echo "extensions install succeeded!"
+
+#==============================================================================#
+#
+# PROJECT-SPECIFIC TARGETS
+#
+#==============================================================================#
+
+#------------------------------------------------------------------------------#
+# GRIPD
+GRIPD_NAME = gripd
+gripd:
+
+
+gripd_install:
+ install -d $(helpdir)
+ install -p $(extensions_src)/gripd/examples/gripd.pd \
+ $(helpdir)/gripd-help.pd
+ install -d $(manualsdir)/$(GRIPD_NAME)
+ install -p $(extensions_src)/gripd/README.txt \
+ $(manualsdir)/$(GRIPD_NAME)
+ install -d $(examplesdir)/$(GRIPD_NAME)
+ install -p $(extensions_src)/gripd/examples/*.* \
+ $(examplesdir)/$(GRIPD_NAME)
+
+
+
+#------------------------------------------------------------------------------#
+# IX
+IX_NAME = ix
+ix_install:
+ install -d $(objectsdir)/$(IX_NAME)
+ install -p $(extensions_src)/gui/ix/*.wid $(objectsdir)/$(IX_NAME)
+ install -d $(manualsdir)/$(IX_NAME)
+ install -p $(extensions_src)/gui/ix/README \
+ $(manualsdir)/$(IX_NAME)/README.txt
+ install -d $(examplesdir)/$(IX_NAME)
+ install -p $(extensions_src)/gui/ix/*.pd $(examplesdir)/$(IX_NAME)
+
+
+
+#==============================================================================#
+#
+# DEVELOPER'S TARGETS
+#
+#==============================================================================#
+
+# make the symlinks necessary to simulate the installed environment
+devsymlinks:
+
+#==============================================================================#
+#
+# CLEAN TARGETS
+#
+#==============================================================================#
+
+# the destination-specific clean targets are in Makefile.buildlayout
+clean: install_clean
+
+distclean: clean cruft_clean