/[make]/make/read.c
ViewVC logotype

Diff of /make/read.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.151 by psmith, Mon Oct 24 13:01:40 2005 UTC revision 1.152 by psmith, Wed Oct 26 16:06:30 2005 UTC
# Line 1969  record_files (struct nameseq *filenames, Line 1969  record_files (struct nameseq *filenames,
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)
# Line 2129  record_files (struct nameseq *filenames, Line 2130  record_files (struct nameseq *filenames,
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      }      }

Legend:
Removed from v.1.151  
changed lines
  Added in v.1.152

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26