Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 12:25:35 -0500
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Nathan Ahlstrom <nrahlstr@winternet.com>
Cc:        Libh <freebsd-libh@FreeBSD.ORG>
Subject:   Re: Damn Make! (was: Re: MAKEOBJDIR)
Message-ID:  <20011212172535.GC93423@shall.anarcat.dyndns.org>
In-Reply-To: <20011212111139.C9600@winternet.com>
References:  <20011212163933.GB65834@shall.anarcat.dyndns.org> <20011212111139.C9600@winternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--TYecfFk8j8mZq+dy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed Dec 12, 2001 at 11:11:39AM -0600, Nathan Ahlstrom wrote:
>=20
> What about this patch?

no-no-no.. you don't understand. The idea is to get rid of compile/
Makefiles. Use compile just as we use /usr/obj for the world.

Pros:=20

- we can compile the modules (bin/tclh, lib/file...) in their own
  directories or not (this was also possible before)
- we can *detect*, in those Makefiles, wether we're compiling in our own
  dir or in the global compile/, which allows us to -Link only with
  compile/ in the proper case
- we have less makefiles and less make voodoo

Cons:

- it doesn't work yet.

In other words, I want SUBDIR to be "lib bin" and have the base makefile
call:

( cd $dir && env MAKEOBJDIR=3Dcompile/$UITYPE/ make $@ )

for each SUBDIR.

It should work. Why is make so dumb?

a.

a.

--TYecfFk8j8mZq+dy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwXkw8ACgkQttcWHAnWiGfbrwCfcCevfGWbQgxGtinyKDsgdrej
vdwAn2DLSqE9cKGfRc5zE9WZMIFeheyn
=orhs
-----END PGP SIGNATURE-----

--TYecfFk8j8mZq+dy--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212172535.GC93423>