[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.29 and 1.30

version 1.29, 2017/06/22 17:08:20 version 1.30, 2019/12/21 15:28:17
Line 69 
Line 69 
  */   */
   
 #define UNKNOWN         0  #define UNKNOWN         0
 #define BEINGMADE       1  #define BUILDING        1
 #define MADE            2  #define REBUILT         2
 #define UPTODATE        3  #define UPTODATE        3
 #define ERROR           4  #define ERROR           4
 #define ABORTED         5  #define ABORTED         5
 #define CYCLE           6  #define NOSUCHNODE      6
 #define ENDCYCLE        7  #define HELDBACK        7
 #define NOSUCHNODE      8  
 #define BUILDING        9  
 #define HELDBACK        10  
   
 #define SPECIAL_NONE    0U  #define SPECIAL_NONE    0U
 #define SPECIAL_PATH            21U  #define SPECIAL_PATH            21U
Line 121 
Line 118 
     char built_status;  /* Set to reflect the state of processing      char built_status;  /* Set to reflect the state of processing
                          * on this node:                           * on this node:
                          *  UNKNOWN - Not examined yet                           *  UNKNOWN - Not examined yet
                          *  BEINGMADE - Target is currently being made.                           *  BUILDING - Target is currently being made.
                          *  BUILDING - There is a job running                           *  REBUILT - 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
                          *      made (used only in compat mode)                           *      made (used only in compat mode)
Line 168 
Line 164 
 };  };
   
 #define has_been_built(gn) \  #define has_been_built(gn) \
         ((gn)->built_status == MADE || (gn)->built_status == UPTODATE)          ((gn)->built_status == REBUILT || (gn)->built_status == UPTODATE)
 #define should_have_file(gn) \  #define should_have_file(gn) \
         ((gn)->special == SPECIAL_NONE && \          ((gn)->special == SPECIAL_NONE && \
         ((gn)->type & (OP_PHONY | OP_DUMMY)) == 0)          ((gn)->type & (OP_PHONY | OP_DUMMY)) == 0)

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30