Lines Matching refs:objfile
293 static int is_static_library(const char *objfile)
295 int len = strlen(objfile);
296 if (objfile[len - 2] == '.' && objfile[len - 1] == 'a')
304 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);
371 /* Check if this file is in same dir as objfile */