aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-16 06:23:09 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-16 06:23:09 +0000
commite2297eb6c03cd4cb531e62b0ed3d58e4bdaa470b (patch)
treea02b7beed0527d30558547d19b74dd87bc5fcde6 /packages/Makefile
parent5a27c0d8f1dcad75f0744e90adc4d0956d3eb94e (diff)
renamed _DST to _DEST for the sake of clarity
svn path=/trunk/; revision=3941
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/Makefile b/packages/Makefile
new file mode 100644
index 00000000..8580e4f9
--- /dev/null
+++ b/packages/Makefile
@@ -0,0 +1,34 @@
+#
+#
+#
+
+# these are setup to be overridden by the packages/*/Makefiles
+SRC_ROOT_DIR := $(shell pwd)/..
+INSTALL_PREFIX = $(SRC_ROOT_DIR)/packages/build
+
+# default target
+all: abstractions
+
+include Makefile.dirs
+
+DST_PATHS = APPLICATIONS_DEST=$(APPLICATIONS_DEST) \
+ OBJECTS_DEST=$(OBJECTS_DEST) \
+ DOCS_DEST=$(DOCS_DEST) \
+ MANUALS_DEST=$(MANUALS_DEST)
+
+#------------------------------------------------------------------------------#
+# BUILD TARGETS
+#------------------------------------------------------------------------------#
+abstractions:
+ make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS)
+
+#------------------------------------------------------------------------------#
+# CLEAN TARGETS
+#------------------------------------------------------------------------------#
+abstractions_clean:
+ make -f $(ABSTRACTIONS_SRC)/Makefile $(DST_PATHS) clean
+
+clean: abstractions_clean
+ -rm -f *~
+ rm -rf $(MANUALS_DEST)
+ rmdir $(DOCS_BASE) $(INSTALL_PREFIX)