BC-32.pl updates [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Tue, 20 Sep 2005 07:14:38 +0000 (07:14 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 20 Sep 2005 07:14:38 +0000 (07:14 +0000)
Submitted by: Old Wolf, Jon Bright

util/pl/BC-32.pl

index 9de2d417d91097123830ac7aa356084e9c1f65ca..28869c868dfbb69ae0ccdf438bc8c8f2e2329964 100644 (file)
@@ -18,7 +18,7 @@ $out_def="out32";
 $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=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)
 {
     $cflags.="-Od -y -v -vi- -D_DEBUG";
@@ -106,9 +106,13 @@ sub do_lib_rule
        $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
                {