projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support -L options in VC++ link.
[oweals/openssl.git]
/
util
/
pl
/
BC-32.pl
diff --git
a/util/pl/BC-32.pl
b/util/pl/BC-32.pl
index e83b3361908f9ae23ba577074e94ad9d2f1a1c8b..99b8c058d2c4153a71f7c2a9bfaa0e2a329ce513 100644
(file)
--- a/
util/pl/BC-32.pl
+++ b/
util/pl/BC-32.pl
@@
-18,7
+18,7
@@
$out_def="out32";
$tmp_def="tmp32";
$inc_def="inc32";
#enable max error messages, disable most common warnings
$tmp_def="tmp32";
$inc_def="inc32";
#enable max error messages, disable most common warnings
-$cflags="-DWIN32_LEAN_AND_MEAN -q -w-
aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=str
icmp ";
+$cflags="-DWIN32_LEAN_AND_MEAN -q -w-
ccc -w-rch -w-pia -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp -D_strnicmp=strn
icmp ";
if ($debug)
{
$cflags.="-Od -y -v -vi- -D_DEBUG";
if ($debug)
{
$cflags.="-Od -y -v -vi- -D_DEBUG";
@@
-51,7
+51,7
@@
$lfile='';
$shlib_ex_obj="";
$app_ex_obj="c0x32.obj";
$shlib_ex_obj="";
$app_ex_obj="c0x32.obj";
-$asm='nasmw -f obj';
+$asm='nasmw -f obj
-d__omf__
';
$asm.=" /Zi" if $debug;
$afile='-o';
$asm.=" /Zi" if $debug;
$afile='-o';
@@
-106,9
+106,13
@@
sub do_lib_rule
$ret.="$target: $objs\n";
if (!$shlib)
{
$ret.="$target: $objs\n";
if (!$shlib)
{
- # $ret.="\t\$(RM) \$(O_$Name)\n";
- $ret.="\techo LIB $<\n";
- $ret.="\t&\$(MKLIB) $lfile$target -+\$**\n";
+ $ret.=<<___;
+ -\$(RM) $lfile$target
+ \$(MKLIB) $lfile$target \@&&!
++\$(**: = &^
++)
+!
+___
}
else
{
}
else
{