sbsv1_os/e32toolp/platform/cl_gcc.pm
branchRCL_3
changeset 73 22bdd8a90cc4
parent 18 99082257a271
equal deleted inserted replaced
62:7416fe50a180 73:22bdd8a90cc4
    53 			PMEndSrcBld
    53 			PMEndSrcBld
    54 		PMEndSrc
    54 		PMEndSrc
    55 	PMEndSrcList
    55 	PMEndSrcList
    56 );
    56 );
    57 
    57 
    58 use strict;
       
    59 use cl_generic;
    58 use cl_generic;
    60 use Genutl;
    59 use Genutl;
    61 
    60 
    62 use constant NOCOMPRESSIONMETHOD => 0;
    61 use constant NOCOMPRESSIONMETHOD => 0;
    63 use constant INFLATECOMPRESSIONMETHOD => 1;
    62 use constant INFLATECOMPRESSIONMETHOD => 1;
   462 		"FREEZE :\n"
   461 		"FREEZE :\n"
   463 	);
   462 	);
   464 	if ($DefFile and $BasicTrgType!~/^IMPLIB$/io) {
   463 	if ($DefFile and $BasicTrgType!~/^IMPLIB$/io) {
   465 		&main::Output(
   464 		&main::Output(
   466 #			call perl on the script here so nmake will die if there are errors - this doesn't happen if calling perl in a batch file
   465 #			call perl on the script here so nmake will die if there are errors - this doesn't happen if calling perl in a batch file
   467 			"\tperl -w -S efreeze.pl \$(EFREEZE_ALLOW_REMOVE) \"$DefFile\" \"\$(EPOCBLDP)\\$ExportLibrary.def\" \n"
   466 			"\tperl -S efreeze.pl \$(EFREEZE_ALLOW_REMOVE) \"$DefFile\" \"\$(EPOCBLDP)\\$ExportLibrary.def\" \n"
   468 		);
   467 		);
   469 	}
   468 	}
   470 	&main::Output(
   469 	&main::Output(
   471 		"\n",
   470 		"\n",
   472 		"CLEANLIBRARY :\n"
   471 		"CLEANLIBRARY :\n"
   574 		"WHAT$Bld : WHATGENERIC\n",
   573 		"WHAT$Bld : WHATGENERIC\n",
   575 		"\n",
   574 		"\n",
   576 		"CLEAN$Bld : CLEANBUILD$Bld CLEANRELEASE$Bld\n",
   575 		"CLEAN$Bld : CLEANBUILD$Bld CLEANRELEASE$Bld\n",
   577 		"\n",
   576 		"\n",
   578 		"CLEANBUILD$Bld : \n",
   577 		"CLEANBUILD$Bld : \n",
   579 		"\t\@perl -w -S ermdir.pl \"\$(EPOCBLDP$Bld)\"\n",
   578 		"\t\@perl -S ermdir.pl \"\$(EPOCBLDP$Bld)\"\n",
   580 		"\n",
   579 		"\n",
   581 		"CLEANRELEASE$Bld : CLEANGENERIC\n",
   580 		"CLEANRELEASE$Bld : CLEANGENERIC\n",
   582 		"\n"
   581 		"\n"
   583 	);
   582 	);
   584 	&Generic_WhatCleanTargets($Bld, "WHAT$Bld", "CLEANRELEASE$Bld", @releaseables);
   583 	&Generic_WhatCleanTargets($Bld, "WHAT$Bld", "CLEANRELEASE$Bld", @releaseables);
   708 		);
   707 		);
   709 
   708 
   710 #		reorder the .DEF file taking frozen exports into account if there are any
   709 #		reorder the .DEF file taking frozen exports into account if there are any
   711 		&main::Output(
   710 		&main::Output(
   712 #			call perl on the script here so nmake will die if there are errors - this doesn't happen if calling perl in a batch file
   711 #			call perl on the script here so nmake will die if there are errors - this doesn't happen if calling perl in a batch file
   713 			"\tperl -w -S makedef.pl -Deffile \"\$(EPOCBLDP$Bld)\\$ExportLibrary.inf\"$AbsentSubst"
   712 			"\tperl -S makedef.pl -Deffile \"\$(EPOCBLDP$Bld)\\$ExportLibrary.inf\"$AbsentSubst"
   714 		);
   713 		);
   715 		if (SystemTarget()) {
   714 		if (SystemTarget()) {
   716     			&main::Output( "\t\t-SystemTargetType \\\n" );
   715     			&main::Output( "\t\t-SystemTargetType \\\n" );
   717 	    	}		
   716 	    	}		
   718 		if (-e $DefFile) { # effectively "if project frozen ..."
   717 		if (-e $DefFile) { # effectively "if project frozen ..."