Print this page
make: unifdef SUN5_0 (defined)


1155                 keep_state = false;
1156                 all_parallel = false;
1157                 only_parallel = false;
1158                 if (trace_reader) {
1159                         (void) printf("%s:\n", svr4_name->string_mb);
1160                 }
1161                 break;
1162 
1163         case posix_special:
1164                 if(svr4)
1165                   break;
1166                 if (depes->used != 0) {
1167                         fatal_reader(catgets(catd, 1, 99, "Illegal dependencies for target `%s'"),
1168                                      target->string_mb);
1169                 }
1170                 posix  = true;
1171                         /* with posix on, use the posix get rule */
1172                 sccs_get_rule = sccs_get_posix_rule;
1173                         /* turn keep state off being SunPro make specific */
1174                 keep_state = false;
1175                 #if defined(SUN5_0)
1176                 /* Use /usr/xpg4/bin/sh on Solaris */
1177                 MBSTOWCS(wcs_buffer, NOCATGETS("/usr/xpg4/bin/sh"));
1178                 (void) SETVAR(shell_name, GETNAME(wcs_buffer, FIND_LENGTH), false);
1179                 #endif
1180                 if (trace_reader) {
1181                         (void) printf("%s:\n", posix_name->string_mb);
1182                 }
1183                 break;
1184 
1185         case built_last_make_run_special:
1186                 built_last_make_run_seen = true;
1187                 break;
1188 
1189         case default_special:
1190                 if (depes->used != 0) {
1191                         warning(catgets(catd, 1, 100, "Illegal dependency list for target `%s'"),
1192                                 target->string_mb);
1193                 }
1194                 default_rule = command;
1195                 if (trace_reader) {
1196                         (void) printf("%s:\n",
1197                                       default_rule_name->string_mb);
1198                         print_rule(command);
1199                 }


1908         (void) fprintf(stderr, "\n");
1909         va_end(args);
1910 
1911         if (temp_file_name != NULL) {
1912                 (void) fprintf(stderr,
1913 #ifdef DISTRIBUTED
1914                                catgets(catd, 1, 114, "dmake: Temp-file %s not removed\n"),
1915 #else
1916                                catgets(catd, 1, 239, "make: Temp-file %s not removed\n"),
1917 #endif
1918                                temp_file_name->string_mb);
1919                 temp_file_name = NULL;
1920         }
1921 
1922         if (report_pwd) {
1923                 (void) fprintf(stderr,
1924                                catgets(catd, 1, 115, "Current working directory %s\n"),
1925                                get_current_path());
1926         }
1927         (void) fflush(stderr);
1928 #if defined(SUN5_0) || defined(HP_UX)
1929         exit_status = 1;
1930 #endif
1931         exit(1);
1932 }
1933 


1155                 keep_state = false;
1156                 all_parallel = false;
1157                 only_parallel = false;
1158                 if (trace_reader) {
1159                         (void) printf("%s:\n", svr4_name->string_mb);
1160                 }
1161                 break;
1162 
1163         case posix_special:
1164                 if(svr4)
1165                   break;
1166                 if (depes->used != 0) {
1167                         fatal_reader(catgets(catd, 1, 99, "Illegal dependencies for target `%s'"),
1168                                      target->string_mb);
1169                 }
1170                 posix  = true;
1171                         /* with posix on, use the posix get rule */
1172                 sccs_get_rule = sccs_get_posix_rule;
1173                         /* turn keep state off being SunPro make specific */
1174                 keep_state = false;

1175                 /* Use /usr/xpg4/bin/sh on Solaris */
1176                 MBSTOWCS(wcs_buffer, NOCATGETS("/usr/xpg4/bin/sh"));
1177                 (void) SETVAR(shell_name, GETNAME(wcs_buffer, FIND_LENGTH), false);

1178                 if (trace_reader) {
1179                         (void) printf("%s:\n", posix_name->string_mb);
1180                 }
1181                 break;
1182 
1183         case built_last_make_run_special:
1184                 built_last_make_run_seen = true;
1185                 break;
1186 
1187         case default_special:
1188                 if (depes->used != 0) {
1189                         warning(catgets(catd, 1, 100, "Illegal dependency list for target `%s'"),
1190                                 target->string_mb);
1191                 }
1192                 default_rule = command;
1193                 if (trace_reader) {
1194                         (void) printf("%s:\n",
1195                                       default_rule_name->string_mb);
1196                         print_rule(command);
1197                 }


1906         (void) fprintf(stderr, "\n");
1907         va_end(args);
1908 
1909         if (temp_file_name != NULL) {
1910                 (void) fprintf(stderr,
1911 #ifdef DISTRIBUTED
1912                                catgets(catd, 1, 114, "dmake: Temp-file %s not removed\n"),
1913 #else
1914                                catgets(catd, 1, 239, "make: Temp-file %s not removed\n"),
1915 #endif
1916                                temp_file_name->string_mb);
1917                 temp_file_name = NULL;
1918         }
1919 
1920         if (report_pwd) {
1921                 (void) fprintf(stderr,
1922                                catgets(catd, 1, 115, "Current working directory %s\n"),
1923                                get_current_path());
1924         }
1925         (void) fflush(stderr);

1926         exit_status = 1;

1927         exit(1);
1928 }
1929