From stdcxx-dev-return-500-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Sat Dec 24 04:58:57 2005 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 6795 invoked from network); 24 Dec 2005 04:58:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Dec 2005 04:58:57 -0000 Received: (qmail 53969 invoked by uid 500); 24 Dec 2005 04:58:57 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 53954 invoked by uid 500); 24 Dec 2005 04:58:56 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 53943 invoked by uid 99); 24 Dec 2005 04:58:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2005 20:58:56 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2005 20:58:55 -0800 Received: from [127.0.0.1] (vpn14.bco.roguewave.com [10.70.10.14]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id ZGW27ZBR; Fri, 23 Dec 2005 21:52:49 -0700 Message-ID: <43ACD578.2060501@roguewave.com> Date: Fri, 23 Dec 2005 21:58:32 -0700 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] build process fails in TOPDIR if target (lib, etc.) specified (was Re: makefile patch) References: <43AC64C1.1010404@roguewave.com> <43AC70E8.1070303@roguewave.com> <43AC76EB.9010509@roguewave.com> In-Reply-To: <43AC76EB.9010509@roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Liviu Nicoara wrote: [...] > Please let me know if you see any more problems with it. [...] > +config: > + $(MAKE) -C$(INCDIR) > + While this might be the right thing to do(*) I think it will become a problem -- reading in and processing the entire GNUmakefile.cfg every time make is invoked in either the examples or tests subdirectories will be prohibitively expensive on slow systems. (*) If we did decide to go this route, we'd need to do the same thing for the other dependencies, i.e., the library and, for tests, the test driver. That will slow things down even more. > # rule to make dependencies for C++ source files > -$(DEPENDDIR)/%.d: %.cpp > +$(DEPENDDIR)/%.d: %.cpp config I would try this instead: $(DEPENDDIR)/%.d: %.cpp | config Martin