diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-06 17:43:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-06 17:43:03 +0000 |
commit | 73ebd0974c80d2c0ab79587bb11f948e962df704 (patch) | |
tree | 67ee0c2b0ddd88b22cb7e10fbba9b03a0fc35a50 /tools/llvm-config/Makefile | |
parent | e9d93d5d70a59f78f4ec726711e9363cfc6b1f4d (diff) | |
download | llvm-73ebd0974c80d2c0ab79587bb11f948e962df704.tar.gz llvm-73ebd0974c80d2c0ab79587bb11f948e962df704.tar.bz2 llvm-73ebd0974c80d2c0ab79587bb11f948e962df704.tar.xz |
Make the llvm-config library dependency database depend on all of the libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/Makefile')
-rw-r--r-- | tools/llvm-config/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile index f07bcc994e..413fd0a53a 100644 --- a/tools/llvm-config/Makefile +++ b/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) |