diff options
author | steve <steve> | 2011-01-26 01:35:07 +0000 |
---|---|---|
committer | steve <steve> | 2011-01-26 01:35:07 +0000 |
commit | 7fe38c31c6578b6f0ece9f96fb94664ba28c628b (patch) | |
tree | 3bba38c1423125d5191c9b73b190a82f0c34f4f2 /util | |
parent | 9d62068dd3df5a6e26165e85168eb1d101594f55 (diff) | |
download | openssl-7fe38c31c6578b6f0ece9f96fb94664ba28c628b.tar.gz |
update mkerr.pl for use fips directory, add arx.pl script
Diffstat (limited to 'util')
-rw-r--r-- | util/arx.pl | 15 | ||||
-rw-r--r-- | util/mkerr.pl | 3 |
2 files changed, 17 insertions, 1 deletions
diff --git a/util/arx.pl b/util/arx.pl new file mode 100644 index 000000000..ce62625c3 --- /dev/null +++ b/util/arx.pl @@ -0,0 +1,15 @@ +#!/bin/perl + +# Simple perl script to wrap round "ar" program and exclude any +# object files in the environment variable EXCL_OBJ + +map { s/^.*\/([^\/]*)$/$1/ ; $EXCL{$_} = 1} split(' ', $ENV{EXCL_OBJ}); + +#my @ks = keys %EXCL; +#print STDERR "Excluding: @ks \n"; + +my @ARGS = grep { !exists $EXCL{$_} } @ARGV; + +system @ARGS; + +exit $? >> 8; diff --git a/util/mkerr.pl b/util/mkerr.pl index 15b774f27..5dd89582c 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -115,7 +115,8 @@ EOF } if($recurse) { - @source = (<crypto/*.c>, <crypto/*/*.c>, <ssl/*.c>); + @source = ( <crypto/*.c>, <crypto/*/*.c>, <ssl/*.c>, + <fips/*.c>, <fips/*/*.c>); } else { @source = @ARGV; } |