diff options
author | Rich Salz <rsalz@openssl.org> | 2016-03-17 12:53:11 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-17 17:06:57 -0400 |
commit | 1fbab1dc6fcb14f512a40c5755708a8bcbf84f40 (patch) | |
tree | a54f0b0b24b2a5af56e3f3e533e0a5c7063266bd /util/mkdef.pl | |
parent | 014267f68ce98cfe61df4574552043fbbd144a1f (diff) | |
download | openssl-1fbab1dc6fcb14f512a40c5755708a8bcbf84f40.tar.gz |
Remove Netware and OS/2
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'util/mkdef.pl')
-rwxr-xr-x | util/mkdef.pl | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/util/mkdef.pl b/util/mkdef.pl index 4578c9afc2..ec1907890f 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -61,7 +61,6 @@ my $VMSNonVAX=0; my $VMS=0; my $W32=0; my $NT=0; -my $OS2=0; my $linux=0; # Set this to make typesafe STACK definitions appear in DEF my $safe_stack_def = 0; @@ -155,7 +154,6 @@ foreach (@ARGV, split(/ /, $config{options})) $linux=1; } $VMS=$VMSNonVAX=1 if $_ eq "VMS"; - $OS2=1 if $_ eq "OS2"; if ($_ eq "zlib" || $_ eq "enable-zlib" || $_ eq "zlib-dynamic" || $_ eq "enable-zlib-dynamic") { $zlib = 1; @@ -212,11 +210,11 @@ if (!$libname) { } # If no platform is given, assume WIN32 -if ($W32 + $VMS + $OS2 + $linux == 0) { +if ($W32 + $VMS + $linux == 0) { $W32 = 1; } die "Please, only one platform at a time" - if ($W32 + $VMS + $OS2 + $linux > 1); + if ($W32 + $VMS + $linux > 1); if (!$do_ssl && !$do_crypto) { @@ -1113,7 +1111,6 @@ sub is_valid if ($keyword eq "VMS" && $VMS) { return 1; } if ($keyword eq "WIN32" && $W32) { return 1; } if ($keyword eq "WINNT" && $NT) { return 1; } - if ($keyword eq "OS2" && $OS2) { return 1; } # Special platforms: # EXPORT_VAR_AS_FUNCTION means that global variables # will be represented as functions. This currently @@ -1202,22 +1199,8 @@ sub print_def_file if ($W32) { $libname.="32"; } - elsif ($OS2) - { # DLL names should not clash on the whole system. - # However, they should not have any particular relationship - # to the name of the static library. Chose descriptive names - # (must be at most 8 chars). - my %translate = (ssl => 'open_ssl', crypto => 'cryptssl'); - $libname = $translate{$name} || $name; - $liboptions = <<EOO; -INITINSTANCE -DATA MULTIPLE NONSHARED -EOO - # Vendor field can't contain colon, drat; so we omit http:// - $description = "\@#$http_vendor:$version#\@$what; DLL for library $name. Build for EMX -Zmtd"; - } - if ($W32 || $OS2) + if ($W32) { print OUT <<"EOF"; ; @@ -1329,12 +1312,12 @@ EOF } print OUT $symline; $symvtextcount += length($symline) - 2; - } elsif($v && !$OS2) { + } elsif($v) { printf OUT " %s%-39s @%-8d DATA\n", ($W32)?"":"_",$s2,$n; } else { printf OUT " %s%-39s @%d\n", - ($W32||$OS2)?"":"_",$s2,$n; + ($W32)?"":"_",$s2,$n; } } } |