version 1.49, 2007/11/02 17:27:24 |
version 1.50, 2007/11/06 21:12:23 |
|
|
gn->order = 0; |
gn->order = 0; |
ts_set_out_of_date(gn->mtime); |
ts_set_out_of_date(gn->mtime); |
ts_set_out_of_date(gn->cmtime); |
ts_set_out_of_date(gn->cmtime); |
Lst_Init(&gn->iParents); |
|
Lst_Init(&gn->cohorts); |
Lst_Init(&gn->cohorts); |
Lst_Init(&gn->parents); |
Lst_Init(&gn->parents); |
Lst_Init(&gn->children); |
Lst_Init(&gn->children); |
|
|
SymTable_Init(&gn->context); |
SymTable_Init(&gn->context); |
gn->lineno = 0; |
gn->lineno = 0; |
gn->fname = NULL; |
gn->fname = NULL; |
|
gn->impliedsrc = NULL; |
Lst_Init(&gn->commands); |
Lst_Init(&gn->commands); |
gn->suffix = NULL; |
gn->suffix = NULL; |
|
|
|
|
GNode *gn = (GNode *)gnp; |
GNode *gn = (GNode *)gnp; |
|
|
efree(gn->path); |
efree(gn->path); |
Lst_Destroy(&gn->iParents, NOFREE); |
|
Lst_Destroy(&gn->cohorts, NOFREE); |
Lst_Destroy(&gn->cohorts, NOFREE); |
Lst_Destroy(&gn->parents, NOFREE); |
Lst_Destroy(&gn->parents, NOFREE); |
Lst_Destroy(&gn->children, NOFREE); |
Lst_Destroy(&gn->children, NOFREE); |
|
|
printf("# unmade\n"); |
printf("# unmade\n"); |
} |
} |
} |
} |
if (!Lst_IsEmpty(&gn->iParents)) { |
|
printf("# implicit parents: "); |
|
Lst_Every(&gn->iParents, TargPrintName); |
|
fputc('\n', stdout); |
|
} |
|
} |
} |
if (!Lst_IsEmpty(&gn->parents)) { |
if (!Lst_IsEmpty(&gn->parents)) { |
printf("# parents: "); |
printf("# parents: "); |
Lst_Every(&gn->parents, TargPrintName); |
Lst_Every(&gn->parents, TargPrintName); |
fputc('\n', stdout); |
fputc('\n', stdout); |
} |
} |
|
if (gn->impliedsrc) |
|
printf("# implied source: %s\n", gn->impliedsrc->name); |
|
|
printf("%-16s", gn->name); |
printf("%-16s", gn->name); |
switch (gn->type & OP_OPMASK) { |
switch (gn->type & OP_OPMASK) { |