Date: Wed, 6 May 1998 08:01:19 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: cvs commit: src/share/mk bsd.prog.mk Message-ID: <199805061501.IAA07681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/05/06 08:01:19 PDT Modified files: share/mk bsd.prog.mk Log: Regress to generating foo.c from foo.y via y.tab.c for crufty applications that want a y.tab.h file. This want must be specified by putting y.tab.h in SRCS (and defaulting to or putting -d in YFLAGS). This only works if there is only one yacc parser, of course. One improvement: copy y.tab.c to foo.c instead of renaming it, so that `#line...y.tab.c' statements in it refer to an existing file. Regress to not generating explicit rules for .l and .y sources containing slashes. This case is unusual and hard to handle properly. Don't generate an unused dependency when -d is not in YFLAGS. Revision Changes Path 1.71 +20 -12 src/share/mk/bsd.prog.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805061501.IAA07681>