aboutsummaryrefslogtreecommitdiff
path: root/abstractions
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-17 00:01:55 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-17 00:01:55 +0000
commitd351824253b1af0a53f9a628ee4a9628ab9720a2 (patch)
treeee24538f2a1833606782f96a65e7ed744cdaf512 /abstractions
parent137d4c07d5b0dd5bd0dcb4eb7c74c5ded135c351 (diff)
got everything working properly with the centralized build system
svn path=/trunk/; revision=3951
Diffstat (limited to 'abstractions')
-rw-r--r--abstractions/Makefile11
-rwxr-xr-x[-rw-r--r--]abstractions/Makefile.buildlayout (renamed from abstractions/Makefile.dirs)28
2 files changed, 31 insertions, 8 deletions
diff --git a/abstractions/Makefile b/abstractions/Makefile
index f5a97068..235f98ca 100644
--- a/abstractions/Makefile
+++ b/abstractions/Makefile
@@ -6,14 +6,17 @@
#
#==============================================================================#
-# these are setup to be overridden by the packages/*/Makefiles
-SRC_ROOT_DIR := $(shell pwd)/..
+CWD := $(shell pwd)
+
+# these are setup to be overridden by the packages/Makefile
+SRC_ROOT_DIR = $(CWD)/..
INSTALL_PREFIX = build
+BUILDLAYOUT_DIR = $(CWD)
# default target
-all: objects applications
+install: objects applications
-include Makefile.dirs
+include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
#==============================================================================#
#
diff --git a/abstractions/Makefile.dirs b/abstractions/Makefile.buildlayout
index 2c43a9d5..a2e6ef06 100644..100755
--- a/abstractions/Makefile.dirs
+++ b/abstractions/Makefile.buildlayout
@@ -1,9 +1,29 @@
-# this file should be exactly the same in each section of the CVS. A copy is
-# kept in each section of the CVS so that each section will be
-# self-sufficient. <hans@at.or.at>
+## Makefile.buildlayout
-# $(INSTALL_PREFIX) and $(SRC_ROOT_DIR) are set in Makefile
+# This file should be exactly the same in each section of the CVS. A copy is
+# kept in each section of the CVS so that each section will be self-contained.
+# To use it, you need to include it in your Makefile (i.e. "include
+# Makefile.buildlayout") and then define $(INSTALL_PREFIX) and $(SRC_ROOT_DIR).
+#
+# $(SRC_ROOT_DIR) is the base directory of src tree, equivalent to the root
+# level of the pure-data CVS.
+#
+# $(INSTALL_PREFIX) is the base directory to where all of the resulting files
+# will be copied.
+#
+# This file is currently located in these places:
+# abstractions
+# externals/build
+# packages
+#
+# it will be going here too:
+# doc
+# extensions
+# gem
+# pd
+#
+# <hans@at.or.at>
# sources
ABSTRACTIONS_SRC = $(SRC_ROOT_DIR)/abstractions