Re: cvs commit: src/usr.sbin/kldxref Makefile

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Tue, 1 Aug 2006 14:03:47 +0300
On Mon, Jul 31, 2006 at 07:15:58PM -0600, M. Warner Losh wrote:
> It all started out '.if defined(NO_FOO)' or '.if !defined(NO_FOO)'.
> This is why NO_OBJ and NO_MAN are that way.  Then people wanted to
> override the global default to force things to be linked statically.
> This was so that things like init could always be static back in the
> day.  This accounts for NO_SHARED handling.  It is a miss-mash.
> 
> That's why we're not supposed to set NO_FOO anymore.  MK_FOO is set to
> yes or no depending on defaults and WITH/WITHOUT_FOO.  I'm not sure
> why ru_at_ didn't include the above in his big cleanup.
> 
NO_MAN has been converted, and is preserved for backwards compatibility.
NO_OBJ I didn't test yet.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Tue Aug 01 2006 - 11:02:00 UTC