From owner-cvs-lib Sat Feb 3 08:27:22 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA08856 for cvs-lib-outgoing; Sat, 3 Feb 1996 08:27:22 -0800 (PST) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA08805 Sat, 3 Feb 1996 08:26:56 -0800 (PST) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id IAA22687; Sat, 3 Feb 1996 08:26:33 -0800 From: "Rodney W. Grimes" Message-Id: <199602031626.IAA22687@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/lib/csu/i386 crt0.c To: bde@zeta.org.au (Bruce Evans) Date: Sat, 3 Feb 1996 08:26:33 -0800 (PST) Cc: bde@zeta.org.au, peter@jhome.dialix.com, CVS-committers@freebsd.org, cvs-lib@freebsd.org, jdp@polstra.com, nate@sri.MT.net In-Reply-To: <199602020819.TAA04149@godzilla.zeta.org.au> from "Bruce Evans" at Feb 2, 96 07:19:46 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@freebsd.org Precedence: bulk > > >IMHO, the "safest" thing to do is ensure that we do all the compiling of the > >utility programs to generate library code first, before we even touch > >anything in /usr/lib or /usr/include. ie: (cd lib ; make depend) before > >doing the CLOBBER in the libraries target. > > There's no guarantee that `make depend' creates all the utilities. It > has to create most of them to get the dependencies right, however. > > If I ran `make world' a lot (I haven't tried it yet!) then I would > remove the `make depend' step to speed it up a little. If NOCLEANDIR > isn't defined, the .depend files are almost never used for `make world' > because `make depend all' gives bogus dependencies for the `all' target > (the .depend files don't exist when the dependencies are determined). You keep saying this, but it is not totally true, _especially_ when this command is run from a high level in the source tree. Ie, cd /usr/src; make depend all; does infact DTRT as first a full sweep over the src tree creating .depends is run, then a full pass over the tree running make all (at this point the .depends do exist). There are several cases though that should be changed to: make depend && make all. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD