version 1.43, 2007/11/02 17:27:24 |
version 1.44, 2007/11/03 10:39:22 |
|
|
(void)Lst_QueueNew(&toBeMade, succ); |
(void)Lst_QueueNew(&toBeMade, succ); |
} |
} |
|
|
/* Set the .PREFIX and .IMPSRC variables for all the implied parents |
/* Set the .IMPSRC variables for all the implied parents |
* of this node. */ |
* of this node. */ |
{ |
{ |
char *cpref = Varq_Value(PREFIX_INDEX, cgn); |
char *cpref = Varq_Value(PREFIX_INDEX, cgn); |
|
|
for (ln = Lst_First(&cgn->iParents); ln != NULL; ln = Lst_Adv(ln)) { |
for (ln = Lst_First(&cgn->iParents); ln != NULL; ln = Lst_Adv(ln)) { |
pgn = (GNode *)Lst_Datum(ln); |
pgn = (GNode *)Lst_Datum(ln); |
if (pgn->make) { |
if (pgn->make) |
Varq_Set(IMPSRC_INDEX, cname, pgn); |
Varq_Set(IMPSRC_INDEX, cname, pgn); |
Varq_Set(PREFIX_INDEX, cpref, pgn); |
|
} |
|
} |
} |
} |
} |
|
|