* llvm.spec.in: update blurb
[oota-llvm.git] / projects / Makefile
index 0489557731f70783ca8c30521bcb0439368d32f5..8be3d40c2e50e36e50f6bbf5fa51e9e99950828a 100644 (file)
@@ -1,6 +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=..
 
-DIRS=
-OPTIONAL_DIRS:=$(shell ls | grep -v CVS)
+include $(LEVEL)/Makefile.config
 
-include $(LEVEL)/Makefile.common
+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