From 413f2f961af246ff6422726fb8071555c6cacb44 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 17 May 2007 22:51:35 +0000 Subject: [PATCH] Fix a problem with building .y files when BISON is not present. Merged from the release_20 branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37188 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index 888c5bdf040..d83f2fa548b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -1359,15 +1359,12 @@ all:: $(YaccFiles:%.y=$(PROJ_SRC_DIR)/%.cpp.cvs) %.h: %.y # Rule for building the bison based parsers... -$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y ifneq ($(BISON),) +$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y $(Echo) "Bisoning $*.y" $(Verb) $(BISON) -v -d -p $(