Lines Matching refs:line
300 /* We have dir/file.o. Open dir/.file.o.cmd, look for source_ and deps_ line
304 char *cmd, *file, *line, *dir, *pos;
328 while ((line = get_line(&pos))) {
332 while (isspace(*line))
333 line++;
334 p = line;
336 if (strncmp(line, "source_", sizeof("source_")-1) == 0) {
337 p = strrchr(line, ' ');
339 warn("malformed line: %s\n", line);
350 if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) {
357 /* Continue until line does not end with '\' */
360 /* Terminate line at first space, to get rid of final ' \' */
370 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) {
371 if (!parse_file(line, md)) {
373 line, strerror(errno));
398 /* objects for a module are listed in the first line of *.mod file. */