Changeset 1797 for trunk/src/kmk/file.c


Ignore:
Timestamp:
Sep 21, 2008, 3:05:36 AM (17 years ago)
Author:
bird
Message:

kmk: moved eval_include_dep into incdep.c (was in read.c) and implemented background file reading. 'includedep-queue' and 'includedep-flush' are new directives, which along with 'includedep', all take a list of dependency files (used to only take a single file).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/file.c

    r1793 r1797  
    698698
    699699      /* Disable second target expansion now since we won't expand files
    700          entered after this point. (saves CPU cycles in enter_file()). */
     700         entered after this point. (Saves CPU cycles in enter_file()). */
    701701      second_target_expansion = 0;
    702702    }
    703703#endif /* CONFIG_WITH_2ND_TARGET_EXPANSION */
     704
     705#ifdef CONFIG_WITH_INCLUDEDEP
     706  /* Process any queued includedep files.  Since includedep is supposed
     707     to be *simple* stuff, we can do this after the second target expansion
     708     and thereby save a little time.  */
     709  incdep_flush_and_term ();
     710#endif
    704711
    705712  /* For every target that's not .SUFFIXES, expand its dependencies.
Note: See TracChangeset for help on using the changeset viewer.