summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-28 23:18:51 +0000
committerBodo Möller <bodo@openssl.org>1999-05-28 23:18:51 +0000
commit436a376bb048453990e19eb236ffff4ebfcd42ad (patch)
treec75eee2e686ab13aaac5e0ca043c6f18622043d8 /Configure
parent2e36cc41ef24b3f25a1524ba628f3ffbc2a10766 (diff)
Some assembler-related clean-ups.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure37
1 files changed, 37 insertions, 0 deletions
diff --git a/Configure b/Configure
index 12b25f1c53..22afe77ac5 100755
--- a/Configure
+++ b/Configure
@@ -367,6 +367,14 @@ foreach (@ARGV)
$options .= $_ unless $_ eq $target;
}
+if ($target eq "TABLE") {
+ foreach $target (sort keys %table) {
+ print_table_entry($target);
+ }
+ print "\n";
+ exit 0;
+}
+
&usage if (!defined($table{$target}));
my $IsWindows=scalar grep /^$target$/,@WinTargets;
@@ -757,3 +765,32 @@ sub dofile
rename($f,"$ff.bak") || die "unable to rename $f\n" if -e $f;
rename("$ff.new",$f) || die "unable to rename $ff.new\n";
}
+
+sub print_table_entry
+ {
+ my $target = shift;
+
+ (my $cc,my $cflags,my $thread_cflag,my $lflags,my $bn_ops,
+ my $bn_obj,my $des_obj,my $bf_obj,
+ $md5_obj,$sha1_obj,my $cast_obj,my $rc4_obj,$rmd160_obj,my $rc5_obj)=
+ split(/\s*:\s*/,$table{$target} . ":" x 20 , -1);
+
+ print <<EOF
+
+*** $target
+\$cc = $cc
+\$cflags = $cflags
+\$thread_cflag = $thread_cflag
+\$lflags = $lflags
+\$bn_ops = $bn_ops
+\$bn_obj = $bn_obj
+\$des_obj = $des_obj
+\$bf_obj = $bf_obj
+\$md5_obj = $md5_obj
+\$sha1_obj = $sha1_obj
+\$cast_obj = $cast_obj
+\$rc4_obj = $rc4_obj
+\$rmd160_obj = $rmd160_obj
+\$rc5_obj = $rc5_obj
+EOF
+ }