Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   sjg
Date:           Sat Jun  9 05:22:48 UTC 2001

Modified Files:
        basesrc/usr.bin/make: main.c make.h parse.c var.c

Log Message:
Modify handling of command line variable assignments and their exporting
via MAKEFLAGS.  Instead of appending them directly to .MAKEFLAGS, put
them in .MAKEOVERRIDES (and ensure they are quoted).  This is now done
in Var_Set when it exports VAR_CMD's.
Use ExportMAKEFLAGS() to export MAKEFLAGS, using the combined content
of .MAKEFLAGS and .MAKEOVERRIDES (with duplicate supression).
If .MAKEFLAGS is assigned to in a Makefile, ExportMAKEFLAGS is called again.
This allows a line like:
.MAKEOVERRIDES=
to effectively stop the exporting of the command line vars in MAKEFLAGS.


To generate a diff of this commit:
cvs rdiff -r1.67 -r1.68 basesrc/usr.bin/make/main.c \
    basesrc/usr.bin/make/parse.c
cvs rdiff -r1.34 -r1.35 basesrc/usr.bin/make/make.h
cvs rdiff -r1.61 -r1.62 basesrc/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index