[m-rev.] diff: handle MLOBJS-target make variables

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Jan 7 07:47:25 AEDT 2002


On 06-Jan-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Allow MLOBJS-module Mmake variables.

Test case?

The documentation in doc/user_guide.texi should document this
new feature (by mentioning EXTRA_MLOBJS).

Note that GNU Make now has it's own support for target-specific variable
definitions.  So in the long run we should encourage people to use that.
At some point we should probably require a recent version of GNU Make,
and then when everyone is using GNU Make's syntax rather that Mmake's
syntax for target-specific variable definitions, we can get rid of all
of this stuff in Mmake.

> scripts/Mmake.rules:
> compiler/modules.m:
> 	Use ALL_MLOBJS and ALL_MLPICOBJS instead of
> 	MLOBJS and MLPICOBJS.

It would be a good idea to grep through the Mercury distribution
looking for other occurrences of these variables which should
also be changed, if you haven't done so already.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list