aboutsummaryrefslogtreecommitdiff
path: root/projects/Makefile
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-11-25 20:37:45 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-11-25 20:37:45 +0000
commit9b3b5dee7e836ab42eb71613ecc75b0840256382 (patch)
tree9cd5bc0c565dbb13d12758fa7fe9b05338ec5c59 /projects/Makefile
parent33a911a5c65c139dd5943f39bd94532b91416de2 (diff)
Adjusted the projects Makefile so that it picks up the name of projects
by scanning the source tree (not the object tree). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Makefile')
-rw-r--r--projects/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/projects/Makefile b/projects/Makefile
index 16ee42e475..5465268ecf 100644
--- a/projects/Makefile
+++ b/projects/Makefile
@@ -8,7 +8,9 @@
##===----------------------------------------------------------------------===##
LEVEL=..
+include $(LEVEL)/Makefile.config
+
DIRS=
-OPTIONAL_DIRS:=$(shell ls | grep -v CVS)
+OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile))
-include $(LEVEL)/Makefile.common
+include $(BUILD_SRC_ROOT)/Makefile.rules