Lines Matching refs:objfile
295 static bool is_static_library(const char *objfile)
297 int len = strlen(objfile);
299 return objfile[len - 2] == '.' && objfile[len - 1] == 'a';
304 static int parse_source_files(const char *objfile, struct md4_ctx *md)
310 cmd = xmalloc(strlen(objfile) + sizeof("..cmd"));
312 base = get_basename(objfile);
313 dirlen = base - objfile;
314 sprintf(cmd, "%.*s.%s.cmd", dirlen, objfile, base);
317 strncpy(dir, objfile, dirlen);
366 /* Check if this file is in same dir as objfile */