From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3952 invoked by alias); 8 Mar 2004 19:16:11 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3945 invoked from network); 8 Mar 2004 19:16:10 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 8 Mar 2004 19:16:10 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B0QER-0006s0-Vc; Mon, 08 Mar 2004 14:16:07 -0500 Date: Mon, 08 Mar 2004 19:16:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: Ian Lance Taylor , Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Generate makefile dependencies Message-ID: <20040308191607.GA26243@nevyn.them.org> Mail-Followup-To: Andrew Cagney , Ian Lance Taylor , Eli Zaretskii , gdb-patches@sources.redhat.com References: <404BBFD6.1060702@gnu.org> <6137-Mon08Mar2004080725+0200-eliz@elta.co.il> <404C9E34.4010809@gnu.org> <20040308172924.GA20940@nevyn.them.org> <404CB609.4070609@gnu.org> <404CC47A.4090207@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <404CC47A.4090207@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03.o/txt/msg00172.txt Message-ID: <20040308191600.eH696ekXQaEmUN5Ntl4y9Aqcs8Ne2nce2_HB1ErMj5g@z> On Mon, Mar 08, 2004 at 02:07:38PM -0500, Andrew Cagney wrote: > For what its worth, I know of three ways to maintain a dependency list: > > - update at compile time > > - update at configure time > > - update at release time > > For someone grabbing random sources, the first is most likely correct, > the last is most likley out-of-date. The middle is a compromise, at > least correct at the start of each build. Should we look at using automake's depcomp script instead, which does the first? For more than just GCC. But hey, I've got no objection to the sed magic. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer