[BACK]Return to compat.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/compat.c between version 1.4 and 1.5

version 1.4, 1996/11/30 21:08:51 version 1.5, 1997/04/01 07:28:09
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
 /*      $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $     */  /*      $NetBSD: compat.c,v 1.18 1997/03/28 22:31:22 christos Exp $     */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 366 
Line 366 
 {  {
     GNode *gn = (GNode *) gnp;      GNode *gn = (GNode *) gnp;
     GNode *pgn = (GNode *) pgnp;      GNode *pgn = (GNode *) pgnp;
     if (gn->type & OP_USE) {  
         Make_HandleUse(gn, pgn);      if (pgn->type & OP_MADE) {
     } else if (gn->made == UNMADE) {          (void) Dir_MTime(gn);
           gn->made = UPTODATE;
       }
   
       if (gn->made == UNMADE) {
         /*          /*
          * First mark ourselves to be made, then apply whatever transformations           * First mark ourselves to be made, then apply whatever transformations
          * the suffix module thinks are necessary. Once that's done, we can           * the suffix module thinks are necessary. Once that's done, we can
Line 626 
Line 630 
             }              }
         }          }
     }      }
   
       /*
        * Expand .USE nodes right now, because they can modify the structure
        * of the tree.
        */
       Lst_Destroy(Make_ExpandUse(targs), NOFREE);
   
     /*      /*
      * For each entry in the list of targets to create, call CompatMake on       * For each entry in the list of targets to create, call CompatMake on

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5