@@ -519,6 +519,12 @@ my %table=(
519
519
"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",
520
520
"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",
521
521
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
+
522
528
# DJGPP
523
529
"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}::::::::::",
524
530
@@ -570,8 +576,8 @@ my %table=(
570
576
571
577
);
572
578
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 );
575
581
576
582
my $idx = 0;
577
583
my $idx_cc = $idx++;
@@ -940,7 +946,7 @@ print "Configuring for $target\n";
940
946
941
947
&usage if (!defined($table{$target}));
942
948
943
- my $IsWindows =scalar grep /^$target$/,@WinTargets ;
949
+ my $IsMK1MF =scalar grep /^$target$/,@MK1MF_Builds ;
944
950
945
951
$exe_ext=".exe" if ($target eq "Cygwin");
946
952
$exe_ext=".exe" if ($target eq "DJGPP");
@@ -954,7 +960,7 @@ $openssldir=$prefix . "/ssl" if $openssldir eq "";
954
960
$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/;
955
961
956
962
957
- print "IsWindows=$IsWindows \n";
963
+ print "IsMK1MF=$IsMK1MF \n";
958
964
959
965
my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1);
960
966
my $cc = $fields[$idx_cc];
@@ -1502,7 +1508,7 @@ print "RC2 uses u$type[$rc2_int]\n" if $rc2_int != $def_int;
1502
1508
print "BF_PTR used\n" if $bf_ptr == 1;
1503
1509
print "BF_PTR2 used\n" if $bf_ptr == 2;
1504
1510
1505
- if($IsWindows ) {
1511
+ if($IsMK1MF ) {
1506
1512
open (OUT,">crypto/buildinf.h") || die "Can't open buildinf.h";
1507
1513
printf OUT <<EOF;
1508
1514
#ifndef MK1MF_BUILD
@@ -1544,7 +1550,7 @@ EOF
1544
1550
}
1545
1551
1546
1552
# create the ms/version32.rc file if needed
1547
- if ($IsWindows ) {
1553
+ if ($IsMK1MF ) {
1548
1554
my ($v1, $v2, $v3, $v4);
1549
1555
if ($version_num =~ /(^[0-9a-f]{1})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i) {
1550
1556
$v1=hex $1;
0 commit comments