[m-dev.] diff: pass --warn-undefined-variables to GNU make
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Mar 28 03:30:51 AEDT 1998
On 27-Mar-1998, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> scripts/mmake.in:
> Pass `--warn-undefined-variables', except when making dependencies.
>
> runtime/Mmakefile:
> scripts/Mmake.vars.in:
> Add empty definitions of a few variables, to avoid warnings with
> `--warn-undefined-variables'.
Oops, missed a few.
scripts/Mmake.vars.in:
Add empty definitions for a few more variables, to avoid warnings with
`--warn-undefined-variables'.
cvs diff scripts/Mmake.vars.in
Index: scripts/Mmake.vars.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/Mmake.vars.in,v
retrieving revision 1.17
diff -u -r1.17 Mmake.vars.in
--- Mmake.vars.in 1998/03/27 08:34:22 1.17
+++ Mmake.vars.in 1998/03/27 16:28:03
@@ -25,6 +25,7 @@
GRADE = $(DEFAULT_GRADE)
GRADEFLAGS = --grade $(GRADE) $(EXTRA_GRADEFLAGS)
+EXTRA_GRADEFLAGS =
MC = mmc
MCS = $(MC) --split-c-files --compile-only
@@ -36,6 +37,7 @@
MCOI = $(MC) --make-optimization-interface
MCTOI = $(MC) --make-transitive-optimization-interface
MCFLAGS = $(EXTRA_MCFLAGS)
+EXTRA_MCFLAGS =
MCIFLAGS = $(MCFLAGS)
MCPIFLAGS = $(MCFLAGS)
MCSIFLAGS = $(MCFLAGS)
@@ -51,25 +53,35 @@
#
C2INIT = c2init
C2INITFLAGS = $(EXTRA_C2INITFLAGS)
+EXTRA_C2INITFLAGS =
MGNUC = mgnuc
MGNUCFLAGS = $(EXTRA_MGNUCFLAGS) $(EXTRA_CFLAGS)
+EXTRA_MGNUCFLAGS =
+EXTRA_CFLAGS =
ML = ml
MLFLAGS = $(EXTRA_MLFLAGS)
+EXTRA_MLFLAGS =
MLOBJS =
MLPICOBJS = $(MLOBJS:.o=.$(EXT_FOR_PIC_OBJECTS))
MLLIBS =
MNC = mnc
MNCFLAGS = $(EXTRA_MNCFLAGS)
+EXTRA_MNCFLAGS =
MNL = mnl
MNLFLAGS = $(EXTRA_MNLFLAGS)
+EXTRA_MNLFLAGS =
MNP = mnp
MNPFLAGS = $(EXTRA_MNPFLAGS)
+EXTRA_MNPFLAGS =
MSC = msc
MSCFLAGS = $(EXTRA_MSCFLAGS)
+EXTRA_MSCFLAGS =
MSL = msl
MSLFLAGS = $(EXTRA_MSLFLAGS)
+EXTRA_MSLFLAGS =
MSP = msp
MSPFLAGS = $(EXTRA_MSPFLAGS)
+EXTRA_MSPFLAGS =
AR = ar
ARFLAGS = cr
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list