From 2808853c5b22f8b4328d7ac9e37da23e7b52b8c2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 9 Nov 2011 18:48:22 +0000 Subject: [PATCH] build/Make: Fix some missing dependencies on the llvm-build generation step. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144197 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.rules b/Makefile.rules index 6dbc9768c4e..e82549d7075 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -86,12 +86,18 @@ LLVMConfigLibraryDependenciesInc := \ # # Note that this target gets its real dependencies generated for us by # llvm-build. -$(LLVMBuildMakeFrag): +# +# We include a dependency on this Makefile to ensure that changes to the +# generation command get picked up. +$(LLVMBuildMakeFrag): $(PROJ_SRC_ROOT)/Makefile.rules $(Echo) Constructing LLVMBuild project information. $(Verb) $(LLVMBuildTool) \ --write-library-table $(LLVMConfigLibraryDependenciesInc) \ --write-make-fragment $(LLVMBuildMakeFrag) +# For completeness, let Make know how the extra files are generated. +$(LLVMConfigLibraryDependenciesInc): $(LLVMBuildMakeFrag) + # Include the generated Makefile fragment. # # We currently only include the dependencies for the fragment itself if we are -- 2.34.1