diff options
author | Andy Polyakov <appro@openssl.org> | 2016-03-08 09:46:19 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-03-08 15:51:06 +0100 |
commit | eb77e8886df84526f42f566632be71d4ed373308 (patch) | |
tree | 1b00377caae997512838c8e532e7a6c662847162 /crypto/md5 | |
parent | b76998b86c3f63bea7f8b85c8b62fda91fb8f4b7 (diff) | |
download | openssl-eb77e8886df84526f42f566632be71d4ed373308.tar.gz |
SPARCv9 assembly pack: unify build rules and argument handling.
Make all scripts produce .S, make interpretation of $(CFLAGS)
pre-processor's responsibility, start accepting $(PERLASM_SCHEME).
[$(PERLASM_SCHEME) is redundant in this case, because there are
no deviataions between Solaris and Linux assemblers. This is
purely to unify .pl->.S handling across all targets.]
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/md5')
-rw-r--r-- | crypto/md5/Makefile.in | 2 | ||||
-rw-r--r-- | crypto/md5/asm/md5-sparcv9.pl | 2 | ||||
-rw-r--r-- | crypto/md5/build.info | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md5/Makefile.in b/crypto/md5/Makefile.in index aec94b6d6b..625bdc8a10 100644 --- a/crypto/md5/Makefile.in +++ b/crypto/md5/Makefile.in @@ -50,7 +50,7 @@ md5-ia64.s: asm/md5-ia64.S $(PERL) -ne 's/;\s+/;\n/g; print;' > $@ md5-sparcv9.S: asm/md5-sparcv9.pl - $(PERL) asm/md5-sparcv9.pl $@ $(CFLAGS) + $(PERL) asm/md5-sparcv9.pl $(PERLASM_SCHEME) $@ files: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO diff --git a/crypto/md5/asm/md5-sparcv9.pl b/crypto/md5/asm/md5-sparcv9.pl index 47a66c584e..1c4ae5200b 100644 --- a/crypto/md5/asm/md5-sparcv9.pl +++ b/crypto/md5/asm/md5-sparcv9.pl @@ -17,7 +17,7 @@ # single-process result on 8-core processor, or ~11GBps per 2.85GHz # socket. -$output=shift; +$output=pop; open STDOUT,">$output"; use integer; diff --git a/crypto/md5/build.info b/crypto/md5/build.info index 09f417c68f..6a04f37cfc 100644 --- a/crypto/md5/build.info +++ b/crypto/md5/build.info @@ -14,5 +14,5 @@ BEGINRAW[Makefile] $(PERL) -ne 's/;\s+/;\n/g; print;' > $@ {- $builddir -}/md5-sparcv9.S: {- $sourcedir -}/asm/md5-sparcv9.pl - CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS) + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $(PERLASM_SCHEME) $@ ENDRAW[Makefile] |