2016-01-29 22:33:10 +00:00
|
|
|
LIBS=../../libcrypto
|
|
|
|
SOURCE[../../libcrypto]=\
|
|
|
|
sha1dgst.c sha1_one.c sha256.c sha512.c {- $target{sha1_asm_src} -}
|
2016-01-30 02:25:40 +00:00
|
|
|
|
2016-03-07 14:49:53 +00:00
|
|
|
GENERATE[sha1-586.s]=asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
|
|
|
|
DEPEND[sha1-586.s]=../perlasm/x86asm.pl
|
|
|
|
GENERATE[sha256-586.s]=asm/sha256-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
|
|
|
|
DEPEND[sha256-586.s]=../perlasm/x86asm.pl
|
|
|
|
GENERATE[sha512-586.s]=asm/sha512-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
|
|
|
|
DEPEND[sha512-586.s]=../perlasm/x86asm.pl
|
|
|
|
|
|
|
|
GENERATE[sha1-ia64.s]=sha1-ia64.pl $(CFLAGS)
|
|
|
|
GENERATE[sha256-ia64.s]=sha512-ia64.pl $(CFLAGS)
|
|
|
|
GENERATE[sha512-ia64.s]=sha512-ia64.pl $(CFLAGS)
|
|
|
|
|
|
|
|
GENERATE[sha256-armv4.S]=asm/sha256-armv4.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[sha1-alpha.s]=asm/sha1-alpha.pl
|
|
|
|
|
|
|
|
GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha1-mb-x86_64.s]=asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256-mb-x86_64.s]=asm/sha256-mb-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha512-x86_64.s]=asm/sha512-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[sha1-sparcv9.o]=..
|
2016-03-07 14:49:53 +00:00
|
|
|
GENERATE[sha256-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[sha256-sparcv9.o]=..
|
2016-03-07 14:49:53 +00:00
|
|
|
GENERATE[sha512-sparcv9.S]=asm/sha512-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[sha512-sparcv9.o]=..
|
2016-03-07 14:49:53 +00:00
|
|
|
|
|
|
|
GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha512-ppc.s]=asm/sha512-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha512p8-ppc.s]=asm/sha512p8-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha512-parisc.s]=asm/sha512-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[sha1-mips.S]=asm/sha1-mips.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha256-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[sha512-mips.S]=asm/sha512-mips.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
BEGINRAW[Makefile(unix)]
|
2016-01-30 02:25:40 +00:00
|
|
|
##### SHA assembler implementations
|
|
|
|
|
|
|
|
# GNU make "catch all"
|
|
|
|
{- $builddir -}/sha1-%.S: {- $sourcedir -}/asm/sha1-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/sha256-%.S: {- $sourcedir -}/asm/sha512-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/sha512-%.S: {- $sourcedir -}/asm/sha512-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-03-07 14:49:53 +00:00
|
|
|
ENDRAW[Makefile(unix)]
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[sha1-armv4-large.o]=..
|
|
|
|
INCLUDE[sha1-armv8.o]=..
|
|
|
|
INCLUDE[sha256-armv8.o]=..
|
|
|
|
INCLUDE[sha512-armv8.o]=..
|