From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28520 invoked by alias); 29 Jun 2008 14:42:17 -0000 Received: (qmail 28511 invoked by uid 22791); 29 Jun 2008 14:42:16 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 29 Jun 2008 14:41:55 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 588D69840B; Sun, 29 Jun 2008 14:41:53 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 284669809E; Sun, 29 Jun 2008 14:41:53 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KCy6B-00033h-NE; Sun, 29 Jun 2008 10:41:51 -0400 Date: Sun, 29 Jun 2008 14:42:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb@sourceware.org, tromey@redhat.com Subject: Re: Automatic dependency tracking Message-ID: <20080629144151.GA11412@caradoc.them.org> Mail-Followup-To: Mark Kettenis , gdb@sourceware.org, tromey@redhat.com References: <200806152203.14626.pedro@codesourcery.com> <20080616012617.GA8944@caradoc.them.org> <20080625182858.GA25575@caradoc.them.org> <200806281920.m5SJKAQI008684@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806281920.m5SJKAQI008684@brahms.sibelius.xs4all.nl> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00307.txt.bz2 On Sat, Jun 28, 2008 at 09:20:10PM +0200, Mark Kettenis wrote: > > Option three: we could manually list dependencies on generated files, > > and support dependencies on source files only on systems with GNU > > make. This effectively means GNU make is a requirement if you are > > hacking on GDB, but not to build GDB from a clean tree. > > Given the way CVS handles time stamps on checkouts, this probably gets > me in the same situation as above. Could you elaborate? I don't think I understand the problem. What I had in mind was having configure detect GNU Make and enable/disable (equivalent of AM_CONDITIONAL) the dependency tracking code in the generated Makefile. So timestamps shouldn't matter; the only new failure mode is that if you modify a header, the source files including it might not be automatically rebuilt. -- Daniel Jacobowitz CodeSourcery