aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-12-08 17:52:32 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-12-08 17:52:32 +0000
commitea0ac1fbb3d7d274e54aa157d02383db7c50b563 (patch)
treec295f7fab690dd376ccebb83d24a773bac2ea86e
parente63fc8b46fb1c9627b1c84508e258070fe3567cf (diff)
downloadexternal_llvm-ea0ac1fbb3d7d274e54aa157d02383db7c50b563.zip
external_llvm-ea0ac1fbb3d7d274e54aa157d02383db7c50b563.tar.gz
external_llvm-ea0ac1fbb3d7d274e54aa157d02383db7c50b563.tar.bz2
Fixed the dynamic generation of the list of subdirectories to compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10322 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--runtime/GCCLibraries/Makefile3
-rw-r--r--runtime/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/runtime/GCCLibraries/Makefile b/runtime/GCCLibraries/Makefile
index f624250..745dc05 100644
--- a/runtime/GCCLibraries/Makefile
+++ b/runtime/GCCLibraries/Makefile
@@ -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
diff --git a/runtime/Makefile b/runtime/Makefile
index 30d96a7..d8bc24a 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -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 ::