void dump_data(void) { Var_Dump(); Suff_PrintAll(); targ_dump(false); dumped_once = true; }
void post_mortem(void) { if (!dumped_once) { Var_Dump(); Suff_PrintAll(); } targ_dump(true); }
/*- *----------------------------------------------------------------------- * Targ_PrintGraph -- * print the entire graph. heh heh * * Results: * none * * Side Effects: * lots o' output *----------------------------------------------------------------------- */ void Targ_PrintGraph (int pass) /* Which pass this is. 1 => no processing * 2 => processing done */ { printf("#*** Input graph:\n"); Lst_ForEach (allTargets, TargPrintNode, (ClientData)pass); printf("\n\n"); printf("#\n# Files that are only sources:\n"); Lst_ForEach (allTargets, TargPrintOnlySrc, (ClientData)NULL); printf("#*** Global Variables:\n"); Var_Dump (VAR_GLOBAL); printf("#*** Command-line Variables:\n"); Var_Dump (VAR_CMD); printf("\n"); Dir_PrintDirectories(); printf("\n"); Suff_PrintAll(); }