sbsv1_os/e32toolp/makmake/makmake.pl
branchRCL_3
changeset 62 7416fe50a180
parent 18 99082257a271
child 64 15948b6bf933
child 73 22bdd8a90cc4
equal deleted inserted replaced
44:5e76a11e104b 62:7416fe50a180
    19 
    19 
    20 
    20 
    21 use FindBin;		# for FindBin::Bin
    21 use FindBin;		# for FindBin::Bin
    22 use Getopt::Long;
    22 use Getopt::Long;
    23 use Cwd;
    23 use Cwd;
    24 use strict;
       
    25 # modified start: makefile improvement 
    24 # modified start: makefile improvement 
    26 use File::stat;
    25 use File::stat;
    27 use Time::localtime;
    26 use Time::localtime;
    28 # modified end: makefile improvement 
    27 # modified end: makefile improvement 
    29 
    28 
  1227 			$Path{StatLink}.=lc($Plat{ASSP})."\\"; # WINC static libraries are currently always ASSP-specific
  1226 			$Path{StatLink}.=lc($Plat{ASSP})."\\"; # WINC static libraries are currently always ASSP-specific
  1228 		}
  1227 		}
  1229 	}
  1228 	}
  1230 
  1229 
  1231 #	set up release path
  1230 #	set up release path
  1232 	$Path{Rel}="$E32env::Data{RelPath}".lc($Plat{Real})."\\";
  1231 	if((&Plat() =~ /gcce/i) && ($TrgType{Basic} eq 'LIB'))
       
  1232 	{
       
  1233 		$Path{Rel}=$Path{StatLink};
       
  1234 	}
       
  1235 	else {
       
  1236 		$Path{Rel}="$E32env::Data{RelPath}".lc($Plat{Real})."\\";
       
  1237 	}
  1233 	
  1238 	
  1234 }
  1239 }
  1235 
  1240 
  1236 sub CreateExtraFile ($$) { # takes abs path for source and text
  1241 sub CreateExtraFile ($$) { # takes abs path for source and text
  1237 # allows modules to create extrafiles
  1242 # allows modules to create extrafiles