diff options
author | Andy Polyakov <appro@openssl.org> | 2008-01-11 13:15:11 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2008-01-11 13:15:11 +0000 |
commit | fa8e921f6627e2b9e0a8b11f5a0bfcc2e7e0190c (patch) | |
tree | 392466f1b00fb43e3116560ffa1d34245c968c37 /crypto/sha | |
parent | 4287ade5b451c94337f4b0fe842acd96fe0b97f5 (diff) |
Unify x86 perlasm make rules.
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/Makefile | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/crypto/sha/Makefile b/crypto/sha/Makefile index 16f50ad6aa..fc69e5e664 100644 --- a/crypto/sha/Makefile +++ b/crypto/sha/Makefile @@ -42,34 +42,12 @@ lib: $(LIBOBJ) $(RANLIB) $(LIB) || echo Never mind. @touch lib -# ELF -sx86-elf.s: asm/sha1-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha1-586.pl elf $(CFLAGS) $(PROCESSOR) > ../$@) -sha256x86-elf.s: asm/sha256-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha256-586.pl elf $(CFLAGS) $(PROCESSOR) > ../$@) -sha512x86-elf.s: asm/sha512-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha512-586.pl elf $(CFLAGS) $(PROCESSOR) > ../$@) -# COFF -sx86-cof.s: asm/sha1-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha1-586.pl coff $(CFLAGS) $(PROCESSOR) > ../$@) -sha256x86-cof.s: asm/sha256-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha256-586.pl coff $(CFLAGS) $(PROCESSOR) > ../$@) -sha512x86-cof.s: asm/sha512-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha512-586.pl coff $(CFLAGS) $(PROCESSOR) > ../$@) -# a.out -sx86-out.s: asm/sha1-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha1-586.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@) -sha256x86-out.s: asm/sha256-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha256-586.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@) -sha512x86-out.s: asm/sha512-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha512-586.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@) - -sx86-macosx.s: asm/sha1-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha1-586.pl macosx $(CFLAGS) $(PROCESSOR) > ../$@) -sha256x86-macosx.s: asm/sha256-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha256-586.pl macosx $(CFLAGS) $(PROCESSOR) > ../$@) -sha512x86-macosx.s: asm/sha512-586.pl ../perlasm/x86asm.pl - (cd asm; $(PERL) sha512-586.pl macosx $(CFLAGS) $(PROCESSOR) > ../$@) +sha1-586.s: asm/sha1-586.pl ../perlasm/x86asm.pl + $(PERL) asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ +sha256-586.s: asm/sha256-586.pl ../perlasm/x86asm.pl + $(PERL) asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ +sha512-586.s: asm/sha512-586.pl ../perlasm/x86asm.pl + $(PERL) asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ sha1-ia64.s: asm/sha1-ia64.pl (cd asm; $(PERL) sha1-ia64.pl $(CFLAGS) ) > $@ |