Date: Tue, 1 Sep 1998 15:13:42 -0700 (PDT) From: "David E. O'Brien" <obrien@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/share/mk bsd.dep.mk Message-ID: <199809012213.PAA20696@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 1998/09/01 15:13:41 PDT Modified files: (Branch: RELENG_2_2) share/mk bsd.dep.mk Log: [As I was saying] I believe this by bde from bsd.prog.mk still applies: To get the fixes and simplifications, application Makefiles should put the raw lex and yacc source names (foo.l and bar.y) in SRCS and not put the names of any generated files in SRCS or CLEANFILES. If you want to 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. Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h will be generated whether or not it is used, even if this clobbers a real source file. Revision Changes Path 1.8.2.7 +1 -1 src/share/mk/bsd.dep.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809012213.PAA20696>