Print this page
make: unifdef for NSE (undefined)

@@ -340,13 +340,10 @@
         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) {

@@ -372,13 +369,10 @@
                                             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.
          */

@@ -522,18 +516,11 @@
  * 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

@@ -797,14 +784,10 @@
         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,

@@ -1068,17 +1051,10 @@
                         }
                         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);
                         }

@@ -1583,13 +1559,10 @@
                         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;

@@ -1983,17 +1956,11 @@
                                                /* 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);