Lines Matching defs:file

12  *         option.  There is one line in the file for every #include        *
16 * list. It also sorts the file names and "fills" them to a 78 *
19 * information, so the .d file can be thrown away (-- -d option) *
21 * information in the makefile is sorted by .o file name and it *
30 * -d delete the .d file after it is processed *
32 * even though the makefile is more recent than the .n file *
36 * -u like -m above, but the file will be created if necessary *
37 * -o specify an output file for the dependencies other than a *
43 * c show file contents *
55 * If specified -u file does not exist, assume it is empty and
57 * the output file.
59 * file name.
91 char file_array[IObuffer]; /* read file and store crunched names */
97 struct dep { /* stores paths that a file depends on */
110 char *outfile = (char *) 0; /* generate dependency file */
123 int delete = 0; /* -d delete dependency file */
125 int D_contents = 0; /* print file contents */
131 int update = 0; /* it's ok if the -m file does not exist */
237 } else if (mak_eof && /* non existent file == mt file */
272 read_dep(file)
273 register char *file;
279 if ((fd = open(file, 0)) < 0) {
280 fprintf(stderr, "%s: file = \"%s\" ", name, file);
286 printf("%s: opened dependency file \"%s\"\n", name, file);
289 fprintf(stderr, "%s: file = \"%s\" ", name, file);
297 printf("%s: file time = %d\n", name, statbuf.st_mtime);
300 fprintf(stderr, "%s: file \"%s\" tooo big for IObuffer\n",
301 name, file);
308 name, file, statbuf.st_mtime, makstat.st_mtime,
320 name, statbuf.st_mode, file);
326 fprintf(stderr, "%s: file = \"%s\" ", name, file);
334 fprintf(stderr, "%s: file = \"%s\" ", name, file);
383 /* skip .o file name */
482 find_mak(file)
483 char *file;
487 if ((int) file) {
488 if ((mak = fopen(file, "r")) != NULL) {
489 real_mak_name = file;
492 real_mak_name = file;
495 fprintf(stderr, "%s: file = \"%s\" ", name, file);
509 fprintf(stderr, "%s: file = \"%s\" ", name, real_mak_name);
535 fprintf(stderr, "%s: file = \"%s\" ", name, shadow_mak_name);
595 scan_mak(FILE *makin, FILE *makout, char *file)
598 register int len = strlen(file);
602 printf("scanning in \"%s\" for \"%s\"\n", real_mak_name, file);
608 ret = strncmp(cp, file, len);