diff options
| author | beck <> | 2002-05-15 02:29:21 +0000 |
|---|---|---|
| committer | beck <> | 2002-05-15 02:29:21 +0000 |
| commit | b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9 (patch) | |
| tree | fa27cf82a1250b64ed3bf5f4a18c7354d470bbcc /src/lib/libcrypto/util/pl | |
| parent | e471e1ea98d673597b182ea85f29e30c97cd08b5 (diff) | |
| download | openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.gz openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.tar.bz2 openbsd-b64270d1e45fe7f3241e4c9b6ce60d5ac89bc2e9.zip | |
OpenSSL 0.9.7 stable 2002 05 08 merge
Diffstat (limited to 'src/lib/libcrypto/util/pl')
| -rw-r--r-- | src/lib/libcrypto/util/pl/BC-16.pl | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/pl/BC-32.pl | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/pl/OS2-EMX.pl | 96 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/pl/VC-16.pl | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/util/pl/VC-32.pl | 9 |
5 files changed, 104 insertions, 11 deletions
diff --git a/src/lib/libcrypto/util/pl/BC-16.pl b/src/lib/libcrypto/util/pl/BC-16.pl index 6c6df4fe0b..2033f524ca 100644 --- a/src/lib/libcrypto/util/pl/BC-16.pl +++ b/src/lib/libcrypto/util/pl/BC-16.pl | |||
| @@ -21,14 +21,14 @@ $lflags="$base_lflags"; | |||
| 21 | if ($win16) | 21 | if ($win16) |
| 22 | { | 22 | { |
| 23 | $shlib=1; | 23 | $shlib=1; |
| 24 | $cflags.=" -DWINDOWS -DWIN16"; | 24 | $cflags.=" -DOPENSSL_SYSNAME_WIN16"; |
| 25 | $app_cflag="-W"; | 25 | $app_cflag="-W"; |
| 26 | $lib_cflag="-WD"; | 26 | $lib_cflag="-WD"; |
| 27 | $lflags.="/Twe"; | 27 | $lflags.="/Twe"; |
| 28 | } | 28 | } |
| 29 | else | 29 | else |
| 30 | { | 30 | { |
| 31 | $cflags.=" -DMSDOS"; | 31 | $cflags.=" -DOENSSL_SYSNAME_MSDOS"; |
| 32 | $lflags.=" /Tde"; | 32 | $lflags.=" /Tde"; |
| 33 | } | 33 | } |
| 34 | 34 | ||
diff --git a/src/lib/libcrypto/util/pl/BC-32.pl b/src/lib/libcrypto/util/pl/BC-32.pl index 20cb3a9c50..78d60616a6 100644 --- a/src/lib/libcrypto/util/pl/BC-32.pl +++ b/src/lib/libcrypto/util/pl/BC-32.pl | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | $ssl= "ssleay32"; | 5 | $ssl= "ssleay32"; |
| 6 | $crypto="libeay32"; | 6 | $crypto="libeay32"; |
| 7 | $RSAref="RSAref32"; | ||
| 8 | 7 | ||
| 9 | $o='\\'; | 8 | $o='\\'; |
| 10 | $cp='copy'; | 9 | $cp='copy'; |
| @@ -19,7 +18,7 @@ $out_def="out32"; | |||
| 19 | $tmp_def="tmp32"; | 18 | $tmp_def="tmp32"; |
| 20 | $inc_def="inc32"; | 19 | $inc_def="inc32"; |
| 21 | #enable max error messages, disable most common warnings | 20 | #enable max error messages, disable most common warnings |
| 22 | $cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN -DDSO_WIN32 "; | 21 | $cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 "; |
| 23 | if ($debug) | 22 | if ($debug) |
| 24 | { | 23 | { |
| 25 | $cflags.="-Od -y -v -vi- -D_DEBUG"; | 24 | $cflags.="-Od -y -v -vi- -D_DEBUG"; |
diff --git a/src/lib/libcrypto/util/pl/OS2-EMX.pl b/src/lib/libcrypto/util/pl/OS2-EMX.pl new file mode 100644 index 0000000000..57180556ca --- /dev/null +++ b/src/lib/libcrypto/util/pl/OS2-EMX.pl | |||
| @@ -0,0 +1,96 @@ | |||
| 1 | #!/usr/local/bin/perl | ||
| 2 | # | ||
| 3 | # OS2-EMX.pl - for EMX GCC on OS/2 | ||
| 4 | # | ||
| 5 | |||
| 6 | $o='\\'; | ||
| 7 | $cp='copy'; | ||
| 8 | $rm='rm -f'; | ||
| 9 | |||
| 10 | # C compiler stuff | ||
| 11 | |||
| 12 | $cc='gcc'; | ||
| 13 | $cflags="-DL_ENDIAN -O3 -fomit-frame-pointer -m486 -Zmt -Wall "; | ||
| 14 | |||
| 15 | if ($debug) { | ||
| 16 | $cflags.="-g "; | ||
| 17 | } | ||
| 18 | |||
| 19 | $obj='.o'; | ||
| 20 | $ofile='-o '; | ||
| 21 | |||
| 22 | # EXE linking stuff | ||
| 23 | $link='${CC}'; | ||
| 24 | $lflags='${CFLAGS} -Zbsd-signals'; | ||
| 25 | $efile='-o '; | ||
| 26 | $exep='.exe'; | ||
| 27 | $ex_libs="-lsocket"; | ||
| 28 | |||
| 29 | # static library stuff | ||
| 30 | $mklib='ar r'; | ||
| 31 | $mlflags=''; | ||
| 32 | $ranlib="ar s"; | ||
| 33 | $plib='lib'; | ||
| 34 | $libp=".a"; | ||
| 35 | $shlibp=".a"; | ||
| 36 | $lfile=''; | ||
| 37 | |||
| 38 | $asm='as'; | ||
| 39 | $afile='-o '; | ||
| 40 | $bn_asm_obj=""; | ||
| 41 | $bn_asm_src=""; | ||
| 42 | $des_enc_obj=""; | ||
| 43 | $des_enc_src=""; | ||
| 44 | $bf_enc_obj=""; | ||
| 45 | $bf_enc_src=""; | ||
| 46 | |||
| 47 | if (!$no_asm) | ||
| 48 | { | ||
| 49 | $bn_asm_obj='crypto\bn\asm\bn-os2.o crypto\bn\asm\co-os2.o'; | ||
| 50 | $bn_asm_src='crypto\bn\asm\bn-os2.asm crypto\bn\asm\co-os2.asm'; | ||
| 51 | $des_enc_obj='crypto\des\asm\d-os2.o crypto\des\asm\y-os2.o'; | ||
| 52 | $des_enc_src='crypto\des\asm\d-os2.asm crypto\des\asm\y-os2.asm'; | ||
| 53 | $bf_enc_obj='crypto\bf\asm\b-os2.o'; | ||
| 54 | $bf_enc_src='crypto\bf\asm\b-os2.asm'; | ||
| 55 | $cast_enc_obj='crypto\cast\asm\c-os2.o'; | ||
| 56 | $cast_enc_src='crypto\cast\asm\c-os2.asm'; | ||
| 57 | $rc4_enc_obj='crypto\rc4\asm\r4-os2.o'; | ||
| 58 | $rc4_enc_src='crypto\rc4\asm\r4-os2.asm'; | ||
| 59 | $rc5_enc_obj='crypto\rc5\asm\r5-os2.o'; | ||
| 60 | $rc5_enc_src='crypto\rc5\asm\r5-os2.asm'; | ||
| 61 | $md5_asm_obj='crypto\md5\asm\m5-os2.o'; | ||
| 62 | $md5_asm_src='crypto\md5\asm\m5-os2.asm'; | ||
| 63 | $sha1_asm_obj='crypto\sha\asm\s1-os2.o'; | ||
| 64 | $sha1_asm_src='crypto\sha\asm\s1-os2.asm'; | ||
| 65 | $rmd160_asm_obj='crypto\ripemd\asm\rm-os2.o'; | ||
| 66 | $rmd160_asm_src='crypto\ripemd\asm\rm-os2.asm'; | ||
| 67 | } | ||
| 68 | |||
| 69 | sub do_lib_rule | ||
| 70 | { | ||
| 71 | local($obj,$target,$name,$shlib)=@_; | ||
| 72 | local($ret,$_,$Name); | ||
| 73 | |||
| 74 | $target =~ s/\//$o/g if $o ne '/'; | ||
| 75 | $target="$target"; | ||
| 76 | ($Name=$name) =~ tr/a-z/A-Z/; | ||
| 77 | |||
| 78 | $ret.="$target: \$(${Name}OBJ)\n"; | ||
| 79 | $ret.="\t\$(RM) $target\n"; | ||
| 80 | $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; | ||
| 81 | $ret.="\t\$(RANLIB) $target\n\n"; | ||
| 82 | } | ||
| 83 | |||
| 84 | sub do_link_rule | ||
| 85 | { | ||
| 86 | local($target,$files,$dep_libs,$libs)=@_; | ||
| 87 | local($ret,$_); | ||
| 88 | |||
| 89 | $file =~ s/\//$o/g if $o ne '/'; | ||
| 90 | $n=&bname($target); | ||
| 91 | $ret.="$target: $files $dep_libs\n"; | ||
| 92 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | ||
| 93 | return($ret); | ||
| 94 | } | ||
| 95 | |||
| 96 | 1; | ||
diff --git a/src/lib/libcrypto/util/pl/VC-16.pl b/src/lib/libcrypto/util/pl/VC-16.pl index a5079d4ca7..7cda5e67a9 100644 --- a/src/lib/libcrypto/util/pl/VC-16.pl +++ b/src/lib/libcrypto/util/pl/VC-16.pl | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | $ssl= "ssleay16"; | 5 | $ssl= "ssleay16"; |
| 6 | $crypto="libeay16"; | 6 | $crypto="libeay16"; |
| 7 | $RSAref="RSAref16"; | ||
| 8 | 7 | ||
| 9 | $o='\\'; | 8 | $o='\\'; |
| 10 | $cp='copy'; | 9 | $cp='copy'; |
| @@ -34,7 +33,7 @@ $lflags="$base_lflags /STACK:20000"; | |||
| 34 | 33 | ||
| 35 | if ($win16) | 34 | if ($win16) |
| 36 | { | 35 | { |
| 37 | $cflags.=" -DWINDOWS -DWIN16"; | 36 | $cflags.=" -DOPENSSL_SYSNAME_WIN16"; |
| 38 | $app_cflag="/Gw /FPi87"; | 37 | $app_cflag="/Gw /FPi87"; |
| 39 | $lib_cflag="/Gw"; | 38 | $lib_cflag="/Gw"; |
| 40 | $lib_cflag.=" -D_WINDLL -D_DLL" if $shlib; | 39 | $lib_cflag.=" -D_WINDLL -D_DLL" if $shlib; |
diff --git a/src/lib/libcrypto/util/pl/VC-32.pl b/src/lib/libcrypto/util/pl/VC-32.pl index 7c6674b971..50bfb34385 100644 --- a/src/lib/libcrypto/util/pl/VC-32.pl +++ b/src/lib/libcrypto/util/pl/VC-32.pl | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | $ssl= "ssleay32"; | 5 | $ssl= "ssleay32"; |
| 6 | $crypto="libeay32"; | 6 | $crypto="libeay32"; |
| 7 | $RSAref="RSAref32"; | ||
| 8 | 7 | ||
| 9 | $o='\\'; | 8 | $o='\\'; |
| 10 | $cp='copy nul+'; # Timestamps get stuffed otherwise | 9 | $cp='copy nul+'; # Timestamps get stuffed otherwise |
| @@ -12,7 +11,7 @@ $rm='del'; | |||
| 12 | 11 | ||
| 13 | # C compiler stuff | 12 | # C compiler stuff |
| 14 | $cc='cl'; | 13 | $cc='cl'; |
| 15 | $cflags=' /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; | 14 | $cflags=' /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; |
| 16 | $lflags="/nologo /subsystem:console /machine:I386 /opt:ref"; | 15 | $lflags="/nologo /subsystem:console /machine:I386 /opt:ref"; |
| 17 | $mlflags=''; | 16 | $mlflags=''; |
| 18 | 17 | ||
| @@ -22,11 +21,11 @@ $inc_def="inc32"; | |||
| 22 | 21 | ||
| 23 | if ($debug) | 22 | if ($debug) |
| 24 | { | 23 | { |
| 25 | $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DWIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; | 24 | $cflags=" /MDd /W3 /WX /Zi /Yd /Od /nologo -DOPENSSL_SYSNAME_WIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DDEBUG -DDSO_WIN32"; |
| 26 | $lflags.=" /debug"; | 25 | $lflags.=" /debug"; |
| 27 | $mlflags.=' /debug'; | 26 | $mlflags.=' /debug'; |
| 28 | } | 27 | } |
| 29 | $cflags .= " -DWINNT" if $NT == 1; | 28 | $cflags .= " -DOPENSSL_SYSNAME_WINNT" if $NT == 1; |
| 30 | 29 | ||
| 31 | $obj='.obj'; | 30 | $obj='.obj'; |
| 32 | $ofile="/Fo"; | 31 | $ofile="/Fo"; |
| @@ -92,7 +91,7 @@ if ($shlib) | |||
| 92 | { | 91 | { |
| 93 | $mlflags.=" $lflags /dll"; | 92 | $mlflags.=" $lflags /dll"; |
| 94 | # $cflags =~ s| /MD| /MT|; | 93 | # $cflags =~ s| /MD| /MT|; |
| 95 | $lib_cflag=" /GD -D_WINDLL -D_DLL"; | 94 | $lib_cflag=" -D_WINDLL -D_DLL"; |
| 96 | $out_def="out32dll"; | 95 | $out_def="out32dll"; |
| 97 | $tmp_def="tmp32dll"; | 96 | $tmp_def="tmp32dll"; |
| 98 | } | 97 | } |
