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