sbsv1_os/e32toolp/platform/cl_vscw.pm
branchRCL_3
changeset 73 22bdd8a90cc4
parent 18 99082257a271
equal deleted inserted replaced
62:7416fe50a180 73:22bdd8a90cc4
   272 		"\n"
   272 		"\n"
   273 	);
   273 	);
   274 
   274 
   275 	foreach (@BldList) {
   275 	foreach (@BldList) {
   276 		&main::Output(
   276 		&main::Output(
   277 			"CW$_ = perl -w -S err_formatter.pl \$(COMPILER_PATH)$MWCC -msgstyle parseable "
   277 			"CW$_ = perl -S err_formatter.pl \$(COMPILER_PATH)$MWCC -msgstyle parseable "
   278 		);
   278 		);
   279 		if (/DEB$/o) {
   279 		if (/DEB$/o) {
   280 
   280 
   281 			if($PlatName eq "VS6") {
   281 			if($PlatName eq "VS6") {
   282 				&main::Output(
   282 				&main::Output(
   421 				&main::Output(
   421 				&main::Output(
   422 					" ", &Generic_Quote("\$(EPOCLIB)\\UDEB\\$ExportLibrary.lib"), "\n",
   422 					" ", &Generic_Quote("\$(EPOCLIB)\\UDEB\\$ExportLibrary.lib"), "\n",
   423 					"\n",
   423 					"\n",
   424 					&Generic_Quote("\$(EPOCLIB)\\UDEB\\$ExportLibrary.lib"), " : ",
   424 					&Generic_Quote("\$(EPOCLIB)\\UDEB\\$ExportLibrary.lib"), " : ",
   425 					&Generic_Quote($DefFile), "\n",
   425 					&Generic_Quote($DefFile), "\n",
   426 					"\tperl -w -S prepdef.pl ",&Generic_Quote($DefFile)," \"\$(EPOCBLD)\\$ExportLibrary.prep.def\"\n",
   426 					"\tperl -S prepdef.pl ",&Generic_Quote($DefFile)," \"\$(EPOCBLD)\\$ExportLibrary.prep.def\"\n",
   427 					"\t\$(COMPILER_PATH)$MWLD -msgstyle gcc \"\$(EPOCBLD)\\$ExportLibrary.prep.def\" -importlib -o \$\@",
   427 					"\t\$(COMPILER_PATH)$MWLD -msgstyle gcc \"\$(EPOCBLD)\\$ExportLibrary.prep.def\" -importlib -o \$\@",
   428 					" -addcommand \"out:$LibLinkAs\" -warnings off",
   428 					" -addcommand \"out:$LibLinkAs\" -warnings off",
   429 					"\n"
   429 					"\n"
   430 				);
   430 				);
   431 			} else {
   431 			} else {
   449 		"FREEZE :\n"
   449 		"FREEZE :\n"
   450 	);
   450 	);
   451 	if ($DefFile and $BasicTrgType!~/^IMPLIB$/io) {
   451 	if ($DefFile and $BasicTrgType!~/^IMPLIB$/io) {
   452 		&main::Output(
   452 		&main::Output(
   453 #			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
   453 #			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
   454 			"\tperl -w -S efreeze.pl \$(EFREEZE_ALLOW_REMOVE) \"$DefFile\" \"\$(EPOCBLD)\\$ExportLibrary.def\" \n"
   454 			"\tperl -S efreeze.pl \$(EFREEZE_ALLOW_REMOVE) \"$DefFile\" \"\$(EPOCBLD)\\$ExportLibrary.def\" \n"
   455 		);
   455 		);
   456 	}
   456 	}
   457 	&main::Output(
   457 	&main::Output(
   458 		"\n",
   458 		"\n",
   459 		"CLEANLIBRARY :\n"
   459 		"CLEANLIBRARY :\n"
   681 		"WHAT$Bld : WHATGENERIC\n",
   681 		"WHAT$Bld : WHATGENERIC\n",
   682 		"\n",
   682 		"\n",
   683 		"CLEAN$Bld : CLEANBUILD$Bld CLEANRELEASE$Bld\n",
   683 		"CLEAN$Bld : CLEANBUILD$Bld CLEANRELEASE$Bld\n",
   684 		"\n",
   684 		"\n",
   685 		"CLEANBUILD$Bld : \n",
   685 		"CLEANBUILD$Bld : \n",
   686 		"\t\@perl -w -S ermdir.pl \"\$(EPOCBLD$Bld)\"\n",
   686 		"\t\@perl -S ermdir.pl \"\$(EPOCBLD$Bld)\"\n",
   687 		"\n",
   687 		"\n",
   688 		"CLEANRELEASE$Bld : CLEANGENERIC\n",
   688 		"CLEANRELEASE$Bld : CLEANGENERIC\n",
   689 		"\n"
   689 		"\n"
   690 	);
   690 	);
   691 	&Generic_WhatCleanTargets($Bld, "WHAT$Bld", "CLEANRELEASE$Bld", @releaseables);
   691 	&Generic_WhatCleanTargets($Bld, "WHAT$Bld", "CLEANRELEASE$Bld", @releaseables);
   965 		);
   965 		);
   966 
   966 
   967 #		call makedef to reorder the export information
   967 #		call makedef to reorder the export information
   968 		&main::Output(
   968 		&main::Output(
   969 #			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
   969 #			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
   970 			"\tperl -w -S makedef.pl $AbsentSubst -Inffile \"\$(EPOCBLD$Bld)\\$ExportLibrary.inf\""
   970 			"\tperl -S makedef.pl $AbsentSubst -Inffile \"\$(EPOCBLD$Bld)\\$ExportLibrary.inf\""
   971 		);
   971 		);
   972 		if (SysTrg()) {
   972 		if (SysTrg()) {
   973     			&main::Output( "\t\t-SystemTargetType \\\n" );
   973     			&main::Output( "\t\t-SystemTargetType \\\n" );
   974 	    	}		
   974 	    	}		
   975 		if (-e $DefFile) { # effectively "if project frozen ..."
   975 		if (-e $DefFile) { # effectively "if project frozen ..."