Print this page
make: unifdef for NSE (undefined)


 150  *              go_recursive    Should we show all dependencies recursively?
 151  *
 152  *      Global variables used:
 153  *              recursive_name  The Name ".RECURSIVE", printed
 154  */
 155 static void
 156 print_deps(register Name target, register Property line)
 157 {
 158         register Dependency     dep;
 159 
 160         if ((target->dependency_printed) ||
 161             (target == force)) {
 162                 return;
 163         }
 164         target->dependency_printed = true;
 165 
 166         /* only print entries that are actually derived and are not leaf
 167          * files and are not the result of sccs get.
 168          */
 169         if (should_print_dep(line)) {
 170 #ifdef NSE
 171                 nse_check_no_deps_no_rule(target, line, line);
 172 #endif
 173                 if ((report_dependencies_level == 2) ||
 174                     (report_dependencies_level == 4)) {
 175                         if (is_out_of_date(line)) {
 176                                 (void) printf("1 ");
 177                         } else {
 178                                 (void) printf("0 ");
 179                         }
 180                 }
 181                 print_filename(target);
 182                 (void) printf(":\t");
 183                 print_deplist(line->body.line.dependencies);
 184                 print_rec_info(target);
 185                 (void) printf("\n");
 186                 for (dep = line->body.line.dependencies;
 187                      dep != NULL;
 188                      dep = dep->next) {
 189                         print_deps(dep->name,
 190                                    get_prop(dep->name->prop, line_prop));
 191                 }
 192         }




 150  *              go_recursive    Should we show all dependencies recursively?
 151  *
 152  *      Global variables used:
 153  *              recursive_name  The Name ".RECURSIVE", printed
 154  */
 155 static void
 156 print_deps(register Name target, register Property line)
 157 {
 158         register Dependency     dep;
 159 
 160         if ((target->dependency_printed) ||
 161             (target == force)) {
 162                 return;
 163         }
 164         target->dependency_printed = true;
 165 
 166         /* only print entries that are actually derived and are not leaf
 167          * files and are not the result of sccs get.
 168          */
 169         if (should_print_dep(line)) {



 170                 if ((report_dependencies_level == 2) ||
 171                     (report_dependencies_level == 4)) {
 172                         if (is_out_of_date(line)) {
 173                                 (void) printf("1 ");
 174                         } else {
 175                                 (void) printf("0 ");
 176                         }
 177                 }
 178                 print_filename(target);
 179                 (void) printf(":\t");
 180                 print_deplist(line->body.line.dependencies);
 181                 print_rec_info(target);
 182                 (void) printf("\n");
 183                 for (dep = line->body.line.dependencies;
 184                      dep != NULL;
 185                      dep = dep->next) {
 186                         print_deps(dep->name,
 187                                    get_prop(dep->name->prop, line_prop));
 188                 }
 189         }