Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2002 19:39:42 -0701
From:      Jos Backus <jos@catnook.com>
To:        Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Cc:        Sergey Babkin <babkin@bellatlantic.net>, Terry Lambert <tlambert2@mindspring.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Improving GNU make compatibility in BSD make (+ patch)
Message-ID:  <20020603024004.GC11452@lizzy.catnook.com>
In-Reply-To: <200206030233.g532X8m1012565@orthanc.ab.ca>
References:  <20020603021517.GA11452@lizzy.catnook.com> <200206030233.g532X8m1012565@orthanc.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603024004.GC11452>