Lines Matching refs:objfile
292 static int is_static_library(const char *objfile)
294 int len = strlen(objfile);
295 if (objfile[len - 2] == '.' && objfile[len - 1] == 'a')
303 static int parse_source_files(const char *objfile, struct md4_ctx *md)
310 cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd")));
312 base = strrchr(objfile, '/');
315 dirlen = base - objfile;
316 sprintf(cmd, "%.*s.%s.cmd", dirlen, objfile, base);
319 sprintf(cmd, ".%s.cmd", objfile);
322 strncpy(dir, objfile, dirlen);
327 warn("could not find %s for %s\n", cmd, objfile);
360 /* Check if this file is in same dir as objfile */