Fixed the dynamic generation of the list of subdirectories to compile.
authorJohn Criswell <criswell@uiuc.edu>
Mon, 8 Dec 2003 17:52:32 +0000 (17:52 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Mon, 8 Dec 2003 17:52:32 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10322 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/GCCLibraries/Makefile
runtime/Makefile

index f624250cab8c84ae8b874e5f338e71abe182054d..745dc05ddfecf8908cb9051814374ce8ef7215f4 100644 (file)
@@ -9,7 +9,8 @@
 # llvm/runtime/GCCLibraries Makefile:  Build all subdirectories automatically
 
 LEVEL = ../..
-PARALLEL_DIRS  := $(sort $(filter-out Output/, $(filter-out CVS/, $(wildcard */))))
+include $(LEVEL)/Makefile.config
+PARALLEL_DIRS  := $(sort $(filter-out README.txt, $(filter-out Makefile, $(filter-out Output, $(filter-out CVS, $(notdir $(wildcard $(SourceDir)/*)))))))
 PARALLEL_DIRS := $(filter-out libexception/, $(PARALLEL_DIRS))
 
 include $(LEVEL)/Makefile.common
index 30d96a755c980c4df986544836ac8d5b572b2c62..d8bc24a6f12cc7a96f506cd67fe6387ac6010fe2 100644 (file)
@@ -11,7 +11,7 @@
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 ifneq ($(wildcard $(LLVMGCCDIR)),)
-PARALLEL_DIRS  := $(sort $(filter-out Output/, $(filter-out CVS/, $(wildcard */))))
+PARALLEL_DIRS  := $(sort $(filter-out Makefile, $(filter-out README.txt, $(filter-out Output, $(filter-out CVS, $(notdir $(wildcard $(SourceDir)/*)))))))
 else
 PARALLEL_DIRS  := 
 all ::