summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-06 17:43:03 +0000
committerChris Lattner <sabre@nondot.org>2006-06-06 17:43:03 +0000
commit54a417be0087cddafa6bf131d8f888ad34fff4bb (patch)
tree47c59e59e7fe57b6b7e050f80379f850ba14d830
parentac601b4c4b3f6ff79f3bd99da6bb33d25ceb4e17 (diff)
downloadbcm5719-llvm-54a417be0087cddafa6bf131d8f888ad34fff4bb.tar.gz
bcm5719-llvm-54a417be0087cddafa6bf131d8f888ad34fff4bb.zip
Make the llvm-config library dependency database depend on all of the libraries.
llvm-svn: 28695
-rw-r--r--llvm/tools/llvm-config/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/tools/llvm-config/Makefile b/llvm/tools/llvm-config/Makefile
index f07bcc994e0..413fd0a53a3 100644
--- a/llvm/tools/llvm-config/Makefile
+++ b/llvm/tools/llvm-config/Makefile
@@ -27,12 +27,10 @@ SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags}
SUB_LDFLAGS =
FinalLibDeps = $(PROJ_OBJ_DIR)/FinalLibDeps.txt
-LibDeps = $(PROJ_OBJ_DIR)/LibDeps.txt
-GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
-# MANUAL USE ONLY! GenLibDeps.pl is very non-portable, so LibDeps.txt
-# should only be re-built manually. No other rule in this file should
-# depend on LibDeps.txt.
-$(LibDeps): $(GenLibDeps) $(LibDir)
+LibDeps = $(PROJ_OBJ_DIR)/LibDeps.txt
+GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
+
+$(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
$(Echo) "Regenerating LibDeps.txt"
$(Verb) $(GenLibDeps) -flat $(LibDir) | sort > $(LibDeps)
OpenPOWER on IntegriCloud