version 1.51, 2001/05/31 13:38:48 |
version 1.52, 2001/06/03 16:33:48 |
|
|
Lst_Init(create); |
Lst_Init(create); |
Lst_Init(&makefiles); |
Lst_Init(&makefiles); |
Lst_Init(&varstoprint); |
Lst_Init(&varstoprint); |
|
Lst_Init(&targs); |
|
|
beSilent = false; /* Print commands as executed */ |
beSilent = false; /* Print commands as executed */ |
ignoreErrors = false; /* Pay attention to non-zero returns */ |
ignoreErrors = false; /* Pay attention to non-zero returns */ |
noExecute = false; /* Execute all commands */ |
noExecute = false; /* Execute all commands */ |
|
|
/* Have now read the entire graph and need to make a list of targets |
/* Have now read the entire graph and need to make a list of targets |
* to create. If none was given on the command line, we consult the |
* to create. If none was given on the command line, we consult the |
* parsing module to find the main target(s) to create. */ |
* parsing module to find the main target(s) to create. */ |
Lst_Init(&targs); |
|
if (Lst_IsEmpty(create)) |
if (Lst_IsEmpty(create)) |
Parse_MainName(&targs); |
Parse_MainName(&targs); |
else |
else |
|
|
} |
} |
} |
} |
|
|
|
#ifdef CLEANUP |
Lst_Destroy(&targs, NOFREE); |
Lst_Destroy(&targs, NOFREE); |
Lst_Destroy(&varstoprint, NOFREE); |
Lst_Destroy(&varstoprint, NOFREE); |
Lst_Destroy(&makefiles, NOFREE); |
Lst_Destroy(&makefiles, NOFREE); |
Lst_Destroy(create, (SimpleProc)free); |
Lst_Destroy(create, (SimpleProc)free); |
|
#endif |
|
|
/* print the graph now it's been processed if the user requested it */ |
/* print the graph now it's been processed if the user requested it */ |
if (DEBUG(GRAPH2)) |
if (DEBUG(GRAPH2)) |