Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/read.cc
          +++ new/usr/src/cmd/make/bin/read.cc
↓ open down ↓ 202 lines elided ↑ open up ↑
 203  203                                  return failed;
 204  204                          }
 205  205                  }
 206  206                  if (makefile->body.makefile.contents == NULL) {
 207  207                          save_makefile_type = makefile_type;
 208  208                          makefile_type = reading_nothing;
 209  209                          if ((doname_it) &&
 210  210                              (doname(makefile_name, true, false) == build_failed)) {
 211  211                                  if (complain) {
 212  212                                          (void) fprintf(stderr,
 213      -#ifdef DISTRIBUTED
 214      -                                                       catgets(catd, 1, 67, "dmake: Couldn't dmake `%s'\n"),
 215      -#else
 216  213                                                         catgets(catd, 1, 237, "make: Couldn't make `%s'\n"),
 217      -#endif
 218  214                                                         makefile_name->string_mb);
 219  215                                  }
 220  216                                  max_include_depth--;
 221  217                                  makefile_type = save_makefile_type;
 222  218                                  return failed;
 223  219                          }
 224  220                          makefile_type = save_makefile_type;
 225  221                          //
 226  222                          // Before calling exists() make sure that we have the right timestamp
 227  223                          //
↓ open down ↓ 1907 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX