make/tests/scripts/variables
Paul Smith 11095a90f1 Make second expansion optional (partial implementation).
I decided this feature was too impacting to make the permanent default
behavior.  This set of changes makes the default behavior of make the
old behavior (no second expansion).  If you want second expansion, you
must define the .SECONDEXPANSION: special target before the first target
that needs it.

This set of changes ONLY fixes explicit and static pattern rules to work
like this.  Implicit rules still have second expansion enabled all the
time: I'll work on that next.

Note that there is still a backward-incompatibility: now to get the old
SysV behavior using $$@ etc. in the prerequisites list you need to set
.SECONDEXPANSION: as well.
2005-10-24 13:01:39 +00:00
..
automatic Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
CURDIR * Fix PR/1394. 1999-10-15 07:00:58 +00:00
DEFAULT_GOAL Fix problems with losing tokens in the jobserver, reported by Grant 2005-05-03 13:57:20 +00:00
flavors Fix bug #10252: Remove any trailing slashes from -C arguments (WINDOWS32). 2004-11-29 01:35:13 +00:00
MAKE * New feature: -L option 2005-02-28 07:48:22 +00:00
MAKE_RESTARTS Add a new variable: MAKE_RESTARTS, to count how many times make has re-exec'd. 2005-06-25 18:57:28 +00:00
MAKECMDGOALS
MAKEFILES * Fix PR/1394. 1999-10-15 07:00:58 +00:00
MAKELEVEL Fix for bug #1276: Handle SHELL according to POSIX requirements. 2004-11-28 23:11:23 +00:00
MFILE_LIST * New feature: -L option 2005-02-28 07:48:22 +00:00
SHELL If we're on a DOS/W32/OS2 system and we're not using a unixy shell, don't 2005-08-25 04:40:10 +00:00
special Various enhancements 2004-05-16 19:16:52 +00:00