[llvm-commits] CVS: llvm/Makefile.rules
Reid Spencer
reid at x10sys.com
Wed Aug 24 21:44:30 PDT 2005
Changes in directory llvm:
Makefile.rules updated: 1.321 -> 1.322
---
Log message:
Don't attempt to update LLVM configured header files from a build in a
project. Thanks to Chris for pointing out this deficiency.
---
Diffs of the changes: (+5 -0)
Makefile.rules | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.321 llvm/Makefile.rules:1.322
--- llvm/Makefile.rules:1.321 Wed Aug 24 05:55:07 2005
+++ llvm/Makefile.rules Wed Aug 24 23:44:18 2005
@@ -144,10 +144,15 @@
$(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \
$(ConfigStatusScript)
+#------------------------------------------------------------------------
+# If we're buildilng LLVM, then make sure the generated headers are Up2Dt
+#------------------------------------------------------------------------
+ifeq ($(LLVM_OBJ_ROOT),$(PROJ_OBJ_ROOT))
.PRECIOUS: $(FilesToConfigPATH)
$(FilesToConfigPATH) : $(LLVM_OBJ_ROOT)/% : $(LLVM_SRC_ROOT)/%.in
$(Echo) Regenerating $*
$(Verb) cd $(LLVM_OBJ_ROOT) && $(ConfigStatusScript) $*
+endif
#------------------------------------------------------------------------
# Make sure the configuration makefile is up to date
More information about the llvm-commits
mailing list