[llvm-commits] CVS: llvm/projects/Makefile

John Criswell criswell at cs.uiuc.edu
Tue Nov 25 14:38:01 PST 2003


Changes in directory llvm/projects:

Makefile updated: 1.3 -> 1.4

---
Log message:

Adjusted the projects Makefile so that it picks up the name of projects
by scanning the source tree (not the object tree).



---
Diffs of the changes:  (+4 -2)

Index: llvm/projects/Makefile
diff -u llvm/projects/Makefile:1.3 llvm/projects/Makefile:1.4
--- llvm/projects/Makefile:1.3	Mon Oct 20 17:27:58 2003
+++ llvm/projects/Makefile	Tue Nov 25 14:37:45 2003
@@ -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





More information about the llvm-commits mailing list