version 1.20, 2012/09/21 07:55:20 |
version 1.21, 2012/10/02 10:29:30 |
|
|
#define CYCLE 6 |
#define CYCLE 6 |
#define ENDCYCLE 7 |
#define ENDCYCLE 7 |
#define NOSUCHNODE 8 |
#define NOSUCHNODE 8 |
|
#define BUILDING 9 |
|
|
#define SPECIAL_NONE 0U |
#define SPECIAL_NONE 0U |
#define SPECIAL_PATH 21U |
#define SPECIAL_PATH 21U |
|
|
#define SPECIAL_SOURCE 128U |
#define SPECIAL_SOURCE 128U |
#define SPECIAL_TARGETSOURCE (SPECIAL_TARGET|SPECIAL_SOURCE) |
#define SPECIAL_TARGETSOURCE (SPECIAL_TARGET|SPECIAL_SOURCE) |
|
|
|
#define SPECIAL_EXEC 4U |
|
#define SPECIAL_IGNORE 5U |
|
#define SPECIAL_INVISIBLE 8U |
|
#define SPECIAL_JOIN 9U |
|
#define SPECIAL_MADE 11U |
|
#define SPECIAL_MAIN 12U |
|
#define SPECIAL_MAKE 13U |
|
#define SPECIAL_MFLAGS 14U |
|
#define SPECIAL_NOTMAIN 15U |
|
#define SPECIAL_NOTPARALLEL 16U |
|
#define SPECIAL_OPTIONAL 18U |
|
#define SPECIAL_ORDER 19U |
|
#define SPECIAL_PARALLEL 20U |
|
#define SPECIAL_PHONY 22U |
|
#define SPECIAL_PRECIOUS 23U |
|
#define SPECIAL_SILENT 25U |
|
#define SPECIAL_SINGLESHELL 26U |
|
#define SPECIAL_SUFFIXES 27U |
|
#define SPECIAL_USE 28U |
|
#define SPECIAL_WAIT 29U |
|
#define SPECIAL_NOPATH 30U |
|
#define SPECIAL_ERROR 31U |
|
#define SPECIAL_CHEAP 32U |
|
#define SPECIAL_EXPENSIVE 33U |
|
#define SPECIAL_DEPRECATED 6U |
|
|
struct GNode_ { |
struct GNode_ { |
unsigned int special_op; /* special op to apply */ |
unsigned int special_op; /* special op to apply */ |
unsigned char special;/* type of special node */ |
unsigned char special;/* type of special node */ |
|
|
* on this node: |
* on this node: |
* UNKNOWN - Not examined yet |
* UNKNOWN - Not examined yet |
* BEINGMADE - Target is currently being made. |
* BEINGMADE - Target is currently being made. |
|
* BUILDING - There is a job running |
* MADE - Was out-of-date and has been made |
* MADE - Was out-of-date and has been made |
* UPTODATE - Was already up-to-date |
* UPTODATE - Was already up-to-date |
* ERROR - An error occurred while it was being |
* ERROR - An error occurred while it was being |
|
|
LIST preds; /* Nodes that must be made before this one */ |
LIST preds; /* Nodes that must be made before this one */ |
|
|
SymTable context; /* The local variables */ |
SymTable context; /* The local variables */ |
Location origin; /* First line number and file name of commands. */ |
|
LIST commands; /* Creation commands */ |
LIST commands; /* Creation commands */ |
struct Suff_ *suffix;/* Suffix for the node (determined by |
struct Suff_ *suffix;/* Suffix for the node (determined by |
* Suff_FindDeps and opaque to everyone |
* Suff_FindDeps and opaque to everyone |