Lines Matching full:suffix
29 * Handle suffix and percent rules
71 * Does the lookup for single and double suffix rules.
76 * (target name less target suffix) and the source suffix and checking
84 * target_body The target name without the suffix
85 * target_suffix The suffix of the target
98 * fix bug 1247448: Suffix Rules failed when combine with Pattern Matching Rules.
99 * When make attemps to apply % rule it didn't look for a single suffix rule because
160 /* Cache the suffixes for this target suffix if not done. */ in find_suffix_rule()
172 /* Scan the suffix list for the target if one exists. */ in find_suffix_rule()
183 suffix.suffix->string_mb, in find_suffix_rule()
185 suffix.suffix->hash.length); in find_suffix_rule()
187 suffix.suffix->hash.length] = in find_suffix_rule()
199 * a file, this source suffix did not match. in find_suffix_rule()
217 ** any file in the current directory with that suffix in find_suffix_rule()
291 suffix.suffix->with_squiggle, in find_suffix_rule()
402 …(void) printf(gettext("%*sBuilding %s using suffix rule for %s%s because it is out of date relativ… in find_suffix_rule()
406 source_suffix->body.suffix.suffix->string_mb, in find_suffix_rule()
422 source_suffix->body.suffix.command_template; in find_suffix_rule()
474 * to find a suffix on it that matches the tail of the target member name.
475 * If it finds a matching suffix it calls find_suffix_rule() to find
476 * a rule for the target using the suffix ".a".
498 register Dependency suffix; in find_ar_suffix_rule() local
527 for (suffix = suffixes; suffix != NULL; suffix = suffix->next) { in find_ar_suffix_rule()
528 /* Compare one suffix. */ in find_ar_suffix_rule()
529 suffix_length = suffix->name->hash.length; in find_ar_suffix_rule()
530 suf_string.init(suffix->name); in find_ar_suffix_rule()
537 * The target tail matched a suffix from the .SUFFIXES list. in find_ar_suffix_rule()
558 * If no rule was found, we try the next suffix to see in find_ar_suffix_rule()
560 * Go here if the suffix did not match the target tail. in find_ar_suffix_rule()
571 * to find a suffix on it that matches the tail of the target name.
572 * If it finds a matching suffix it calls find_suffix_rule() to find
595 register Dependency suffix; in find_double_suffix_rule() local
628 for (suffix = suffixes; suffix != NULL; suffix = suffix->next) { in find_double_suffix_rule()
631 /* Compare one suffix. */ in find_double_suffix_rule()
632 suffix_length = suffix->name->hash.length; in find_double_suffix_rule()
633 suf_string.init(suffix->name); in find_double_suffix_rule()
643 * The target tail matched a suffix from the .SUFFIXES list. in find_double_suffix_rule()
653 suffix->name, in find_double_suffix_rule()
665 * If no rule was found, we try the next suffix to see in find_double_suffix_rule()
667 * Go here if the suffix did not match the target tail. in find_double_suffix_rule()
681 * The target itself is not know here, we just know the suffix of the
682 * target. For each suffix on the list the target can be derived iff
683 * a rule exists for the name "<suffix-on-list><target-suffix>".
685 * each, and tacked to the target suffix nameblock.
688 * target_suffix The suffix we build a match list for
702 register Property suffix; in build_suffix_list() local
716 /* Mark the target suffix saying we cashed its list */ in build_suffix_list()
723 * Build the name "<suffix-on-list><target-suffix>". in build_suffix_list()
749 * it will pay to look for a suffix property. in build_suffix_list()
753 * Add the suffix property to the target suffix in build_suffix_list()
756 * is saved in the suffix property. in build_suffix_list()
758 suffix = append_prop(target_suffix, suffix_prop); in build_suffix_list()
759 suffix->body.suffix.suffix = source_suffix->name; in build_suffix_list()
760 suffix->body.suffix.command_template = in build_suffix_list()
1213 /* do the same with pattern suffix */ in match_found_with_pattern()
1214 Name suffix = pat_rule->patterns[pat_rule->patterns_total - 1]; in match_found_with_pattern() local
1215 suf_string.init(suffix); in match_found_with_pattern()
1218 if (suffix->dollar) { in match_found_with_pattern()
1220 expand_value(suffix, &string, false); in match_found_with_pattern()
1229 suffix_length = (int) suffix->hash.length; in match_found_with_pattern()