From owner-freebsd-hackers Sun Jun 2 19:39:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from w250.z064001178.sjc-ca.dsl.cnc.net (adsl-66.218.45.239.dslextreme.com [66.218.45.239]) by hub.freebsd.org (Postfix) with SMTP id CAFEA37B407 for ; Sun, 2 Jun 2002 19:39:42 -0700 (PDT) Received: (qmail 20281 invoked by uid 1000); 3 Jun 2002 02:40:04 -0000 Date: Sun, 2 Jun 2002 19:39:42 -0701 From: Jos Backus To: Lyndon Nerenberg Cc: Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG Subject: Re: Improving GNU make compatibility in BSD make (+ patch) Message-ID: <20020603024004.GC11452@lizzy.catnook.com> Reply-To: jos@catnook.com Mail-Followup-To: Lyndon Nerenberg , Sergey Babkin , Terry Lambert , freebsd-hackers@FreeBSD.ORG References: <20020603021517.GA11452@lizzy.catnook.com> <200206030233.g532X8m1012565@orthanc.ab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206030233.g532X8m1012565@orthanc.ab.ca> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jun 02, 2002 at 08:33:08PM -0600, Lyndon Nerenberg wrote: > We are POSIX compliant right now (I think -- I haven't done a strict > comparison between (our) BSD make and POSIX). BSD does have things that > aren't in POSIX, as does GNUmake. Removing the historical BSD syntax > would just break things, so I wouldn't advocate that. Neither would I; claiming that strict POSIX-compliance is the end-all goal makes no sense imo. > We can depricate > the BSD extensions if that seems useful. That's not the same as adding > new incompatible extensions to make (ours, GNUs, or anyone elses). My proposal for adding $^ as an alias for $> does not add any incompatibilities, neither with POSIX nor with any existing BSD make. Only Terry has said that BSD make used to use $^ but so far he hasn't shown any proof that this is still in use anywhere. > Writing portable makefiles is already enough of a pain in the ass. Writing Makefiles is a pain, period. > --lyndon (death to feeping creaturism!) > > (And yes, I would really miss the BSD/GNU if/then/else makefile > constructs if we went POSIX-anal on this.) Needless to say, I'm certainly not advocating that we do this. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos@catnook.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message