Lines Matching refs:makefile

18  *      2) Md also updates the makefile directly with the dependency        *
21 * information in the makefile is sorted by .o file name and it *
25 * before the creation date of the "makefile" were processed *
31 * -f force an update of the dependencies in the makefile *
32 * even though the makefile is more recent than the .n file *
34 * -m specify the makefile to be upgraded. The defaults are *
35 * "makefile" and then "Makefile". *
38 * makefile *
40 * -x expunge old dependency info from makefile *
45 * m show generation of makefile *
113 char *makefile = (char *) 0; /* user supplied makefile name */
114 char *real_mak_name; /* actual makefile name (if not supplied) */
116 FILE *mak; /* for reading makefile */
118 char makbuf[LINESIZE]; /* one line buffer for makefile */
119 struct stat makstat; /* stat of makefile for time comparisons */
120 int mak_eof = 0; /* eof seen on makefile */
127 int D_make = 0; /* print makefile processing info */
133 int expunge = 0; /* first flush dependency stuff from makefile */
166 makefile = *++argv;
214 if ((int) outfile && (int) makefile) /* not both */
230 } else if (mak = find_mak(makefile)) {
240 } else if (makefile) {
241 fprintf(stderr, "%s: makefile \"%s\" can not be opened or stat'ed\n",
242 name, makefile);
267 fprintf(stderr, "usage: md -f -Dcdmot -m makefile -o outputfile -v <file1> ... <filen>\n");
480 /* process makefile */
501 if ((mak = fopen("makefile", "r")) != NULL) {
502 real_mak_name = "makefile";
515 printf("%s: opened makefile \"%s\"\n", name, real_mak_name);
517 printf("%s: makefile time = %d\n", name, makstat.st_mtime);
541 printf("%s: opened makefile.md \"%s\"\n", name, shadow_mak_name);