Subject: Re: New possibility to move "obj" logic *out* of make(1)
To: Simon J. Gerraty <sjg@crufty.net>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-userlevel
Date: 10/31/2001 15:30:45
On Wed, 31 Oct 2001, Simon J. Gerraty wrote:

: >The only difference that may come into play here is the disabling of the
: >"logical path" (using the PWD environment variable) for .CURDIR, which
: >currently happens only for MAKEOBJDIRPREFIX.  However, this part needs to be
: >revisited.  There are reasons that make(1) should use resolved paths,
: >ignoring PWD, even without MAKEOBJDIRPREFIX; the same problems can afflict
: >MAKEOBJDIR and BSDSRCDIR/BSDOBJDIR.

: But if you are going to keep the $PWD handling feature you'll need to come
: up with a way to undo it or something.

Actually, my point was more that make(1) doesn't *really* need to use $PWD
at all; it has done more harm than good because of all our twisty mazes of
objdir handling methods.  If there's no really good reason for keeping it,
I'd say `nuke it' and let getcwd() sort it out always.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/