Subject: Re: make(1)'s inbuilt objdir handling
To: None <tech-toolchain@NetBSd.org>
From: None <tlaronde@polynum.com>
List: tech-toolchain
Date: 06/21/2005 11:00:06
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 21, 2005 at 01:39:16PM +1000, Luke Mewburn wrote:
>[lines removed]=20
> I personally believe that rules 3 through 5 should be removed from make.
> Rationale:
>=20
>     *	They're not documented in make(1)'s manual page.
>=20
>     *	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`
>=20
>[..]=20
> 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.

Regards,
--=20
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

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCt9cWUrGulWAG9AwRAqe4AJ4huOnrFnyBneIMvai8RbhtdwFGBwCguWHi
YNuetNXRQ3ilBYUKo7g2w74=
=XepD
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--