=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/compat.c,v retrieving revision 1.90 retrieving revision 1.91 diff -c -r1.90 -r1.91 *** src/usr.bin/make/compat.c 2020/01/13 15:24:31 1.90 --- src/usr.bin/make/compat.c 2020/01/13 15:41:53 1.91 *************** *** 1,4 **** ! /* $OpenBSD: compat.c,v 1.90 2020/01/13 15:24:31 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: compat.c,v 1.91 2020/01/13 15:41:53 espie Exp $ */ /* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */ /* *************** *** 264,275 **** } } ! bool ! Compat_Run(Lst targs) /* List of target nodes to re-create */ { GNode *gn = NULL; /* Current root target */ - int errors; /* Number of targets not built due to errors */ - bool out_of_date = false; /* For each entry in the list of targets to create, call CompatMake on * it to create the thing. CompatMake will leave the 'built_status' --- 264,283 ---- } } ! void ! Compat_Init() { + } + + void + Compat_Update(GNode *gn) + { + } + + void + Compat_Run(Lst targs, bool *has_errors, bool *out_of_date) + { GNode *gn = NULL; /* Current root target */ /* For each entry in the list of targets to create, call CompatMake on * it to create the thing. CompatMake will leave the 'built_status' *************** *** 281,287 **** * ABORTED gn was not built because one of its * dependencies could not be built due * to errors. */ - errors = 0; while ((gn = Lst_DeQueue(targs)) != NULL) { CompatMake(gn, NULL); --- 289,294 ---- *************** *** 290,304 **** else if (gn->built_status == ABORTED) { printf("`%s' not remade because of errors.\n", gn->name); ! out_of_date = true; ! errors++; } else { ! out_of_date = true; } } - /* If the user has defined a .END target, run its commands. */ - if (errors == 0 && !queryFlag) - run_gnode(end_node); - return out_of_date; } --- 297,307 ---- else if (gn->built_status == ABORTED) { printf("`%s' not remade because of errors.\n", gn->name); ! *out_of_date = true; ! *has_errors = true; } else { ! *out_of_date = true; } } }