Lines Matching defs:line
217 char line[BUFSIZ];
222 (void) sprintf(line, "%s/Makefile.template", config_directory);
223 ifp = fopenp(VPATH, line, pname, "r");
225 perror(line);
282 while (fgets(line, BUFSIZ, ifp) != 0) {
283 if (*line == '%')
285 if (profiling && strncmp(line, "COPTS=", 6) == 0) {
290 cp = index(line, '\n');
293 cp = line + 6;
303 fprintf(ofp, "%s ${CCPROFOPT}\n", line);
306 fprintf(ofp, "%s -p\n",line);
308 fprintf(ofp, "%s -pg\n", line);
311 fprintf(ofp, "%s", line);
314 if (eq(line, "%OBJS\n")) {
316 } else if (eq(line, "%CFILES\n")) {
319 } else if (eq(line, "%MFILES\n")) {
322 } else if (eq(line, "%SFILES\n")) {
325 } else if (eq(line, "%BFILES\n"))
327 else if (eq(line, "%MACHDEP\n")) {
334 } else if (eq(line, "%ORDERED\n"))
336 else if (eq(line, "%RULES\n"))
338 else if (eq(line, "%LOAD\n"))
343 line);
789 char line[BUFSIZ];
791 (void) sprintf(line, "%s/Makefile.%s", config_directory, machinename);
792 ifp = fopenp(VPATH, line, pname, "r");
794 perror(line);
797 while (fgets(line, BUFSIZ, ifp) != 0) {
798 if (profiling && (strncmp(line, "LIBS=", 5) == 0))
801 fputs(line, ofp);
1169 static char makbuf[LINESIZE]; /* one line buffer for makefile */