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

Chris Lattner lattner at cs.uiuc.edu
Tue Feb 14 23:23:18 PST 2006



Changes in directory llvm:

Makefile.rules updated: 1.345 -> 1.346
---
Log message:

bugfixes


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

 Makefile.rules |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.345 llvm/Makefile.rules:1.346
--- llvm/Makefile.rules:1.345	Wed Feb 15 01:16:57 2006
+++ llvm/Makefile.rules	Wed Feb 15 01:23:05 2006
@@ -1252,7 +1252,7 @@
 
 .PRECIOUS: $(YaccOutput)
 
-all:: $(YaccFiles:%.l=$(PROJ_SRC_DIR)/%.cpp.cvs)
+all:: $(YaccFiles:%.y=$(PROJ_SRC_DIR)/%.cpp.cvs)
 
 # Cancel built-in rules for yacc
 %.c: %.y 
@@ -1265,7 +1265,6 @@
 	$(Verb) $(BISON) -v -d -p $(<F:%Parser.y=%) -o $*.tab.c $<
 	$(Verb) $(MV) -f $*.tab.c $(PROJ_SRC_DIR)/$*.cpp
 	$(Verb) $(MV) -f $*.tab.h $(PROJ_SRC_DIR)/$*.h
-	$(Echo) "*** DON'T FORGET TO CHECK IN $*.cpp and $*.h (generated files)"
 
 # IFF the .y file has changed since it was last checked into CVS, copy the .y
 # file to .y.cvs and the generated .cpp/.h file to .cpp.cvs/.h.cvs.  We use this
@@ -1275,7 +1274,7 @@
 $(PROJ_SRC_DIR)/%.cpp.cvs: $(PROJ_SRC_DIR)/%.cpp
 	$(Verb) $(CMP) -s $@ $< || \
       ($(CP) $< $@; \
-       $(CP) $(PROJ_SRC_DIR)/$*.l $(PROJ_SRC_DIR)/$*.l.cvs; \
+       $(CP) $(PROJ_SRC_DIR)/$*.y $(PROJ_SRC_DIR)/$*.y.cvs; \
        $(CP) $(PROJ_SRC_DIR)/$*.h $(PROJ_SRC_DIR)/$*.h.cvs)
 
 






More information about the llvm-commits mailing list