BC-32.pl updates.

Submitted by: Old Wolf, Jon Bright
This commit is contained in:
Andy Polyakov 2005-09-20 07:05:32 +00:00
parent 9ddeefe39d
commit f5204c61fb

View File

@ -18,7 +18,7 @@ $out_def="out32";
$tmp_def="tmp32"; $tmp_def="tmp32";
$inc_def="inc32"; $inc_def="inc32";
#enable max error messages, disable most common warnings #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=stricmp "; $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=strnicmp ";
if ($debug) if ($debug)
{ {
$cflags.="-Od -y -v -vi- -D_DEBUG"; $cflags.="-Od -y -v -vi- -D_DEBUG";
@ -106,9 +106,13 @@ sub do_lib_rule
$ret.="$target: $objs\n"; $ret.="$target: $objs\n";
if (!$shlib) if (!$shlib)
{ {
# $ret.="\t\$(RM) \$(O_$Name)\n"; $ret.=<<___;
$ret.="\techo LIB $<\n"; -\$(RM) $lfile$target
$ret.="\t&\$(MKLIB) $lfile$target -+\$**\n"; \$(MKLIB) $lfile$target \@&&!
+\$(**: = &^
+)
!
___
} }
else else
{ {