aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-22 17:02:14 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-22 17:02:14 +0000
commit227d6a9347d4c94ff1bb0a91191a33ec18e682e3 (patch)
tree6bca7fb1c2593ee3fdeb7eeaecd173e277d9459d
parentf6e76a67f0319413fa84917e615ed52b122c5265 (diff)
downloadopenssl-227d6a9347d4c94ff1bb0a91191a33ec18e682e3.zip
openssl-227d6a9347d4c94ff1bb0a91191a33ec18e682e3.tar.gz
openssl-227d6a9347d4c94ff1bb0a91191a33ec18e682e3.tar.bz2
Make mkfiles.pl work with fipscanisteronly.
-rwxr-xr-xutil/mkfiles.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/mkfiles.pl b/util/mkfiles.pl
index 2d77a82..66b78f4 100755
--- a/util/mkfiles.pl
+++ b/util/mkfiles.pl
@@ -84,7 +84,10 @@ my @dirs = (
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
@@ -150,4 +153,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{CONFIGURE_ARGS} =~ /fipscanisteronly/)
+ {
+ $fipscanisteronly = 1;
+ }
}