make/tests/scripts
Paul Smith 3b5e47b2e2 [SV 40657] Reinstate old behavior for suffix rules with prereqs
POSIX says that suffix rules cannot have prerequisites, but after
making this change we observed a number of makefiles "in the wild"
that were relying on this behavior and failed.

For .POSIX: makefiles, obey POSIX.  Otherwise preserve the old
behavior.  However, generate a warning so users know this is a
problem.  In a future version we will change all behavior to be
POSIX-conforming.

* NEWS: describe the change
* src/rule.c (convert_to_pattern): If posix_pedantic don't make a
pattern rule if prereqs exist.  Otherwise show a warning.
* tests/scripts/features/suffixrules: Add tests for the new behavior
including .POSIX vs. non-.POSIX.
2020-01-19 17:04:52 -05:00
..
features [SV 40657] Reinstate old behavior for suffix rules with prereqs 2020-01-19 17:04:52 -05:00
functions Port functions/shell test to Solaris 10 2019-10-10 18:31:50 -04:00
misc * job.c (child_error): Modify error message string. 2019-09-22 17:02:57 -04:00
options * job.c (child_error): Modify error message string. 2019-09-22 17:02:57 -04:00
targets * job.c (child_error): Modify error message string. 2019-09-22 17:02:57 -04:00
variables Support the .EXTRA_PREREQS special variable 2020-01-03 02:08:59 -05:00
vms Refresh the test suite framework implementation. 2019-09-16 08:25:33 -04:00
test_template