Print this page
make: unifdef for two bugfixes conditioned for unknown reasons (defined)


  30  *              getname
  31  *              Memory allocation
  32  *              String handling
  33  *              Property handling
  34  *              Error message handling
  35  *              Make internal state dumping
  36  *              main routine support
  37  */
  38 
  39 /*
  40  * Included files
  41  */
  42 #include <errno.h>
  43 #include <mk/defs.h>
  44 #include <mksh/macro.h>           /* SETVAR() */
  45 #include <mksh/misc.h>            /* enable_interrupt() */
  46 #include <stdarg.h>               /* va_list, va_start(), va_end() */
  47 #include <vroot/report.h> /* SUNPRO_DEPENDENCIES */
  48 #include <libintl.h>
  49 
  50 
  51 #define MAXJOBS_ADJUST_RFE4694000
  52 
  53 #ifdef MAXJOBS_ADJUST_RFE4694000
  54 extern void job_adjust_fini();
  55 #endif /* MAXJOBS_ADJUST_RFE4694000 */
  56 
  57 
  58 /*
  59  * Defined macros
  60  */
  61 
  62 /*
  63  * typedefs & structs
  64  */
  65 
  66 /*
  67  * Static variables
  68  */
  69 
  70 /*
  71  * File table of contents
  72  */
  73 static  void            print_rule(register Name target);
  74 static  void            print_target_n_deps(register Name target);
  75 
  76 /*****************************************


 156                 exit_status = 1;
 157                 exit(1);
 158         }
 159         fatal_in_progress = true;
 160         /* Let all parallel children finish */
 161         if ((dmake_mode_type == parallel_mode) &&
 162             (parallel_process_cnt > 0)) {
 163                 (void) fprintf(stderr,
 164                                gettext("Waiting for %d %s to finish\n"),
 165                                parallel_process_cnt,
 166                                parallel_process_cnt == 1 ?
 167                                gettext("job") : gettext("jobs"));
 168                 (void) fflush(stderr);
 169         }
 170 
 171         while (parallel_process_cnt > 0) {
 172                 await_parallel(true);
 173                 finish_children(false);
 174         }
 175 
 176 #if defined (TEAMWARE_MAKE_CMN) && defined (MAXJOBS_ADJUST_RFE4694000)
 177         job_adjust_fini();
 178 #endif
 179 
 180         exit_status = 1;
 181         exit(1);
 182 }
 183 
 184 /*
 185  *      warning(format, args...)
 186  *
 187  *      Print a message and continue.
 188  *
 189  *      Parameters:
 190  *              format          printf type format string
 191  *              args            Arguments to match the format
 192  *
 193  *      Global variables used:
 194  *              report_pwd      Should we report the current path?
 195  */
 196 /*VARARGS*/
 197 void
 198 warning(char * message, ...)




  30  *              getname
  31  *              Memory allocation
  32  *              String handling
  33  *              Property handling
  34  *              Error message handling
  35  *              Make internal state dumping
  36  *              main routine support
  37  */
  38 
  39 /*
  40  * Included files
  41  */
  42 #include <errno.h>
  43 #include <mk/defs.h>
  44 #include <mksh/macro.h>           /* SETVAR() */
  45 #include <mksh/misc.h>            /* enable_interrupt() */
  46 #include <stdarg.h>               /* va_list, va_start(), va_end() */
  47 #include <vroot/report.h> /* SUNPRO_DEPENDENCIES */
  48 #include <libintl.h>
  49 




  50 extern void job_adjust_fini();


  51 
  52 /*
  53  * Defined macros
  54  */
  55 
  56 /*
  57  * typedefs & structs
  58  */
  59 
  60 /*
  61  * Static variables
  62  */
  63 
  64 /*
  65  * File table of contents
  66  */
  67 static  void            print_rule(register Name target);
  68 static  void            print_target_n_deps(register Name target);
  69 
  70 /*****************************************


 150                 exit_status = 1;
 151                 exit(1);
 152         }
 153         fatal_in_progress = true;
 154         /* Let all parallel children finish */
 155         if ((dmake_mode_type == parallel_mode) &&
 156             (parallel_process_cnt > 0)) {
 157                 (void) fprintf(stderr,
 158                                gettext("Waiting for %d %s to finish\n"),
 159                                parallel_process_cnt,
 160                                parallel_process_cnt == 1 ?
 161                                gettext("job") : gettext("jobs"));
 162                 (void) fflush(stderr);
 163         }
 164 
 165         while (parallel_process_cnt > 0) {
 166                 await_parallel(true);
 167                 finish_children(false);
 168         }
 169 

 170         job_adjust_fini();

 171 
 172         exit_status = 1;
 173         exit(1);
 174 }
 175 
 176 /*
 177  *      warning(format, args...)
 178  *
 179  *      Print a message and continue.
 180  *
 181  *      Parameters:
 182  *              format          printf type format string
 183  *              args            Arguments to match the format
 184  *
 185  *      Global variables used:
 186  *              report_pwd      Should we report the current path?
 187  */
 188 /*VARARGS*/
 189 void
 190 warning(char * message, ...)