aboutsummaryrefslogtreecommitdiffstats
path: root/projects/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'projects/Makefile')
-rw-r--r--projects/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/projects/Makefile b/projects/Makefile
new file mode 100644
index 0000000..8be3d40
--- /dev/null
+++ b/projects/Makefile
@@ -0,0 +1,20 @@
+##===- projects/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+LEVEL=..
+
+include $(LEVEL)/Makefile.config
+
+DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
+
+# Sparc cannot link shared libraries (libtool problem?)
+ifeq ($(ARCH), Sparc)
+DIRS := $(filter-out sample, $(DIRS))
+endif
+
+include $(PROJ_SRC_ROOT)/Makefile.rules