[llvm-commits] CVS: llvm/tools/llvm-config/Makefile

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 6 10:43:15 PDT 2006



Changes in directory llvm/tools/llvm-config:

Makefile updated: 1.9 -> 1.10
---
Log message:

Make the llvm-config library dependency database depend on all of the libraries.


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

 Makefile |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)


Index: llvm/tools/llvm-config/Makefile
diff -u llvm/tools/llvm-config/Makefile:1.9 llvm/tools/llvm-config/Makefile:1.10
--- llvm/tools/llvm-config/Makefile:1.9	Fri Jun  2 14:13:29 2006
+++ llvm/tools/llvm-config/Makefile	Tue Jun  6 12:43:03 2006
@@ -27,12 +27,10 @@
 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)
 






More information about the llvm-commits mailing list