cvs commit: src/usr.bin/make make.1

Bruce Evans bde at zeta.org.au
Wed Oct 12 13:25:44 PDT 2005


On Wed, 12 Oct 2005, John Baldwin wrote:

> On Wednesday 12 October 2005 02:07 pm, Garance A Drosehn wrote:
>> At 6:05 PM +0100 10/12/05, Ceri Davies wrote:
>>> On Wed, Oct 12, 2005, Warner Losh wrote:
>>> > From: Ruslan Ermilov <ru at freebsd.org>
>>> >
>>> >> __MAKE_CONF doesn't fall under "make sets or knows about the
>>> >> following internal variables or environment variables".
>>
>> Seems to me that it does.  I think the detailed description could

> make(1) does not include it.  sys.mk does, and it doesn't include it if %POSIX
> is defined:

> make(1) does honor some special environment variables like MAKEOBJDIRPREFIX,
> but __MAKE_CONF is not one of them.  It is handled in sys.mk, not in the
> make(1) program itself.

Also, make -m cause the default sys.mk to not be used.  This is the
non-hackish way of extending or otherwise altering sys.mk.  E.g., to 
extend it, use a sys.mk that includes the default one after fixing the
pollution in it, then add extensions.

make -m is actually a usual case under FreeBSD, since buildworld doesn't
use the host sys.mk.

Bruce


More information about the cvs-src mailing list