From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10283 invoked by alias); 13 Nov 2002 21:57:18 -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 10262 invoked from network); 13 Nov 2002 21:57:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 13 Nov 2002 21:57:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gADLY2w08727; Wed, 13 Nov 2002 16:34:02 -0500 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gADLvGD12819; Wed, 13 Nov 2002 16:57:16 -0500 Received: from greed.delorie.com (dj.cipe.redhat.com [10.0.0.222]) by post-office.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gADLvFl21056; Wed, 13 Nov 2002 16:57:15 -0500 Received: (from dj@localhost) by greed.delorie.com (8.11.6/8.11.6) id gADLvEK14304; Wed, 13 Nov 2002 16:57:14 -0500 Date: Wed, 13 Nov 2002 13:57:00 -0000 Message-Id: <200211132157.gADLvEK14304@greed.delorie.com> From: DJ Delorie To: neroden@twcny.rr.com CC: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com In-reply-to: <20021113202039.GA21907@doctormoo> (message from Nathanael Nerode on Wed, 13 Nov 2002 15:20:39 -0500) Subject: Re: Toplevel patch: Autogenerate Makefile targets 3 (*-build-*) References: <20021113202039.GA21907@doctormoo> X-SW-Source: 2002-11/txt/msg00398.txt.bz2 > * Makefile.tpl: Autogenerate (*-build-*). > * Makefile.def: Add build_modules. > * Makefile.in: Regenerate. This one is fine except for... > -$(ALL_BUILD_MODULES): > - dir=`echo $@ | sed -e 's/all-build-//'`; \ > - if [ -f ./$${dir}/Makefile ] ; then \ > +[+ FOR build_modules +] > +.PHONY: all-build-[+module+] > +all-build-[+module+]: > + if [ -f ./[+module+]/Makefile ] ; then \ There's supposed to be an '@' here, I don't know why the original didn't have it... > -$(CONFIGURE_BUILD_MODULES): > - @dir=`echo $@ | sed -e 's/configure-build-//'`; \ > +.PHONY: configure-build-[+module+] > +configure-build-[+module+]: > if [ ! -d $(BUILD_SUBDIR) ]; then \ '@' here.