[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Fri Oct 22 16:06:40 PDT 2004



Changes in directory llvm:

Makefile.rules updated: 1.204 -> 1.205
---
Log message:

Make sure that we don't set up a circular dependency if OBJDIR == SRCDIR


---
Diffs of the changes:  (+2 -0)

Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.204 llvm/Makefile.rules:1.205
--- llvm/Makefile.rules:1.204	Fri Oct 22 17:18:27 2004
+++ llvm/Makefile.rules	Fri Oct 22 18:06:30 2004
@@ -762,6 +762,7 @@
 #------------------------------------------------------------------------
 # If the Makefile in the source tree has been updated, copy it over into the
 # build tree.
+ifneq ($(OBJMKFILE),$(SRCMKFILE))
 .PRECIOUS: $(OBJMKFILE)
 $(OBJMKFILE): $(SRCMKFILE)
 	@$(ECHO) "Updating Makefile from : $(dir $<)"
@@ -769,6 +770,7 @@
 	$(VERB) cp -f $< $@
 	$(VERB) $(MAKE) $(MAKEFLAGS) $(MAKECMDGOALS)
 	@exit 0;
+endif
 
 ###############################################################################
 # MISCELLANEOUS - utility targets






More information about the llvm-commits mailing list