Changeset 1975 for trunk/src/kmk/read.c
- Timestamp:
- Oct 26, 2008, 11:48:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/read.c
r1947 r1975 445 445 deps->next = read_makefiles; 446 446 read_makefiles = deps; 447 #ifndef KMK447 #ifndef CONFIG_WITH_STRCACHE2 448 448 deps->file = lookup_file (filename); 449 449 #else … … 2407 2407 new entry if the file is a double-colon, which we don't want in 2408 2408 this situation. */ 2409 #ifndef KMK2409 #ifndef CONFIG_WITH_STRCACHE2 2410 2410 f = lookup_file (name); 2411 2411 if (!f) 2412 2412 f = enter_file (strcache_add (name)); 2413 #else /* KMK*/2413 #else /* CONFIG_WITH_STRCACHE2 */ 2414 2414 /* XXX: this is probably already a cached string. */ 2415 2415 fname = strcache_add (name); … … 2417 2417 if (!f) 2418 2418 f = enter_file (fname); 2419 #endif 2419 #endif /* CONFIG_WITH_STRCACHE2 */ 2420 2420 else if (f->double_colon) 2421 2421 f = f->double_colon; … … 2780 2780 { 2781 2781 /* Double-colon. Make a new record even if there already is one. */ 2782 #ifndef KMK2782 #ifndef CONFIG_WITH_STRCACHE2 2783 2783 f = lookup_file (name); 2784 #else /* KMK- the name is already in the cache, don't waste time. */2784 #else /* CONFIG_WITH_STRCACHE2 - the name is already in the cache, don't waste time. */ 2785 2785 f = lookup_file_cached (name); 2786 #endif 2786 #endif /* CONFIG_WITH_STRCACHE2 */ 2787 2787 2788 2788 /* Check for both : and :: rules. Check is_target so
Note:
See TracChangeset
for help on using the changeset viewer.