Lines Matching defs:path
602 void fillin_program_objs(prog_t *p, char *path);
634 char path[MAXPATHLEN];
657 path[0] = '\0';
658 fgets(path, sizeof path, f);
662 if (!*path)
665 p->realsrcdir = strdup(path);
690 snprintf(path, sizeof(path), "Makefile.%s", p->name);
691 if (is_nonempty_file(path)) {
692 snprintf(line, MAXLINELEN, "Using %s for %s", path, p->name);
696 snprintf(path, sizeof(path), "%s/Makefile", p->srcdir);
697 if (!p->objs && p->srcdir && is_nonempty_file(path))
698 fillin_program_objs(p, path);
713 fillin_program_objs(prog_t *p, char *path)
741 fprintf(f, ".include \"%s\"\n", path);
964 char path[MAXPATHLEN];
969 snprintf(path, MAXPATHLEN, "%s/%s", dir->str, progname);
970 if (!is_dir(path))
973 if ((srcdir = strdup(path)) == NULL)