Print this page
make: unifdef for NSE (undefined)

*** 340,352 **** register int auto_count; Boolean rechecking_target = false; Boolean saved_commands_done; Boolean restart = false; Boolean save_parallel = parallel; - #ifdef NSE - Boolean save_readdep; - #endif Boolean doing_subtree = false; Boolean recheck_conditionals = false; if (target->state == build_running) { --- 340,349 ----
*** 372,384 **** false); return build_running; } } } - #ifdef NSE - nse_check_file_backquotes(target->string); - #endif #endif /* * If the target is a constructed one for a "::" target, * we need to consider that. */ --- 369,378 ----
*** 522,539 **** * dependencies did not mean anything. WIth this change it expands it * as expected. */ if (!target->has_depe_list_expanded) { - #ifdef NSE - save_readdep = reading_dependencies; - reading_dependencies= true; - #endif dynamic_dependencies(target); - #ifdef NSE - reading_dependencies= save_readdep; - #endif } /* * FIRST SECTION -- GO THROUGH DEPENDENCIES AND COLLECT EXPLICIT * COMMANDS TO RUN --- 516,526 ----
*** 797,810 **** if ((command != NULL) && (command->body.line.command_template != NULL)) { if (result != build_failed) { result = run_command(command, (Boolean) ((parallel || save_parallel) && !silent)); - #ifdef NSE - nse_check_no_deps_no_rule(target, - get_prop(target->prop, line_prop), command); - #endif } switch (result) { #ifdef TEAMWARE_MAKE_CMN case build_running: add_running(target, --- 784,793 ----
*** 1068,1084 **** } if (dependency->built || (dependency->name->state == build_failed)) { dep_result = (Doname) dependency->name->state; } else { - #ifdef NSE - nse_check_sccs(target->string, - dependency->name->string); - nse_check_derived_src(target, - dependency->name->string, - line->body.line.command_template); - #endif dep_result = doname_check(dependency->name, do_get, false, (Boolean) dependency->automatic); } --- 1051,1060 ----
*** 1583,1595 **** continue; } /* If dependency name string contains shell wildcards */ /* replace the name with the expansion */ if (dependency->name->wildcard) { - #ifdef NSE - nse_wildcard(target->string, dependency->name->string); - #endif wcb.init(dependency->name); if ((start = (wchar_t *) wschr(wcb.get_string(), (int) parenleft_char)) != NULL) { /* lib(*) type pattern */ library = buffer; --- 1559,1568 ----
*** 1983,1999 **** /* BOOLEAN(rule->silent && rule->ignore_error), */ (Boolean) rule->always_exec, target, send_mtool_msgs); - #ifdef NSE - nse_did_recursion= false; - #endif check_state(temp_file_name); - #ifdef NSE - nse_check_cd(line); - #endif } SEND_MTOOL_MSG( append_job_result_msg(job_result_msg); if (child_pid > 0) { kill(child_pid, SIGUSR1); --- 1956,1966 ----