From owner-cvs-all Fri Dec 4 18:12:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA22134 for cvs-all-outgoing; Fri, 4 Dec 1998 18:12:44 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp3.portal.net.au [202.12.71.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA22129; Fri, 4 Dec 1998 18:12:33 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id SAA01724; Fri, 4 Dec 1998 18:09:17 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812050209.SAA01724@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Greg Lehey cc: Warner Losh , "Jordan K. Hubbard" , Steve Kargl , "Robert V. Baron" , wollman@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: Requiring make depend (was: cvs commit: src/sys/sys bus.h bus_private.h conf.h devicestat.h module.h src/sys/kern bus_if.m device_if.m kern_con) In-reply-to: Your message of "Sat, 05 Dec 1998 12:35:59 +1030." <19981205123559.O603@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 04 Dec 1998 18:09:15 -0800 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > On Friday, 4 December 1998 at 18:47:20 -0700, Warner Losh wrote: > > In message <2140.912819552@zippy.cdrom.com> "Jordan K. Hubbard" writes: > > : Perhaps not, but this is very definitely now the case in 3.0. If you > > : don't make depend first, the build won't even complete. > > > > I understand that. make depend fixes this, but it is a bug none the > > less. > > > > I'm just saying that even in the face of make -j, the makefile that is > > generated should have the proper dependencies in it to ensure that the > > generated files are build prior to their use. Relying on make depend > > to do this is an ugly kludge. We've had generated files for years > > before the current bus stuff was added that didn't cause this > > problem. I've fixed it once already... > > I agree with this sentiment. make depend should make dependency > information, not header files. The Makefiles should have rules to > make any necessary header files. They do. But without the dependancy information generated by 'make depend', make can't tell that it needs to generate the header files before building things that include them. 'make depend' should be *mandatory*, as the alternative involves duplicating dependancy information in the source and in the configuration infrastructure. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message