Print this page
make: unifdef for NSE (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/include/mksh/defs.h
          +++ new/usr/src/cmd/make/include/mksh/defs.h
↓ open down ↓ 326 lines elided ↑ open up ↑
 327  327          Boolean                 built:1;
 328  328  };
 329  329  
 330  330  /*
 331  331   * The specials are markers for targets that the reader should special case
 332  332   */
 333  333  typedef enum {
 334  334          no_special,
 335  335          built_last_make_run_special,
 336  336          default_special,
 337      -#ifdef NSE
 338      -        derived_src_special,
 339      -#endif
 340  337          get_posix_special,
 341  338          get_special,
 342  339          ignore_special,
 343  340          keep_state_file_special,
 344  341          keep_state_special,
 345  342          make_version_special,
 346  343          no_parallel_special,
 347  344          parallel_special,
 348  345          posix_special,
 349  346          precious_special,
↓ open down ↓ 61 lines elided ↑ open up ↑
 411  408          struct _Name            *value;
 412  409          struct _Name            *value_to_append;
 413  410  };
 414  411  
 415  412  struct _Macro {
 416  413          /*
 417  414          * For "ABC = xyz" constructs
 418  415          * Name "ABC" get one macro prop
 419  416          */
 420  417          struct _Name            *value;
 421      -#ifdef NSE
 422      -        Boolean                 imported:1;
 423      -#endif
 424  418          Boolean                 exported:1;
 425  419          Boolean                 read_only:1;
 426  420          /*
 427  421          * This macro is defined conditionally
 428  422          */
 429  423          Boolean                 is_conditional:1;
 430  424          /*
 431  425          * The list for $? is stored as a structured list that
 432  426          * is translated into a string iff it is referenced.
 433  427          * This is why  some macro values need a daemon. 
↓ open down ↓ 21 lines elided ↑ open up ↑
 455  449          }                       hash;
 456  450          struct {
 457  451                  timestruc_t             time;           /* Modification */
 458  452                  int                     stat_errno;     /* error from "stat" */
 459  453                  off_t                   size;           /* Of file */
 460  454                  mode_t                  mode;           /* Of file */
 461  455                  Boolean                 is_file:1;
 462  456                  Boolean                 is_dir:1;
 463  457                  Boolean                 is_sym_link:1;
 464  458                  Boolean                 is_precious:1;
 465      -#ifdef NSE
 466      -                Boolean                 is_derived_src:1;
 467      -#endif
 468  459                  enum sccs_stat          has_sccs:2;
 469  460          }                       stat;
 470  461          /*
 471  462           * Count instances of :: definitions for this target
 472  463           */
 473  464          short                   colon_splits;
 474  465          /*
 475  466           * We only clear the automatic depes once per target per report
 476  467           */
 477  468          short                   temp_file_number;
↓ open down ↓ 503 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX