Changeset 2232

Show
Ignore:
Timestamp:
10/08/2008 22:37:51 (5 months ago)
Author:
chris
Message:

Handle multiple-line dependencies in Makefile.extra

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makebuildenv.pl.in

    r2209 r2232  
    923923                        if(m/link-extra:\s*(.+)\Z/) 
    924924                        { 
    925                                 my @o = split /\s+/,$1; 
    926                                 for(@o) 
     925                                my $extra = $1; 
     926                                do 
    927927                                { 
    928                                         push @$objs_r,$1 if m/\A(.+)\.o\Z/; 
     928                                        my @o = split /\s+/, $extra; 
     929                                        for(@o) 
     930                                        { 
     931                                                push @$objs_r,$1 if m/\A(.+)\.o\Z/; 
     932                                        } 
     933                                        last unless $extra =~ m'\\$'; 
     934                                        $extra = <FL>; 
    929935                                } 
     936                                while(1); 
    930937                        } 
    931938                        elsif(m/include-makefile:\s*(\S+)/)