Lines Matching +defs:pathname +defs:name
10 * documentation, and that the name of U.M. not be used in advertising or
76 char *name, *ident;
85 char *name;
125 static int is_dir(const char *pathname);
126 static int is_nonempty_file(const char *pathname);
231 "%s [-FfOoPpqSs] [-c c-file-name] [-D src-root] [-d build-options]\n"
232 "\t [-e exec-file-name] [-L lib-dir] [-m makefile-name]\n"
399 if (!strcmp(p2->name, progname))
403 p2->name = estrdup(progname);
513 fprintf(stderr, "%s:%d: bad parameter name `%s', skipping line.\n",
532 if (!strcmp(p->name, str))
588 (void)snprintf(line, sizeof(line), "filling in parms for %s", p->name);
592 p->ident = genident(p->name);
594 srcparent = dir_search(p->name);
596 (void)snprintf(path, sizeof(path), "%s/%s", srcparent, p->name);
616 infilename, p->name);
661 infilename, p->name);
666 infilename, p->name);
753 infilename, p2->name);
784 fprintf(cachef, "special %s srcdir %s\n", p->name, p->srcdir);
786 fprintf(cachef, "special %s objdir %s\n", p->name, p->objdir);
788 fprintf(cachef, "special %s objs", p->name);
792 fprintf(cachef, "special %s objpaths", p->name);
811 v->name = str;
813 v->len = 2 * strlen(v->name) + 7;
857 int rl = snprintf(ptr, v->len + 1, "%s=${%s:Q} ", v->name, v->name);
905 p->name, p->ident);
923 * generates a Makefile/C identifier from a program name, mapping '-' to
964 fprintf(outmk, "%s=%s\n", v->name, v->value);
977 fprintf(outmk, " %s.cro", p->name);
1030 fprintf(outmk, "\n# -------- %s\n\n", p->name);
1034 fprintf(outmk, " %s_stub.o", p->name);
1039 fprintf(outmk, " %s/%s.ro\n", p->ident, p->name);
1070 fprintf(outmk, "%s.ro ) \n\n", p->name);
1073 p->ident, p->name);
1079 p->name, p->ident, p->ident);
1084 p->ident, p->name, p->ident);
1087 p->ident, p->name);
1095 "> %s.cro.syms\n", p->name, p->name);
1096 fprintf(outmk, "\t${OBJCOPY} --redefine-syms %s.cro.syms ", p->name);
1097 fprintf(outmk, "%s/%s.ro %s.cro\n", p->ident, p->name, p->name);
1100 p->name, p->ident);
1104 fprintf(outmk, "%s.cro\n", p->name);
1105 fprintf(outmk, "%s_stub.c:\n", p->name);
1109 p->ident, p->name);
1171 is_dir(const char *pathname)
1175 if (stat(pathname, &buf) == -1)
1181 is_nonempty_file(const char *pathname)
1185 if (stat(pathname, &buf) == -1)