- char *extras;
-
-for (ftp = ftab; ftp != 0; ftp = ftp->f_next) {
- if (ftp->f_type == INVISIBLE)
- continue;
- cp = (np = ftp->f_fn) + strlen(ftp->f_fn) - 1;
- och = *cp;
- *cp = '\0';
- fprintf(f, "%so: ../%s%c\n", tail(np), np, och);
- tp = tail(np);
- if (och == 's') {
- fprintf(f, "\t-ln -s ../%ss %sc\n", np, tp);
- fprintf(f, "\t${CC} -E ${COPTS} %sc | ${AS} -o %so\n",
- tp, tp);
- fprintf(f, "\trm -f %sc\n\n", tp);
- continue;
- }
- if (ftp->f_flags & CONFIGDEP)
- extras = "${PARAM} ";
- else
- extras = "";
- switch (ftp->f_type) {
-
- case NORMAL:
- switch (machine) {
-
- case MACHINE_VAX:
- fprintf(f, "\t${CC} -c -S ${COPTS} %s../%sc\n",
- extras, np);
- fprintf(f, "\t${C2} %ss | ../%s/inline/inline |",
- tp, machinename);
- fprintf(f, " ${AS} -o %so\n", tp);
- fprintf(f, "\trm -f %ss\n\n", tp);
- break;
-
- }
- break;
-
- case DRIVER:
- switch (machine) {
-
- case MACHINE_VAX:
- fprintf(f, "\t${CC} -c -S ${COPTS} %s../%sc\n",
- extras, np);
- fprintf(f,"\t${C2} -i %ss | ../%s/inline/inline |",
- tp, machinename);
- fprintf(f, " ${AS} -o %so\n", tp);
- fprintf(f, "\trm -f %ss\n\n", tp);
- break;
-
- }
- break;