make/tests/scripts
Dmitry Goncharov 510e5ce801 [SV 60188] Explicit prereqs cannot be intermediate files
If a prereq of a pattern is an explicit target, it should not be
considered an intermediate file.

(Minor tweaks by Paul Smith <psmith@gnu.org>)

* src/dep.h (struct nameseq): Add is_explicit flag.
* src/implicit.c (struct patdeps): Ditto.
(pattern_search): Set the is_explicit flag appropriately for each
prerequisite, based on whether it contained a pattern or not.
Update the help output to note implicit vs. explicit prereqs.
* tests/scripts/features/double_colon: Add tests.
* tests/scripts/features/grouped_targets: Ditto.
* tests/scripts/features/patternrules: Ditto.
* tests/scripts/features/se_implicit: Ditto.
* tests/scripts/features/statipattrules: Ditto.
2021-03-15 02:10:49 -04:00
..
features [SV 60188] Explicit prereqs cannot be intermediate files 2021-03-15 02:10:49 -04:00
functions Create $(let ...) providing lexically scoped variables 2020-12-06 18:30:58 -05:00
misc [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
options
targets [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
variables [SV 59870] define/undefine prerequisites are not target-specific vars 2021-03-14 16:35:38 -04:00
vms
test_template