From owner-cvs-all Wed May 6 08:04:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11453 for cvs-all-outgoing; Wed, 6 May 1998 08:04:07 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11366; Wed, 6 May 1998 08:04:01 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA07681; Wed, 6 May 1998 08:01:19 -0700 (PDT) Date: Wed, 6 May 1998 08:01:19 -0700 (PDT) Message-Id: <199805061501.IAA07681@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: cvs commit: src/share/mk bsd.prog.mk Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message