diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:56:39 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:56:39 +0000 |
commit | 58964a492275ca9a59a0cd9c8155cb2491b4b909 (patch) | |
tree | c7b16876a5789463bbbb468ef4829c8129b3d718 /util/pl/VC-16.pl | |
parent | d02b48c63a58ea4367a0e905979f140b7d090f86 (diff) | |
download | openssl-58964a492275ca9a59a0cd9c8155cb2491b4b909.tar.gz |
Import of old SSLeay release: SSLeay 0.9.0b
Diffstat (limited to 'util/pl/VC-16.pl')
-rw-r--r-- | util/pl/VC-16.pl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/util/pl/VC-16.pl b/util/pl/VC-16.pl index ea3e5932f5..8119f50c2c 100644 --- a/util/pl/VC-16.pl +++ b/util/pl/VC-16.pl @@ -13,6 +13,10 @@ $rm='del'; # C compiler stuff $cc='cl'; +$out_def="out16"; +$tmp_def="tmp16"; +$inc_def="inc16"; + if ($debug) { $op="/Od /Zi /Zd"; @@ -30,11 +34,12 @@ $lflags="$base_lflags /STACK:20000"; if ($win16) { - $cflags.=" -DWIN16"; + $cflags.=" -DWINDOWS -DWIN16"; $app_cflag="/Gw /FPi87"; $lib_cflag="/Gw"; + $lib_cflag.=" -D_WINDLL -D_DLL" if $shlib; $lib_cflag.=" -DWIN16TTY" if !$shlib; - $lflags.=" /ALIGN:16"; + $lflags.=" /ALIGN:256"; $ex_libs.="oldnames llibcewq libw"; } else @@ -51,6 +56,8 @@ if ($shlib) $libs="oldnames ldllcew libw"; $shlib_ex_obj=""; # $no_asm=1; + $out_def="out16dll"; + $tmp_def="tmp16dll"; } else { $mlflags=''; } @@ -106,6 +113,7 @@ sub do_lib_rule $taget =~ s/\//$o/g if $o ne '/'; ($Name=$name) =~ tr/a-z/A-Z/; +# $target="\$(LIB_D)$o$target"; $ret.="$target: $objs\n"; # $ret.="\t\$(RM) \$(O_$Name)\n"; @@ -126,7 +134,7 @@ sub do_lib_rule } else { - local($ex)=($target eq '$(O_SSL)')?'$(L_CRYPTO)':""; + local($ex)=($target =~ /O_SSL/)?'$(L_CRYPTO)':""; $ex.=' winsock'; $ret.="\t\$(LINK) \$(MLFLAGS) @<<\n"; $ret.=$dll_names; |