winemaker: Remove some unused variables.

This commit is contained in:
André Hentschel 2011-11-19 19:41:51 +01:00 committed by Alexandre Julliard
parent b40c5f2d2c
commit 289ca97930
1 changed files with 0 additions and 7 deletions

View File

@ -1001,10 +1001,6 @@ sub source_scan_project_file($$$)
} }
} }
my @local_dlls=();
my @local_depends=();
my @exe_list=();
# Create the target... # Create the target...
my $target=[]; my $target=[];
target_init($target); target_init($target);
@ -1012,13 +1008,10 @@ sub source_scan_project_file($$$)
if ($prj_target_type!=$TT_DLL) { if ($prj_target_type!=$TT_DLL) {
$prj_name=lc($prj_name.".exe"); $prj_name=lc($prj_name.".exe");
@$target[$T_TYPE]=$opt_target_type; @$target[$T_TYPE]=$opt_target_type;
push @exe_list,$target;
push @{@$target[$T_LDFLAGS]},(@$target[$T_TYPE] == $TT_CUIEXE ? "-mconsole" : "-mwindows"); push @{@$target[$T_LDFLAGS]},(@$target[$T_TYPE] == $TT_CUIEXE ? "-mconsole" : "-mwindows");
} else { } else {
$prj_name=lc($prj_name.".dll"); $prj_name=lc($prj_name.".dll");
@$target[$T_TYPE]=$TT_DLL; @$target[$T_TYPE]=$TT_DLL;
push @local_depends,"$prj_name.so";
push @local_dlls,$prj_name;
my $canon=canonize($prj_name); my $canon=canonize($prj_name);
if (@$project_settings[$T_FLAGS] & $TF_HASDEF) { if (@$project_settings[$T_FLAGS] & $TF_HASDEF) {
push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.def)"); push @{@$target[$T_LDFLAGS]},("-shared","\$(${canon}_MODULE:.dll=.def)");