[m-rev.] trivial diff: remove unused code in Mmake.rules

Simon Taylor stayl at cs.mu.OZ.AU
Mon Jan 7 17:27:37 AEDT 2002


Estimated hours taken: 0.1
Branches: main

scripts/Mmake.rules:
	Remove some unused code left over from an old method
	of handling dependencies on MLOBJS.

Index: Mmake.rules
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.rules,v
retrieving revision 1.113
diff -u -u -r1.113 Mmake.rules
--- Mmake.rules	6 Jan 2002 06:07:54 -0000	1.113
+++ Mmake.rules	7 Jan 2002 06:19:05 -0000
@@ -385,26 +385,6 @@
 
 #-----------------------------------------------------------------------------#
 #
-# Code to handle dependencies on $(ALL_MLOBJS) and $(ALL_MLPICOBJS).
-#
-
-# The generated `.dep' files include rules for targets which may depend
-# on $(ALL_MLOBJS) or $(ALL_MLPICOBJS).  However, the definition of $(MLOBJS)
-# or $(MLPICOBJS) is in the user's Mmakefile, and the `.dep' files get
-# included *before* the Mmakefile.  The `.dep' files cannot contain
-# those dependency directly, because $(MLOBJS) and $(MLPICOBJS) variables
-# have not yet been defined.
-#
-# Instead, the generated `.dep' files just add the appropriate targets to
-# the $(MLOBJS_DEPS) or $(MLPICOBJS_DEPS) variables, and then we record the
-# dependency of those files on $(ALL_MLOBJS) or $(ALL_MLPICOBJS) here in
-# Mmake.rules, which gets included after the user's Mmakefile.
-
-$(MLOBJS_DEPS) : $(ALL_MLOBJS)
-$(MLPICOBJS_DEPS) : $(ALL_MLPICOBJS)
-
-#-----------------------------------------------------------------------------#
-#
 # Targets for cleaning up.
 #
 # Note that the actions for most of these targets are in the
--------------------------------------------------------------------------
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