X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=util%2Fmkfiles.pl;h=268acadb6292261936a6730fcc1fb956cc7996ed;hp=8bfbcae255f1c84abba728ec322c9c021c413ea5;hb=0bc09ecd263acb25f04f373f31a50f50af8541bb;hpb=18f3385dea1aa52df13c6524ab9762d946a6eb70 diff --git a/util/mkfiles.pl b/util/mkfiles.pl index 8bfbcae255..268acadb62 100755 --- a/util/mkfiles.pl +++ b/util/mkfiles.pl @@ -58,11 +58,11 @@ my @dirs = ( "crypto/engine", "crypto/ocsp", "crypto/ui", -"crypto/krb5", #"crypto/store", "crypto/pqueue", "crypto/whrlpool", "crypto/ts", +"crypto/srp", "ssl", "apps", "engines", @@ -73,7 +73,10 @@ my @dirs = ( %top; +my $fipscanisteronly = 0; + foreach (@dirs) { + next if ($fipscanisteronly && !(-d $_)); &files_dir ($_, "Makefile"); } @@ -93,7 +96,7 @@ while () { chop; s/#.*//; - if (/^(\S+)\s*=\s*(.*)$/) + if (/^([^\s=]+)\s*=\s*(.*)$/) { $o=""; ($s,$b)=($1,$2); @@ -139,4 +142,8 @@ if ($dir eq "." && defined($sym{"BUILDENV"})) print "RELATIVE_DIRECTORY=\n"; close (IN); +if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y") + { + $fipscanisteronly = 1; + } }