/[make]/make/file.c
ViewVC logotype

Diff of /make/file.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.75 by bosk, Sun Feb 27 22:24:31 2005 UTC revision 1.76 by psmith, Mon Feb 28 07:48:22 2005 UTC
# Line 31  Boston, MA 02111-1307, USA.  */ Line 31  Boston, MA 02111-1307, USA.  */
31  #include "hash.h"  #include "hash.h"
32    
33    
34    /* Remember whether snap_deps has been invoked: we need this to be sure we
35       don't add new rules (via $(eval ...)) afterwards.  In the future it would
36       be nice to support this, but it means we'd need to re-run snap_deps() or
37       at least its functionality... it might mean changing snap_deps() to be run
38       per-file, so we can invoke it after the eval... or remembering which files
39       in the hash have been snapped (a new boolean flag?) and having snap_deps()
40       only work on files which have not yet been snapped. */
41    int snapped_deps = 0;
42    
43  /* Hash table of files the makefile knows how to make.  */  /* Hash table of files the makefile knows how to make.  */
44    
45  static unsigned long  static unsigned long
# Line 611  snap_deps (void) Line 620  snap_deps (void)
620    f = lookup_file (".NOTPARALLEL");    f = lookup_file (".NOTPARALLEL");
621    if (f != 0 && f->is_target)    if (f != 0 && f->is_target)
622      not_parallel = 1;      not_parallel = 1;
623    
624      /* Remember that we've done this. */
625      snapped_deps = 1;
626  }  }
627    
628  /* Set the `command_state' member of FILE and all its `also_make's.  */  /* Set the `command_state' member of FILE and all its `also_make's.  */

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26