Lines Matching refs:line
228 foreach $line(@mak)
230 print MAKFILE $line;
243 my $line = shift;
244 $line =~ /\[(.+)\]/;
255 while ( $line=<TEMPLATE> ) {
256 if ( $line =~ /\[.+\]/ ) {
257 print $line if ($is_debug);
263 $key = getKey( $line );
266 push @cmdlines, $line;
294 my $line = "";
295 foreach $line(@template)
297 $line =~ s/<HEADER>/$header/g;
298 $line =~ s/<INPUTPATH>/$inputpath/g;
299 $line =~ s/<TARGET>/$target/g;
300 $line =~ s/<TARGETPATH>/$targetpath/;
301 push @{$ref_make_file}, $line; # from template
341 $line = "CPP_SWITCH_INCLUDE=/I $includepath\n";
342 push @{$ref_make_file}, $line;
343 foreach $line(@template)
345 if ( $line =~ /CPP_PROJ/)
347 $line =~ s/CPP_PROJ=/CPPX_PROJ=/;
348 … $line =~ s/\$\(CDEFS\)/\$\(CDEFS\) \$\(CPP_SWITCH_INCLUDE\)/; # include $(CPP_SWITCH_INCLUDE)
349 push @{$ref_make_file}, $line;
357 foreach $line(@template)
359 if ( $line =~ /CPP_PROJ/)
361 $line =~ s/CPP_PROJ=/CPPX_PROJ=/;
362 $line =~ s/-Za/-Ze/;
366 $line =~ s/-MD/-MDd/;
367 $line =~ s/-MT/-MTd/;
369 push @{$ref_make_file}, $line;
375 my $line = "";
376 foreach $line(@template)
378 $line =~ s/<SOURCEFILE>/$source/g;
379 $line =~ s/<EXT>/$extension/g;
380 $line =~ s/<HEADER_LIST>/$header_list/g;
381 push @{$ref_make_file}, $line;
457 while ( $line = <IN> ) {
458 next if ($line !~ /^.?\#include.+/); # handle include lines only
459 if ($line =~ /.+?\s(.+)/)
596 foreach $line(@template)
598 print MAKFILE $line;
625 foreach $line(@template)
627 $line =~ s/<OUTFILE>/$outfile/;
628 $line =~ s/<MANIFEST>/$manifest/;
629 print MAKFILE $line;
652 foreach $line(@mak)
654 print MAKFILE $line;
675 foreach $line(@template)
677 $line =~ s/<FILE>/$resourcefile/;
678 $line =~ s/<FILEOUT>/$resfile/;
679 print MAKFILE $line;
700 foreach $line(@template)
705 $line =~ s/-MD/-MDd/;
706 $line =~ s/-MT/-MTd/;
708 print MAKFILE $line;
727 foreach $line(@template)
729 $line =~ s/<AddIncDirs>/$ppinc/;
730 $line =~ s/<PreProcDefs>/$ppdefs/;
731 print MAKFILE $line;
745 foreach $line(@template)
747 $line =~ s/<OUTFILE>/$outfile/;
748 $line =~ s/<PDBFILE>/$pdbfile/;
749 print MAKFILE $line;
794 while ($line = <SLN>)
797 if ( $line =~ /^Project\(/ ) {
798 @project = split( /,/, $line);
819 if ( $line =~ /ProjectSection\(/ ) {
823 if ( $line =~ /EndProjectSection/ ) {
829 my @tarray = split(/=/, $line);
955 foreach $line(@template)
957 $line =~ s/<PRJ>/$$href_project_by_id{$proj}[0]/;
958 $line =~ s/<PRJDIR>/$prjdir/;
959 $line =~ s/<PRJMAK>/$prjname/;
960 $line =~ s/<ALLINONEDIR>/$allinonedir/;
961 print ALLMAK $line;