Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 1996 08:26:33 -0800 (PST)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        bde@zeta.org.au, peter@jhome.dialix.com, CVS-committers@freebsd.org, cvs-lib@freebsd.org, jdp@polstra.com, nate@sri.MT.net
Subject:   Re: cvs commit: src/lib/csu/i386 crt0.c
Message-ID:  <199602031626.IAA22687@GndRsh.aac.dev.com>
In-Reply-To: <199602020819.TAA04149@godzilla.zeta.org.au> from "Bruce Evans" at Feb 2, 96 07:19:46 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >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



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