[BACK]Return to gnode.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/gnode.h between version 1.33 and 1.34

version 1.33, 2019/12/21 15:31:54 version 1.34, 2019/12/22 16:53:40
Line 172 
Line 172 
  * 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
Line 227 
Line 228 
  * 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)
   

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34