summaryrefslogtreecommitdiffstats
path: root/crypto/sha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha/Makefile')
-rw-r--r--crypto/sha/Makefile34
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) ) > $@