Print this page
make: ship the Joyent patch to enable parallel make (originally from rm)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/include/mk/defs.h
          +++ new/usr/src/cmd/make/include/mk/defs.h
↓ open down ↓ 363 lines elided ↑ open up ↑
 364  364  extern  void            enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator);
 365  365  extern  void            enter_dependency(Property line, register Name depe, Boolean automatic);
 366  366  extern  void            enter_equal(Name name, Name value, register Boolean append);
 367  367  extern  Percent         enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command);
 368  368  extern  Dyntarget       enter_dyntarget(register Name target);
 369  369  extern  Name_vector     enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen);
 370  370  extern  Boolean         exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error);
 371  371  extern  Doname          execute_parallel(Property line, Boolean waitflg, Boolean local = false);
 372  372  extern  Doname          execute_serial(Property line);
 373  373  extern  timestruc_t&    exists(register Name target);
 374      -extern  void            fatal(char *, ...);
      374 +extern  void            fatal(const char *, ...);
 375  375  extern  void            fatal_reader(char *, ...);
 376  376  extern  Doname          find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking);
 377  377  extern  Doname          find_double_suffix_rule(register Name target, Property *command, Boolean rechecking);
 378  378  extern  Doname          find_percent_rule(register Name target, Property *command, Boolean rechecking);
 379  379  extern  int             find_run_directory (char *cmd, char *cwd, char *dir, char **pgm, char **run, char *path);
 380  380  extern  Doname          find_suffix_rule(Name target, Name target_body, Name target_suffix, Property *command, Boolean rechecking);
 381  381  extern  Chain           find_target_groups(register Name_vector target_list, register int i, Boolean reset);
 382  382  extern  void            finish_children(Boolean docheck);
 383  383  extern  void            finish_running(void);
 384  384  extern  void            free_chain(Name_vector ptr);
↓ open down ↓ 64 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX