[llvm-commits] [llvm] r144197 - /llvm/trunk/Makefile.rules
Daniel Dunbar
daniel at zuster.org
Wed Nov 9 10:48:22 PST 2011
Author: ddunbar
Date: Wed Nov 9 12:48:22 2011
New Revision: 144197
URL: http://llvm.org/viewvc/llvm-project?rev=144197&view=rev
Log:
build/Make: Fix some missing dependencies on the llvm-build generation step.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=144197&r1=144196&r2=144197&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Wed Nov 9 12:48:22 2011
@@ -86,12 +86,18 @@
#
# 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
More information about the llvm-commits
mailing list