1686 */
1687 if (line->body.line.is_out_of_date || keep_state) {
1688 /* Hack for handling conditional macros in DMake. */
1689 if (!line->body.line.dont_rebuild_command_used) {
1690 build_command_strings(target, line);
1691 }
1692 }
1693 /* Never mind */
1694 if (!line->body.line.is_out_of_date) {
1695 return build_ok;
1696 }
1697 /* If quest, then exit(1) because the target is out of date */
1698 if (quest) {
1699 if (posix) {
1700 #ifdef TEAMWARE_MAKE_CMN
1701 result = execute_parallel(line, true);
1702 #else
1703 result = execute_serial(line);
1704 #endif
1705 }
1706 #if defined(SUN5_0) || defined(HP_UX) || defined(linux)
1707 exit_status = 1;
1708 #endif
1709 exit(1);
1710 }
1711 /* We actually had to do something this time */
1712 rewrite_statefile = commands_done = true;
1713 /*
1714 * If this is an sccs command, we have to do some extra checking
1715 * and possibly complain. If the file can't be gotten because it's
1716 * checked out, we complain and behave as if the command was
1717 * executed eventhough we ignored the command.
1718 */
1719 if (!touch &&
1720 line->body.line.sccs_command &&
1721 (target->stat.time != file_doesnt_exist) &&
1722 ((target->stat.mode & 0222) != 0)) {
1723 fatal(catgets(catd, 1, 27, "%s is writable so it cannot be sccs gotten"),
1724 target->string_mb);
1725 target->has_complained = remember_only = true;
1726 }
1727 /*
1728 * If KEEP_STATE is on, we make sure we have the timestamp for
|
1686 */
1687 if (line->body.line.is_out_of_date || keep_state) {
1688 /* Hack for handling conditional macros in DMake. */
1689 if (!line->body.line.dont_rebuild_command_used) {
1690 build_command_strings(target, line);
1691 }
1692 }
1693 /* Never mind */
1694 if (!line->body.line.is_out_of_date) {
1695 return build_ok;
1696 }
1697 /* If quest, then exit(1) because the target is out of date */
1698 if (quest) {
1699 if (posix) {
1700 #ifdef TEAMWARE_MAKE_CMN
1701 result = execute_parallel(line, true);
1702 #else
1703 result = execute_serial(line);
1704 #endif
1705 }
1706 exit_status = 1;
1707 exit(1);
1708 }
1709 /* We actually had to do something this time */
1710 rewrite_statefile = commands_done = true;
1711 /*
1712 * If this is an sccs command, we have to do some extra checking
1713 * and possibly complain. If the file can't be gotten because it's
1714 * checked out, we complain and behave as if the command was
1715 * executed eventhough we ignored the command.
1716 */
1717 if (!touch &&
1718 line->body.line.sccs_command &&
1719 (target->stat.time != file_doesnt_exist) &&
1720 ((target->stat.mode & 0222) != 0)) {
1721 fatal(catgets(catd, 1, 27, "%s is writable so it cannot be sccs gotten"),
1722 target->string_mb);
1723 target->has_complained = remember_only = true;
1724 }
1725 /*
1726 * If KEEP_STATE is on, we make sure we have the timestamp for
|