From commits-return-9052-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Wed Oct 24 13:59:02 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 31545 invoked from network); 24 Oct 2007 13:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Oct 2007 13:59:02 -0000 Received: (qmail 43082 invoked by uid 500); 24 Oct 2007 13:56:11 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 43045 invoked by uid 500); 24 Oct 2007 13:56:11 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 43021 invoked by uid 99); 24 Oct 2007 13:56:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2007 06:56:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [137.65.248.137] (HELO sinclair.provo.novell.com) (137.65.248.137) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2007 13:56:14 +0000 Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Wed, 24 Oct 2007 07:54:38 -0600 Message-Id: <471EFAA9.6720.00AC.0@novell.com> X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Date: Wed, 24 Oct 2007 07:54:31 -0600 From: "Brad Nicholes" To: ,"Jr. William A. Rowe" Cc: Subject: Re: svn commit: r587694 - /apr/apr/trunk/build/NWGNUmakefile References: <20071023232716.AE11C1A9838@eris.apache.org> <471E8E01.2070407@rowe-clan.net> In-Reply-To: <471E8E01.2070407@rowe-clan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org >>> On 10/23/2007 at 6:12 PM, in message <471E8E01.2070407@rowe-clan.net>, = "William A. Rowe, Jr." wrote: > bnicholes@apache.org wrote: >> Author: bnicholes >> Date: Tue Oct 23 16:27:15 2007 >> New Revision: 587694 >>=20 >> URL: http://svn.apache.org/viewvc?rev=3D587694&view=3Drev=20 >> Log: >> Allow the dependent .hw files in the include/private directory to be=20 > processed as well. >=20 >> @@ -65,6 +65,10 @@ >> @echo Creating $(subst /,\,$@) >> copy $< $(subst /,\,$(APRUTIL))\include\private\$(@F) >> =20 >> +$(APRUTIL)/include/private/%.h: $(subst=20 > /,\,$(APRUTIL))\include\private\%.hw >> + @echo Creating $(subst /,\,$@) >> + copy $< $(subst /,\,$(APRUTIL))\include\private\$(@F) >> + >> $(APRUTIL)/xml/expat/lib/%.h: $(subst /,\,$(APRUTIL))\xml\expat\lib\%.h= nw >> @echo Creating $(subst /,\,$@) >> copy $< $(subst /,\,$(APRUTIL))\xml\expat\lib\$(@F) >=20 > Silly question, but if both exist, which rule wins? In this case they both do. The makefile is just copying code bits into a = single ap_config.h. The code bits are surrounded by #ifdef WIN32 or = #ifdef NETWARE. So the fact that both ap_config.hw and ap_config.hnw = exist and both are copied, the result does the right thing. Brad