Lines Matching defs:deps
29 struct deps
116 apply_vpath (struct deps *d, const char *t)
157 struct deps *
160 return XCNEW (struct deps);
164 deps_free (struct deps *d)
196 deps_add_target (struct deps *d, const char *t, int quote)
217 deps_add_default_target (struct deps *d, const char *tgt)
247 deps_add_dep (struct deps *d, const char *t)
260 deps_add_vpath (struct deps *d, const char *vpath)
289 deps_write (const struct deps *d, FILE *fp, unsigned int colmax)
338 deps_phony_targets (const struct deps *d, FILE *fp)
351 /* Write out a deps buffer to a file, in a form that can be read back
356 deps_save (struct deps *deps, FILE *f)
364 if (fwrite (&deps->ndeps, sizeof (deps->ndeps), 1, f) != 1)
367 for (i = 0; i < deps->ndeps; i++)
369 size_t num_to_write = strlen (deps->depv[i]);
372 if (fwrite (deps->depv[i], num_to_write, 1, f) != 1)
380 the deps buffer. The third argument may be NULL, in which case
385 deps_restore (struct deps *deps, FILE *fd, const char *self)
411 /* Generate makefile dependencies from .pch if -nopch-deps. */
413 deps_add_dep (deps, buf);