make/tests/scripts/features
Paul Smith 6682fbc2cb Do not force targets to be SECONDARY
In SV 43677 we forced targets to be secondary if we found an
intermediate file that was listed as a prerequisite of another
target.  This overrides .INTERMEDIATE settings, so doesn't work.
Now that we have an is_explicit flag in targets, use that instead.

* src/implicit.c (pattern_search): Remove setting of secondary.
Preserve the value of the is_explicit flag when creating a new
file target, and consider it when setting the intermediate flag.
* tests/scripts/features/patternrules: Add a test w/out INTERMEDIATE
* tests/scripts/targets/INTERMEDIATE: Add a test with INTERMEDIATE
2021-12-29 15:26:56 -05:00
..
archives
comments
conditionals
default_names
dircache [SV 41273] Allow the directory cache to be invalidated 2020-11-29 17:59:16 -05:00
double_colon [SV 60435] Ensure intermediate grouped files are removed 2021-09-07 01:14:20 -04:00
echoing
errors Special-case Windows error results 2021-11-28 14:27:10 -05:00
escape
exec * tests/scripts/features/exec: Small cleanup 2021-03-15 01:17:06 -04:00
export Support "unexport" in target-specific variables. 2020-11-29 17:57:33 -05:00
grouped_targets [SV 60188] Explicit prereqs cannot be intermediate files 2021-03-15 02:10:49 -04:00
implicit_search [SV 48643] Preserve target-specific variables on intermediate files 2021-12-29 15:26:56 -05:00
include [SV 57778] Don't ignore included makefiles that can't be read 2021-09-06 20:20:28 -04:00
jobserver tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
load
loadapi
mult_rules
mult_targets
order_only
output-sync Rename jhelp.pl to thelp.pl and make it a generic test helper. 2019-12-16 09:31:31 -05:00
override
parallelism tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
patspecific_vars
patternrules Do not force targets to be SECONDARY 2021-12-29 15:26:56 -05:00
quoting
recursion
reinvoke [SV 60595] Restart whenever any makefile is rebuilt 2021-09-03 12:08:11 -04:00
rule_glob
se_explicit [SV 60659] Set $$< properly in second expansion 2021-05-30 15:53:41 -04:00
se_implicit [SV 60659] Set $$< properly in second expansion 2021-05-30 15:53:41 -04:00
se_statpat
shell_assignment
statipattrules [SV 60188] Explicit prereqs cannot be intermediate files 2021-03-15 02:10:49 -04:00
suffixrules [SV 40657] Reinstate old behavior for suffix rules with prereqs 2020-01-19 17:04:52 -05:00
targetvars Special-case Windows error results 2021-11-28 14:27:10 -05:00
utf8
varnesting
vpath
vpath2
vpath3
vpathgpath * tests/scripts/features/vpathgpath: Avoid duplicate function name. 2020-11-29 17:59:40 -05:00
vpathplus