Lines Matching refs:dep
20 #include "dep.h"
86 register struct dep *dep;
99 for (dep = rule->deps; dep != 0; dep = dep->next)
101 unsigned int len = strlen (dep->name);
104 char *p = strrchr (dep->name, ']');
107 p = strrchr (dep->name, ':');
108 p2 = p != 0 ? strchr (dep->name, '%') : 0;
110 char *p = strrchr (dep->name, '/');
111 char *p2 = p != 0 ? strchr (dep->name, '%') : 0;
120 /* There is a slash before the % in the dep name.
122 if (p == dep->name)
124 if (p - dep->name > namelen)
128 namelen = p - dep->name;
131 bcopy (dep->name, name, p - dep->name);
132 name[p - dep->name] = '\0';
138 dep->changed = !dir_file_exists_p (name, "");
142 dep->changed = 0;
168 struct dep *deps;
221 register struct dep *d, *d2;
309 register struct dep *d, *d2;
389 ptr = p->dep;
390 r->deps = (struct dep *) multi_glob (parse_file_seq (&ptr, '\0',
391 sizeof (struct dep), 1),
392 sizeof (struct dep));
417 register struct dep *dep;
422 dep = rule->deps;
423 while (dep)
425 struct dep *t;
427 t = dep->next;
428 /* We might leak dep->name here, but I'm not sure how to fix this: I
430 dep->name = 0; /* Make sure free_dep does not free name. */
431 free_dep (dep);
432 dep = t;
477 int terminal, struct dep *deps,
526 register struct dep *d;