- Timestamp:
- Oct 12, 2008, 6:41:07 PM (17 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/dep.h
r1827 r1848 44 44 unsigned int staticpattern : 1; 45 45 unsigned int need_2nd_expansion : 1; 46 #ifdef CONFIG_WITH_INCLUDEDEP 47 unsigned int includedep : 1; 48 #endif 46 49 }; 47 50 -
trunk/src/kmk/file.c
r1847 r1848 514 514 continue; 515 515 516 #ifdef CONFIG_WITH_INCLUDEDEP 517 /* Dependencies loaded by includedep can be passed right thru. */ 518 if (d->includedep) 519 { 520 new = alloc_dep(); 521 new->name = d->name; 522 } 523 else 524 { 525 #endif 526 516 527 /* Create the dependency list. 517 528 If we're not doing 2nd expansion, then it's just the name. We will … … 574 585 575 586 /* Parse the prerequisites. */ 576 #ifndef CONFIG_WITH_VALUE_LENGTH577 587 new = parse_prereqs (p); 578 #else579 /** @todo make use of len here! */580 new = parse_prereqs (p);581 #endif582 588 583 589 /* If this dep list was from a static pattern rule, expand the %s. We … … 647 653 } 648 654 } 655 656 #ifdef CONFIG_WITH_INCLUDEDEP 657 } 658 #endif 649 659 650 660 /* Enter them as files. */ -
trunk/src/kmk/incdep.c
r1825 r1848 1255 1255 *nextdep = dep = alloc_dep (); 1256 1256 dep->name = incdep_record_strcache (curdep, cur, endp - cur); 1257 dep->includedep = 1; 1257 1258 nextdep = &dep->next; 1258 1259
Note:
See TracChangeset
for help on using the changeset viewer.