Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 1998 12:35:59 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Warner Losh <imp@village.org>, "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Steve Kargl <sgk@troutmask.apl.washington.edu>, "Robert V. Baron" <rvb@cs.cmu.edu>, wollman@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   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)
Message-ID:  <19981205123559.O603@freebie.lemis.com>
In-Reply-To: <199812050147.SAA43570@harmony.village.org>; from Warner Losh on Fri, Dec 04, 1998 at 06:47:20PM -0700
References:  <2140.912819552@zippy.cdrom.com> <199812050147.SAA43570@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981205123559.O603>