Get OPENSSL_FIPSSYMS from environment in fipsas.pl, include ppccap.c and .S
[openssl.git] / util / fipsdist.pl
index f660c20412ada9168d5a4b4c0649390b20733f6f..162f5d59449c4f275195890f0c72e97e36484ce2 100644 (file)
@@ -16,6 +16,8 @@ my @objlist = split / /, $objs;
 foreach (@objlist) { $tarobjs{"$1.c"} = 1 if /([^\/]+).o$/};
 
 $tarobjs{"ncbc_enc.c"} = 1;
+$tarobjs{"mem_clr.c"} = 1;
+$tarobjs{"ppccap.c"} = 1;
 
 foreach (split / /, $ENV{LINKDIRS} ) { $cdirs{$_} = 1 };
 
@@ -56,7 +58,7 @@ while (<STDIN>)
                # Skip unused directories under crypto/
                next if -d "crypto/$1" && !exists $cdirs{$1};
                # Keep assembly language dir, Makefile or certain extensions
-               if (!/\/asm\// && !/\/Makefile$/ && !/\.(in|pl|h)$/)
+               if (!/\/asm\// && !/\/Makefile$/ && !/\.(in|pl|h|S)$/)
                        {
                        # If C source file must be on list.
                        next if !/(\w+\.c)$/ || !exists $tarobjs{$1};