From: Dr. Stephen Henson Date: Tue, 22 Feb 2011 17:02:14 +0000 (+0000) Subject: Make mkfiles.pl work with fipscanisteronly. X-Git-Tag: OpenSSL-fips-2_0-rc1~703 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=227d6a9347d4c94ff1bb0a91191a33ec18e682e3;ds=sidebyside Make mkfiles.pl work with fipscanisteronly. --- diff --git a/util/mkfiles.pl b/util/mkfiles.pl index 2d77a82b0c..66b78f417d 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; + } }