Changeset 1850 in kBuild for trunk/src/kmk
- Timestamp:
- Oct 12, 2008 4:55:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/file.c
r1849 r1850 515 515 516 516 #ifdef CONFIG_WITH_INCLUDEDEP 517 /* Dependencies loaded by includedep can be passed right thru. */ 517 /* Dependencies loaded by includedep are ready for use and we skip 518 the expensive parsing and globbing for them. To avoid wasting 519 lots of time walking the f->deps chain, we will advance D and 520 process all subsequent includedep records. */ 518 521 519 522 if (d->includedep) 520 523 { 521 new = alloc_dep(); 522 new->staticpattern = 0; 523 new->need_2nd_expansion = 0; 524 new->includedep = 1; 525 new->file = lookup_file (d->name); 526 if (new->file == 0) 527 new->file = enter_file (d->name); 524 new = d1 = alloc_dep(); 525 d1->staticpattern = 0; 526 d1->need_2nd_expansion = 0; 527 d1->includedep = 1; 528 d1->file = lookup_file (d->name); 529 if (d1->file == 0) 530 d1->file = enter_file (d->name); 531 532 while (d->next && d->next->includedep) 533 { 534 d = d->next; 535 d1 = d1->next = alloc_dep(); 536 d1->staticpattern = 0; 537 d1->need_2nd_expansion = 0; 538 d1->includedep = 1; 539 d1->file = lookup_file (d->name); 540 if (d1->file == 0) 541 d1->file = enter_file (d->name); 542 } 528 543 } 529 544 else
Note:
See TracChangeset
for help on using the changeset viewer.