version 1.86, 2016/10/21 16:12:38 |
version 1.87, 2019/12/21 15:28:16 |
|
|
* signal to not attempt to do anything but abort our |
* signal to not attempt to do anything but abort our |
* parent as well. */ |
* parent as well. */ |
gn->must_make = true; |
gn->must_make = true; |
gn->built_status = BEINGMADE; |
gn->built_status = BUILDING; |
/* note that, in case we have siblings, we only check all |
/* note that, in case we have siblings, we only check all |
* children for all siblings, but we don't try to apply |
* children for all siblings, but we don't try to apply |
* any other rule. |
* any other rule. |
|
|
* its parents. |
* its parents. |
* This is to keep its state from affecting that of |
* This is to keep its state from affecting that of |
* its parent. */ |
* its parent. */ |
gn->built_status = MADE; |
gn->built_status = REBUILT; |
sib->built_status = MADE; |
sib->built_status = REBUILT; |
/* This is what Make does and it's actually a good |
/* This is what Make does and it's actually a good |
* thing, as it allows rules like |
* thing, as it allows rules like |
* |
* |
|
|
* parent to abort. */ |
* parent to abort. */ |
pgn->must_make = false; |
pgn->must_make = false; |
break; |
break; |
case BEINGMADE: |
case BUILDING: |
Error("Graph cycles through %s", gn->name); |
Error("Graph cycles through %s", gn->name); |
gn->built_status = ERROR; |
gn->built_status = ERROR; |
pgn->must_make = false; |
pgn->must_make = false; |
break; |
break; |
case MADE: |
case REBUILT: |
if ((gn->type & OP_EXEC) == 0) { |
if ((gn->type & OP_EXEC) == 0) { |
pgn->childMade = true; |
pgn->childMade = true; |
Make_TimeStamp(pgn, gn); |
Make_TimeStamp(pgn, gn); |
|
|
* it to create the thing. CompatMake will leave the 'built_status' |
* it to create the thing. CompatMake will leave the 'built_status' |
* field of gn in one of several states: |
* field of gn in one of several states: |
* UPTODATE gn was already up-to-date |
* UPTODATE gn was already up-to-date |
* MADE gn was recreated successfully |
* REBUILT gn was recreated successfully |
* ERROR An error occurred while gn was being |
* ERROR An error occurred while gn was being |
* created |
* created |
* ABORTED gn was not remade because one of its |
* ABORTED gn was not remade because one of its |