From owner-freebsd-current Sun Apr 14 23:56:39 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA06687 for current-outgoing; Sun, 14 Apr 1996 23:56:39 -0700 (PDT) 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 XAA06682 for ; Sun, 14 Apr 1996 23:56:35 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id XAA23803; Sun, 14 Apr 1996 23:56:28 -0700 From: "Rodney W. Grimes" Message-Id: <199604150656.XAA23803@GndRsh.aac.dev.com> Subject: Re: make world question To: imp@village.org (Warner Losh) Date: Sun, 14 Apr 1996 23:56:28 -0700 (PDT) Cc: current@freebsd.org In-Reply-To: <199604150554.XAA29699@rover.village.org> from Warner Losh at "Apr 14, 96 11:54:23 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Why is a make depend done as part of make world? Unless I'm missing > something, all of the binaries would be rebuilt anyway due to the .o's > not being there, it is a waste of time. Can one safely omit it for > "clean" builds on "virgin" /usr/src trees? Yes, one can safely ommit it (unless more cruft has slipped in, as in the past certain .c files created from other files occured during the depend phase only, these have been cleaned up last time I checked [right around 2.1R time].) > The order that is there now should cause the includes to be installed > first, and then the libraries built and installed and then all the > binaries build and installed. In this case, what does depend buy you? Nothing, _if_ that is where you stop... > What subtle thing, if any, am I missing? After a make world it is easy to go in and work on things and just type ``make'', unless you modify something that effects the dependencies, then you'll have to rebuild the .depend file. I added the depend phase way way back in the 386BSD Patch kit days when ``make world'' use to be a shell script. At that time it was an absoulte requirement to get the system to build properly. Since then many many many things have changed, and the depend phase can most likely be safely removed (or made optional) for those who are just running make worlds all the time. You do need the .depend stuff around if you like to short circuit make world and do you own things (I don't very often run make world on my personal systems, mostly just make all install.) -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD