2016-01-29 22:33:10 +00:00
|
|
|
LIBS=../../libcrypto
|
|
|
|
SOURCE[../../libcrypto]=\
|
|
|
|
aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c \
|
|
|
|
aes_ige.c aes_wrap.c {- $target{aes_asm_src} -}
|
2016-01-30 02:25:40 +00:00
|
|
|
|
2016-03-07 14:07:35 +00:00
|
|
|
GENERATE[aes-ia64.s]=asm/aes-ia64.S
|
|
|
|
|
2018-01-23 12:54:55 +00:00
|
|
|
GENERATE[aes-586.s]=asm/aes-586.pl \
|
|
|
|
$(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(CPPFLAGS) $(LIB_CPPFLAGS) \
|
|
|
|
$(PROCESSOR)
|
2016-03-07 14:07:35 +00:00
|
|
|
DEPEND[aes-586.s]=../perlasm/x86asm.pl
|
2018-01-23 12:54:55 +00:00
|
|
|
GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl \
|
|
|
|
$(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(CPPFLAGS) $(LIB_CPPFLAGS) \
|
|
|
|
$(PROCESSOR)
|
2016-03-07 14:07:35 +00:00
|
|
|
DEPEND[vpaes-586.s]=../perlasm/x86asm.pl
|
2018-01-23 12:54:55 +00:00
|
|
|
GENERATE[aesni-x86.s]=asm/aesni-x86.pl \
|
|
|
|
$(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(CPPFLAGS) $(LIB_CPPFLAGS) \
|
|
|
|
$(PROCESSOR)
|
2016-03-07 14:07:35 +00:00
|
|
|
DEPEND[aesni-586.s]=../perlasm/x86asm.pl
|
|
|
|
|
|
|
|
GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[aes-sparcv9.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[aest4-sparcv9.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl
|
2016-04-19 11:06:18 +00:00
|
|
|
GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[aesfx-sparcv9.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
|
|
|
|
GENERATE[aes-ppc.s]=asm/aes-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[aes-parisc.s]=asm/aes-parisc.pl $(PERLASM_SCHEME)
|
|
|
|
|
|
|
|
GENERATE[aes-mips.S]=asm/aes-mips.pl $(PERLASM_SCHEME)
|
2016-09-01 08:39:15 +00:00
|
|
|
INCLUDE[aes-mips.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
|
|
|
|
GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME)
|
2016-03-10 19:05:52 +00:00
|
|
|
INCLUDE[aesv8-armx.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME)
|
|
|
|
|
2016-03-11 12:44:46 +00:00
|
|
|
GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[aes-armv4.o]=..
|
|
|
|
GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[bsaes-armv7.o]=..
|
2016-03-07 14:07:35 +00:00
|
|
|
|
2017-10-02 09:24:02 +00:00
|
|
|
GENERATE[aes-s390x.S]=asm/aes-s390x.pl $(PERLASM_SCHEME)
|
|
|
|
INCLUDE[aes-s390x.o]=..
|
|
|
|
|
2016-01-30 02:25:40 +00:00
|
|
|
BEGINRAW[Makefile]
|
|
|
|
##### AES assembler implementations
|
|
|
|
|
|
|
|
# GNU make "catch all"
|
|
|
|
{- $builddir -}/aes-%.S: {- $sourcedir -}/asm/aes-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
{- $builddir -}/bsaes-%.S: {- $sourcedir -}/asm/bsaes-%.pl
|
2016-02-13 18:15:52 +00:00
|
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
2016-01-30 02:25:40 +00:00
|
|
|
|
|
|
|
ENDRAW[Makefile]
|