1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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

llvm-svn: 28695
This commit is contained in:
Chris Lattner 2006-06-06 17:43:03 +00:00
parent 04f6f0775a
commit f16f3e80fc

View File

@ -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)