From 4d29d2d2226e51d740348537bd0102b6871f9dd2 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Tue, 25 Nov 2003 20:37:45 +0000 Subject: [PATCH] Adjusted the projects Makefile so that it picks up the name of projects by scanning the source tree (not the object tree). llvm-svn: 10223 --- llvm/projects/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/llvm/projects/Makefile b/llvm/projects/Makefile index 16ee42e47546..5465268ecf1b 100644 --- a/llvm/projects/Makefile +++ b/llvm/projects/Makefile @@ -8,7 +8,9 @@ ##===----------------------------------------------------------------------===## LEVEL=.. -DIRS= -OPTIONAL_DIRS:=$(shell ls | grep -v CVS) +include $(LEVEL)/Makefile.config -include $(LEVEL)/Makefile.common +DIRS= +OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile)) + +include $(BUILD_SRC_ROOT)/Makefile.rules