version 1.33, 2019/12/21 15:31:54 |
version 1.34, 2019/12/22 16:53:40 |
|
|
* the lefthand side of an operator, though it may have been on the |
* the lefthand side of an operator, though it may have been on the |
* righthand side... |
* righthand side... |
*/ |
*/ |
|
#define OP_ZERO 0x00000000 /* No dependency operator seen so far */ |
#define OP_DEPENDS 0x00000001 /* Execution of commands depends on |
#define OP_DEPENDS 0x00000001 /* Execution of commands depends on |
* kids (:) */ |
* kids (:) */ |
#define OP_FORCE 0x00000002 /* Always execute commands (!) */ |
#define OP_FORCE 0x00000002 /* Always execute commands (!) */ |
#define OP_DOUBLEDEP 0x00000004 /* Execution of commands depends on kids |
#define OP_DOUBLEDEP 0x00000004 /* Execution of commands depends on kids |
* per line (::) */ |
* per line (::) */ |
#define OP_ERROR 0x00000000 |
#define OP_ERROR 0x00000007 |
#define OP_OPMASK (OP_DEPENDS|OP_FORCE|OP_DOUBLEDEP) |
#define OP_OPMASK (OP_DEPENDS|OP_FORCE|OP_DOUBLEDEP) |
|
|
#define OP_OPTIONAL 0x00000008 /* Don't care if the target doesn't |
#define OP_OPTIONAL 0x00000008 /* Don't care if the target doesn't |
|
|
* OP_NOP will return true if the node with the given type was not the |
* OP_NOP will return true if the node with the given type was not the |
* object of a dependency operator |
* object of a dependency operator |
*/ |
*/ |
#define OP_NOP(t) (((t) & OP_OPMASK) == 0x00000000) |
#define OP_NOP(t) (((t) & OP_OPMASK) == OP_ZERO) |
|
|
#define OP_NOTARGET (OP_NOTMAIN|OP_USE|OP_EXEC|OP_TRANSFORM) |
#define OP_NOTARGET (OP_NOTMAIN|OP_USE|OP_EXEC|OP_TRANSFORM) |
|
|