diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-11 19:02:34 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-11 19:02:34 +0000 |
commit | 30b56225ccff9067ac5a5e49643d52d1e979cb24 (patch) | |
tree | bb00e129de533af406153c3d905f25e561021b65 /Configure | |
parent | dc527a62a11b1a9a4078f5b1d966b55310bf4a4c (diff) |
New "fispcanisteronly" build option: only build fipscanister.o and
associated utilities. This functionality will be used by the validated
tarball.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -654,6 +654,7 @@ my $fipslibdir="/usr/local/ssl/fips-2.0/lib/"; my $nofipscanistercheck=0; my $fipsdso=0; my $fipscanisterinternal="n"; +my $fipscanisteronly = 0; my $baseaddr="0xFB00000"; my $no_threads=0; my $threads=0; @@ -851,6 +852,14 @@ PROCESS_ARGS: $fips = 1; $nofipscanistercheck = 1; } + elsif (/^fipscanisteronly$/) + { + $fips = 1; + $nofipscanistercheck = 1; + $fipslibdir=""; + $fipscanisterinternal="y"; + $fipscanisteronly = 1; + } elsif (/^fipscanisterbuild$/) { $fips = 1; @@ -1565,7 +1574,9 @@ if ($strict_warnings) } } -open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; +my $mforg = $fipscanisteronly ? "Makefile.fips" : "Makefile.org"; + +open(IN,"<$mforg") || die "unable to read $mforg:$!\n"; unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; print OUT "### Generated automatically from Makefile.org by Configure.\n\n"; |