From owner-freebsd-current Fri Jun 7 10:55:50 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA06121 for current-outgoing; Fri, 7 Jun 1996 10:55:50 -0700 (PDT) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA06115 for ; Fri, 7 Jun 1996 10:55:42 -0700 (PDT) Received: from palmer.demon.co.uk (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with ESMTP id SAA00837; Fri, 7 Jun 1996 18:39:42 +0100 (BST) To: grog@lemis.de (Greg Lehey) cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) From: "Gary Palmer" Subject: Re: The -stable problem: my view In-reply-to: Your message of "Fri, 07 Jun 1996 12:15:38 +0200." <199606071015.MAA00708@allegro.lemis.de> Date: Fri, 07 Jun 1996 18:39:41 +0100 Message-ID: <834.834169181@palmer.demon.co.uk> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [ Totally off-topic, so CC: limited appropriately ] Greg Lehey wrote in message ID <199606071015.MAA00708@allegro.lemis.de>: > One possible argument is: what do you do if the definitions in the > Makefile change? This can require files to be recompiled. Sure, if > the IDENT definition in the Makefile changes, you can expect to have > to recompile a whole lot of stuff, but there are ways to ensure that > that isn't necessary. The most obvious, if not the most elegant, is > to make all objects depend on the Makefile, and not to change the > Makefile if nothing in the Makefile changes. A somewhat more > sophisticated method would be to put the definitions in a file which > is included by the Makefile, and depend only on that. Does anybody > have any dependencies that couldn't be solved by this kind of method? > > So now you'll come and say, "OK, do it". I'm not just bitching: I am > prepared to revise the whole build procedure. I think it would not > take much longer than I've spent trying to build the current version. > What do you people think? I think it's already being worked on in -current, by moving the flags out of the Makefile into the opt_*.h files which allow make depend to work a lot better, and remove the need for some inteligence based on what goes on in the Makefile. If I understand it right, the evential aim is to only leave compiler-specific flags in the Makefile (e.g. -Wall, -O, etc). Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info