From owner-cvs-lib Sat Feb 3 09:27:07 1996 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA13984 for cvs-lib-outgoing; Sat, 3 Feb 1996 09:27:07 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA13972 Sat, 3 Feb 1996 09:26:45 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id EAA22622; Sun, 4 Feb 1996 04:24:13 +1100 Date: Sun, 4 Feb 1996 04:24:13 +1100 From: Bruce Evans Message-Id: <199602031724.EAA22622@godzilla.zeta.org.au> To: bde@zeta.org.au, rgrimes@GndRsh.aac.dev.com Subject: Re: cvs commit: src/lib/csu/i386 crt0.c Cc: CVS-committers@freebsd.org, cvs-lib@freebsd.org, jdp@polstra.com, nate@sri.MT.net, peter@jhome.dialix.com Sender: owner-cvs-lib@freebsd.org Precedence: bulk >> 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). Oops. I keep forgetting that it works for SUBDIRs. >There are several cases though that should be changed to: >make depend && make all. It should be changed for all directories that have objects in them. E.g., it should be changed for building `make' as part of the build-tools target, but it doesn't need to be changed for building cc as part of the tools target. It should be changed for building cc anyway, because the top top level Makefile shouldn't know about the layout of the lower level directories. Only 1 of the 29 `${MAKE} depend all ...' commands in /usr/src/Makefile doesn't need to be changed :-). Bruce