1969 |
the last one. It is not safe for the same deps to go in more |
the last one. It is not safe for the same deps to go in more |
1970 |
than one place in the database. */ |
than one place in the database. */ |
1971 |
this = nextf != 0 ? copy_dep_chain (deps) : deps; |
this = nextf != 0 ? copy_dep_chain (deps) : deps; |
1972 |
this->need_2nd_expansion = second_expansion; |
this->need_2nd_expansion = (second_expansion |
1973 |
|
&& strchr (this->name, '$')); |
1974 |
} |
} |
1975 |
|
|
1976 |
if (!two_colon) |
if (!two_colon) |
2130 |
{ |
{ |
2131 |
targets[target_idx] = 0; |
targets[target_idx] = 0; |
2132 |
target_percents[target_idx] = 0; |
target_percents[target_idx] = 0; |
2133 |
deps->need_2nd_expansion = second_expansion; |
if (deps) |
2134 |
/* We set this to indicate we've not yet parsed the prereq string. */ |
{ |
2135 |
deps->staticpattern = 1; |
deps->need_2nd_expansion = second_expansion; |
2136 |
|
/* We set this to indicate the prereq string hasn't been parsed. */ |
2137 |
|
deps->staticpattern = 1; |
2138 |
|
} |
2139 |
create_pattern_rule (targets, target_percents, two_colon, deps, cmds, 1); |
create_pattern_rule (targets, target_percents, two_colon, deps, cmds, 1); |
2140 |
free ((char *) target_percents); |
free ((char *) target_percents); |
2141 |
} |
} |