Awk build tweaks

-Make yacc invocation "less chatty to stderr" (again)
-Generate proctab.c (again)
This commit is contained in:
Arun Thomas
2010-05-13 19:29:42 +00:00
parent 869a181025
commit 5fa734b708
4 changed files with 20 additions and 211 deletions
+6
View File
@@ -200,9 +200,15 @@ LFLAGS+= ${LPREFIX:D-P${LPREFIX}}
YFLAGS+= ${YPREFIX.${.IMPSRC:T}:D-p${YPREFIX.${.IMPSRC:T}}} ${YHEADER.${.IMPSRC:T}:D-d}
YFLAGS+= ${YPREFIX:D-p${YPREFIX}} ${YHEADER:D-d}
.ifdef QUIET_YACC
.y.c:
${_MKTARGET_YACC}
${YACC.y} -o ${.TARGET} ${.IMPSRC} 2> /dev/null
.else
.y.c:
${_MKTARGET_YACC}
${YACC.y} -o ${.TARGET} ${.IMPSRC}
.endif
.ifdef YHEADER
.y.h: ${.TARGET:.h=.c}