version 1.24, 1999/12/18 02:11:27 |
version 1.25, 1999/12/18 21:53:32 |
|
|
Targ_Init(); |
Targ_Init(); |
Suff_Init(); |
Suff_Init(); |
|
|
DEFAULT = NILGNODE; |
DEFAULT = NULL; |
(void)time(&now); |
(void)time(&now); |
|
|
/* |
/* |
|
|
if (!Lst_IsEmpty(create)) { |
if (!Lst_IsEmpty(create)) { |
LstNode ln; |
LstNode ln; |
|
|
for (ln = Lst_First(create); ln != NILLNODE; |
for (ln = Lst_First(create); ln != NULL; |
ln = Lst_Succ(ln)) { |
ln = Lst_Succ(ln)) { |
char *name = (char *)Lst_Datum(ln); |
char *name = (char *)Lst_Datum(ln); |
|
|
|
|
if (Lst_IsEmpty(sysMkPath)) |
if (Lst_IsEmpty(sysMkPath)) |
Fatal("make: no system rules (%s).", _PATH_DEFSYSMK); |
Fatal("make: no system rules (%s).", _PATH_DEFSYSMK); |
ln = Lst_Find(sysMkPath, (ClientData)NULL, ReadMakefile); |
ln = Lst_Find(sysMkPath, (ClientData)NULL, ReadMakefile); |
if (ln != NILLNODE) |
if (ln != NULL) |
Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); |
Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); |
} |
} |
|
|
|
|
LstNode ln; |
LstNode ln; |
|
|
ln = Lst_Find(makefiles, (ClientData)NULL, ReadMakefile); |
ln = Lst_Find(makefiles, (ClientData)NULL, ReadMakefile); |
if (ln != NILLNODE) |
if (ln != NULL) |
Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); |
Fatal("make: cannot open %s.", (char *)Lst_Datum(ln)); |
} else if (!ReadMakefile("BSDmakefile", NULL)) |
} else if (!ReadMakefile("BSDmakefile", NULL)) |
if (!ReadMakefile("makefile", NULL)) |
if (!ReadMakefile("makefile", NULL)) |
|
|
if (printVars) { |
if (printVars) { |
LstNode ln; |
LstNode ln; |
|
|
for (ln = Lst_First(variables); ln != NILLNODE; |
for (ln = Lst_First(variables); ln != NULL; |
ln = Lst_Succ(ln)) { |
ln = Lst_Succ(ln)) { |
char *value = Var_Value((char *)Lst_Datum(ln), |
char *value = Var_Value((char *)Lst_Datum(ln), |
VAR_GLOBAL); |
VAR_GLOBAL); |