Subject: Re: make(1)'s inbuilt objdir handling
To: <>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-toolchain
Date: 06/24/2005 17:58:11
On Fri, 24 Jun 2005, der Mouse wrote:

>> While I realize it may be a bit of a pain, I'd appreciate it if you
>> can make "obj" and "obj.MACHINE" work again.  I use them in
>> non-NetBSD programs that still use bsd.*.mk files.
>
> Can't you get that effect with something like MAKEOBJDIRPREFIX=./ in
> the environment?  I'd certainly prefer that people who want make to
> chdir around behind their back have to ask for it explicitly; see my PR
> 23821, which Luke closed when ie fixed this, which outlined a case
> where it bit me rather badly.  (I've been tempted to reopen the PR so
> it doesn't get forgotten, now that Luke's backed out the commit, but
> haven't bothered yet.)

I can try it again, but I tried all sorts of combinations of MAKEOBDIR
and MAKEOBJDIRPREFIX and none of it worked. I sent out two emails and
filed a pr that appears to have vanished. So I think some more has to be
done with bsd.obj.mk before the changes can be made.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte