Subject: Re: make(1)'s inbuilt objdir handling
To: None <tech-toolchain@NetBSd.org>
From: None <email@example.com>
Date: 06/21/2005 11:00:06
Content-Type: text/plain; charset=us-ascii
On Tue, Jun 21, 2005 at 01:39:16PM +1000, Luke Mewburn wrote:
> I personally believe that rules 3 through 5 should be removed from make.
> * They're not documented in make(1)'s manual page.
> * They cause enormous confusion when building programs without
> MAKEOBJDIR or MAKEOBJDIRPREFIX, especially programs outside
> of the "standard" NetBSD source tree, that have:
> - a subdirectory called "obj",
> - a subdirectory called "obj.`uname -n`"
> (although that's less likely), or
> - a directory in /usr/obj/`pwd`
> This would solve a bunch of complaints users have raised,
> allow us to use our (NetBSD) make for some packages which
> currently use GNU make to avoid the "obj" subdir .OBJDIR frobbery,
> and result in less effort required to modify make(1)'s manual
> page to match reality.
FWIW, as a user, I'm for it. Once a developer is aware of the
MAKEOBJDIR* env variables (and they are in the man pages even if, I, for
one, totally missed to notice that I had to deal with) everything can be
under his control (unset or set to not existent value as suggested by
David Laight), while the "obj*/" stuff depends not only on the tree of
the program compiled, but also on the total tree of the host which is
clearly out of control.
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.org/ | http://www.kergis.com/
Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
-----END PGP SIGNATURE-----