Skip to content

Commit 4d8743f

Browse files
committed
Netware-specific changes,
PR: 780 Submitted by: Verdon Walker <[email protected]> Reviewed by: Richard Levitte
1 parent 4c8b4f9 commit 4d8743f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3490
-43
lines changed

Configure

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,12 @@ my %table=(
519519
"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32:cygwin-shared:::.dll",
520520
"debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:::CYGWIN32::::win32:cygwin-shared:::.dll",
521521

522+
# NetWare from David Ward ([email protected]) - requires MetroWerks NLM development tools
523+
# netware-clib => legacy CLib c-runtime support
524+
"netware-clib", "mwccnlm:::::${x86_gcc_opts}:::",
525+
# netware-libc => LibC/NKS support
526+
"netware-libc", "mwccnlm:::::BN_LLONG ${x86_gcc_opts}:::",
527+
522528
# DJGPP
523529
"DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::",
524530

@@ -570,8 +576,8 @@ my %table=(
570576

571577
);
572578

573-
my @WinTargets=qw(VC-NT VC-CE VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS
574-
BC-32 BC-16 Mingw32 OS2-EMX);
579+
my @MK1MF_Builds=qw(VC-NT VC-CE VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS
580+
BC-32 BC-16 Mingw32 OS2-EMX netware-clib netware-libc);
575581

576582
my $idx = 0;
577583
my $idx_cc = $idx++;
@@ -940,7 +946,7 @@ print "Configuring for $target\n";
940946

941947
&usage if (!defined($table{$target}));
942948

943-
my $IsWindows=scalar grep /^$target$/,@WinTargets;
949+
my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds;
944950

945951
$exe_ext=".exe" if ($target eq "Cygwin");
946952
$exe_ext=".exe" if ($target eq "DJGPP");
@@ -954,7 +960,7 @@ $openssldir=$prefix . "/ssl" if $openssldir eq "";
954960
$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/;
955961

956962

957-
print "IsWindows=$IsWindows\n";
963+
print "IsMK1MF=$IsMK1MF\n";
958964

959965
my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1);
960966
my $cc = $fields[$idx_cc];
@@ -1502,7 +1508,7 @@ print "RC2 uses u$type[$rc2_int]\n" if $rc2_int != $def_int;
15021508
print "BF_PTR used\n" if $bf_ptr == 1;
15031509
print "BF_PTR2 used\n" if $bf_ptr == 2;
15041510

1505-
if($IsWindows) {
1511+
if($IsMK1MF) {
15061512
open (OUT,">crypto/buildinf.h") || die "Can't open buildinf.h";
15071513
printf OUT <<EOF;
15081514
#ifndef MK1MF_BUILD
@@ -1544,7 +1550,7 @@ EOF
15441550
}
15451551

15461552
# create the ms/version32.rc file if needed
1547-
if ($IsWindows) {
1553+
if ($IsMK1MF) {
15481554
my ($v1, $v2, $v3, $v4);
15491555
if ($version_num =~ /(^[0-9a-f]{1})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i) {
15501556
$v1=hex $1;

INSTALL

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
INSTALLATION ON THE UNIX PLATFORM
33
---------------------------------
44

5-
[Installation on DOS (with djgpp), Windows, OpenVMS and MacOS (before MacOS X)
6-
is described in INSTALL.DJGPP, INSTALL.W32, INSTALL.VMS and INSTALL.MacOS.
5+
[Installation on DOS (with djgpp), Windows, OpenVMS, MacOS (before MacOS X)
6+
and NetWare is described in INSTALL.DJGPP, INSTALL.W32, INSTALL.VMS,
7+
INSTALL.MacOS and INSTALL.NW.
8+
79
This document describes installation on operating systems in the Unix
810
family.]
911

0 commit comments

Comments
 (0)