projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove generation of ms/version32.rc from Configure, use util/mkrc.pl
[openssl.git]
/
util
/
mkfiles.pl
diff --git
a/util/mkfiles.pl
b/util/mkfiles.pl
index 853f69c0eb00819287c1006f19a4629f3e2738cc..0e4f71e04dcadc5a71f8325dc18ce301d0a758ff 100755
(executable)
--- a/
util/mkfiles.pl
+++ b/
util/mkfiles.pl
@@
-26,14
+26,14
@@
my @dirs = (
"crypto/aes",
"crypto/camellia",
"crypto/seed",
"crypto/aes",
"crypto/camellia",
"crypto/seed",
+"crypto/modes",
+"crypto/cmac",
"crypto/bn",
"crypto/rsa",
"crypto/dsa",
"crypto/dso",
"crypto/dh",
"crypto/ec",
"crypto/bn",
"crypto/rsa",
"crypto/dsa",
"crypto/dso",
"crypto/dh",
"crypto/ec",
-"crypto/ecdh",
-"crypto/ecdsa",
"crypto/buffer",
"crypto/bio",
"crypto/stack",
"crypto/buffer",
"crypto/bio",
"crypto/stack",
@@
-48,7
+48,6
@@
my @dirs = (
"crypto/x509v3",
"crypto/cms",
"crypto/conf",
"crypto/x509v3",
"crypto/cms",
"crypto/conf",
-"crypto/jpake",
"crypto/txt_db",
"crypto/pkcs7",
"crypto/pkcs12",
"crypto/txt_db",
"crypto/pkcs7",
"crypto/pkcs12",
@@
-56,22
+55,29
@@
my @dirs = (
"crypto/engine",
"crypto/ocsp",
"crypto/ui",
"crypto/engine",
"crypto/ocsp",
"crypto/ui",
-"crypto/krb5",
#"crypto/store",
#"crypto/store",
-"crypto/pqueue",
"crypto/whrlpool",
"crypto/ts",
"crypto/whrlpool",
"crypto/ts",
+"crypto/srp",
+"crypto/ct",
+"crypto/async",
+"crypto/chacha",
+"crypto/poly1305",
+"crypto/blake2",
+"crypto/kdf",
"ssl",
"apps",
"engines",
"ssl",
"apps",
"engines",
-"engines/ccgost",
"test",
"tools"
);
%top;
"test",
"tools"
);
%top;
+my $fipscanisteronly = 0;
+
foreach (@dirs) {
foreach (@dirs) {
+ next if ($fipscanisteronly && !(-d $_));
&files_dir ($_, "Makefile");
}
&files_dir ($_, "Makefile");
}
@@
-89,9
+95,9
@@
my $s="";
while (<IN>)
{
while (<IN>)
{
-
chop
;
+
s|\R$||
;
s/#.*//;
s/#.*//;
- if (/^(
\S
+)\s*=\s*(.*)$/)
+ if (/^(
[^\s=]
+)\s*=\s*(.*)$/)
{
$o="";
($s,$b)=($1,$2);
{
$o="";
($s,$b)=($1,$2);
@@
-99,10
+105,10
@@
while (<IN>)
{
if ($b =~ /\\$/)
{
{
if ($b =~ /\\$/)
{
-
chop($b)
;
+
$b=$`
;
$o.=$b." ";
$o.=$b." ";
- $b
=<IN>
;
-
chop($b)
;
+ $b
= "" unless defined($b = <IN>)
;
+
$b =~ s{\R$}{}
;
}
else
{
}
else
{
@@
-137,4
+143,8
@@
if ($dir eq "." && defined($sym{"BUILDENV"}))
print "RELATIVE_DIRECTORY=\n";
close (IN);
print "RELATIVE_DIRECTORY=\n";
close (IN);
+if ($dir eq "." && $sym{FIPSCANISTERONLY} eq "y")
+ {
+ $fipscanisteronly = 1;
+ }
}
}