lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | LIBS=../../libcrypto |
| 2 | SOURCE[../../libcrypto]=\ |
| 3 | aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c \ |
| 4 | aes_ige.c aes_wrap.c {- $target{aes_asm_src} -} |
| 5 | |
| 6 | GENERATE[aes-ia64.s]=asm/aes-ia64.S |
| 7 | |
| 8 | GENERATE[aes-586.s]=asm/aes-586.pl \ |
| 9 | $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |
| 10 | DEPEND[aes-586.s]=../perlasm/x86asm.pl |
| 11 | GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl \ |
| 12 | $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |
| 13 | DEPEND[vpaes-586.s]=../perlasm/x86asm.pl |
| 14 | GENERATE[aesni-x86.s]=asm/aesni-x86.pl \ |
| 15 | $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |
| 16 | DEPEND[aesni-586.s]=../perlasm/x86asm.pl |
| 17 | |
| 18 | GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl $(PERLASM_SCHEME) |
| 19 | GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl $(PERLASM_SCHEME) |
| 20 | GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl $(PERLASM_SCHEME) |
| 21 | GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl $(PERLASM_SCHEME) |
| 22 | GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl $(PERLASM_SCHEME) |
| 23 | GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl $(PERLASM_SCHEME) |
| 24 | GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl $(PERLASM_SCHEME) |
| 25 | |
| 26 | GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl $(PERLASM_SCHEME) |
| 27 | INCLUDE[aes-sparcv9.o]=.. |
| 28 | GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl $(PERLASM_SCHEME) |
| 29 | INCLUDE[aest4-sparcv9.o]=.. |
| 30 | DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl |
| 31 | GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl $(PERLASM_SCHEME) |
| 32 | INCLUDE[aesfx-sparcv9.o]=.. |
| 33 | |
| 34 | GENERATE[aes-ppc.s]=asm/aes-ppc.pl $(PERLASM_SCHEME) |
| 35 | GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl $(PERLASM_SCHEME) |
| 36 | GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl $(PERLASM_SCHEME) |
| 37 | |
| 38 | GENERATE[aes-parisc.s]=asm/aes-parisc.pl $(PERLASM_SCHEME) |
| 39 | |
| 40 | GENERATE[aes-mips.S]=asm/aes-mips.pl $(PERLASM_SCHEME) |
| 41 | INCLUDE[aes-mips.o]=.. |
| 42 | |
| 43 | GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME) |
| 44 | INCLUDE[aesv8-armx.o]=.. |
| 45 | GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME) |
| 46 | |
| 47 | GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME) |
| 48 | INCLUDE[aes-armv4.o]=.. |
| 49 | GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME) |
| 50 | INCLUDE[bsaes-armv7.o]=.. |
| 51 | |
| 52 | GENERATE[aes-s390x.S]=asm/aes-s390x.pl $(PERLASM_SCHEME) |
| 53 | INCLUDE[aes-s390x.o]=.. |
| 54 | |
| 55 | BEGINRAW[Makefile] |
| 56 | ##### AES assembler implementations |
| 57 | |
| 58 | # GNU make "catch all" |
| 59 | {- $builddir -}/aes-%.S: {- $sourcedir -}/asm/aes-%.pl |
| 60 | CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ |
| 61 | {- $builddir -}/bsaes-%.S: {- $sourcedir -}/asm/bsaes-%.pl |
| 62 | CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ |
| 63 | |
| 64 | ENDRAW[Makefile] |