summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-15 07:23:05 +0000
committerChris Lattner <sabre@nondot.org>2006-02-15 07:23:05 +0000
commit1f1edce683799bbeb09de81cb4180c1756ec5de7 (patch)
tree425a4447e353528f42c0fd44fe97cb98b80aa127 /Makefile.rules
parent58af2a1c5f084591bbc4c878134f6ffeea215628 (diff)
downloadllvm-1f1edce683799bbeb09de81cb4180c1756ec5de7.tar.gz
llvm-1f1edce683799bbeb09de81cb4180c1756ec5de7.tar.bz2
llvm-1f1edce683799bbeb09de81cb4180c1756ec5de7.tar.xz
bugfixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 943eaaaf62..1b5600b298 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1252,7 +1252,7 @@ ifneq ($(YaccFiles),)
.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 @@ $(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y
$(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 @@ $(YaccFiles:%.y=$(PROJ_SRC_DIR)/%.cpp.cvs): \
$(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)