diff options
author | Andy Polyakov <appro@openssl.org> | 2007-04-30 09:22:27 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-04-30 09:22:27 +0000 |
commit | b900df525848eb887bd91ef3e514d88514a3d0aa (patch) | |
tree | 5e47fe88192fcfb1e11084ff5e797613e142bfa6 /crypto | |
parent | a2a54ffc5f3e27a5e12547063b0ebbb4ba30956f (diff) |
Engage s390x assembler modules.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/aes/Makefile | 3 | ||||
-rw-r--r-- | crypto/bn/Makefile | 3 | ||||
-rw-r--r-- | crypto/sha/Makefile | 19 |
3 files changed, 18 insertions, 7 deletions
diff --git a/crypto/aes/Makefile b/crypto/aes/Makefile index 6567784e09..60f2b48a80 100644 --- a/crypto/aes/Makefile +++ b/crypto/aes/Makefile @@ -63,6 +63,9 @@ aes-x86_64.s: asm/aes-x86_64.pl aes-sparcv9.s: asm/aes-sparcv9.pl $(PERL) asm/aes-sparcv9.pl $(CFLAGS) > $@ +# GNU make "catch all" +aes-%.s: asm/aes-%.pl; $(PERL) $< $(CFLAGS) > $@ + files: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO diff --git a/crypto/bn/Makefile b/crypto/bn/Makefile index 3fd08e719a..ffcb42a2c0 100644 --- a/crypto/bn/Makefile +++ b/crypto/bn/Makefile @@ -132,6 +132,9 @@ osx_ppc64-mont.s: asm/ppc-mont.pl; $(PERL) $< $@ alpha-mont.s: asm/alpha-mont.pl $(PERL) $< | $(CC) -E - > $@ +# GNU make "catch all" +%-mont.s: asm/%-mont.pl; $(PERL) $< $(CFLAGS) > $@ + files: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO diff --git a/crypto/sha/Makefile b/crypto/sha/Makefile index 21259e8aee..2068ab4650 100644 --- a/crypto/sha/Makefile +++ b/crypto/sha/Makefile @@ -64,23 +64,28 @@ sha256-ia64.s: asm/sha512-ia64.pl (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS)) sha512-ia64.s: asm/sha512-ia64.pl (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS)) -sha1-x86_64.s: asm/sha1-x86_64.pl - $(PERL) asm/sha1-x86_64.pl $@ -sha256-x86_64.s: asm/sha512-x86_64.pl - $(PERL) asm/sha512-x86_64.pl $@ -sha512-x86_64.s: asm/sha512-x86_64.pl - $(PERL) asm/sha512-x86_64.pl $@ +# Solaris make has to be explicitly told +sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $@ +sha256-x86_64.s:asm/sha512-x86_64.pl; $(PERL) asm/sha512-x86_64.pl $@ +sha512-x86_64.s:asm/sha512-x86_64.pl; $(PERL) asm/sha512-x86_64.pl $@ + +# AIX make has to be explicitly told sha1-ppc_aix32.s: asm/sha1-ppc.pl; $(PERL) asm/sha1-ppc.pl $@ sha1-ppc_aix64.s: asm/sha1-ppc.pl; $(PERL) asm/sha1-ppc.pl $@ sha256-ppc_aix32.s: asm/sha512-ppc.pl; $(PERL) asm/sha512-ppc.pl $@ sha256-ppc_aix64.s: asm/sha512-ppc.pl; $(PERL) asm/sha512-ppc.pl $@ sha512-ppc_aix32.s: asm/sha512-ppc.pl; $(PERL) asm/sha512-ppc.pl $@ sha512-ppc_aix64.s: asm/sha512-ppc.pl; $(PERL) asm/sha512-ppc.pl $@ -# non-AIX targets are believed to be armed with GNU make + +# non-AIX ppc targets are believed to be armed with GNU make sha1-ppc_%.s: asm/sha1-ppc.pl; $(PERL) $< $@ sha256-ppc_%.s: asm/sha512-ppc.pl; $(PERL) $< $@ sha512-ppc_%.s: asm/sha512-ppc.pl; $(PERL) $< $@ +# GNU make "catch all" +sha1-%.s: asm/sha1-%.pl; $(PERL) $< $@ +sha256-%.s: asm/sha512-%.pl; $(PERL) $< $@ +sha512-%.s: asm/sha512-%.pl; $(PERL) $< $@ files: $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |