1LIBS=../../libcrypto 2SOURCE[../../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 6GENERATE[aes-ia64.s]=asm/aes-ia64.S 7 8GENERATE[aes-586.s]=asm/aes-586.pl \ 9 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) 10DEPEND[aes-586.s]=../perlasm/x86asm.pl 11GENERATE[vpaes-x86.s]=asm/vpaes-x86.pl \ 12 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) 13DEPEND[vpaes-586.s]=../perlasm/x86asm.pl 14GENERATE[aesni-x86.s]=asm/aesni-x86.pl \ 15 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) 16DEPEND[aesni-586.s]=../perlasm/x86asm.pl 17 18GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl $(PERLASM_SCHEME) 19GENERATE[vpaes-x86_64.s]=asm/vpaes-x86_64.pl $(PERLASM_SCHEME) 20GENERATE[bsaes-x86_64.s]=asm/bsaes-x86_64.pl $(PERLASM_SCHEME) 21GENERATE[aesni-x86_64.s]=asm/aesni-x86_64.pl $(PERLASM_SCHEME) 22GENERATE[aesni-sha1-x86_64.s]=asm/aesni-sha1-x86_64.pl $(PERLASM_SCHEME) 23GENERATE[aesni-sha256-x86_64.s]=asm/aesni-sha256-x86_64.pl $(PERLASM_SCHEME) 24GENERATE[aesni-mb-x86_64.s]=asm/aesni-mb-x86_64.pl $(PERLASM_SCHEME) 25 26GENERATE[aes-sparcv9.S]=asm/aes-sparcv9.pl $(PERLASM_SCHEME) 27INCLUDE[aes-sparcv9.o]=.. 28GENERATE[aest4-sparcv9.S]=asm/aest4-sparcv9.pl $(PERLASM_SCHEME) 29INCLUDE[aest4-sparcv9.o]=.. 30DEPEND[aest4-sparcv9.S]=../perlasm/sparcv9_modes.pl 31GENERATE[aesfx-sparcv9.S]=asm/aesfx-sparcv9.pl $(PERLASM_SCHEME) 32INCLUDE[aesfx-sparcv9.o]=.. 33 34GENERATE[aes-ppc.s]=asm/aes-ppc.pl $(PERLASM_SCHEME) 35GENERATE[vpaes-ppc.s]=asm/vpaes-ppc.pl $(PERLASM_SCHEME) 36GENERATE[aesp8-ppc.s]=asm/aesp8-ppc.pl $(PERLASM_SCHEME) 37 38GENERATE[aes-parisc.s]=asm/aes-parisc.pl $(PERLASM_SCHEME) 39 40GENERATE[aes-mips.S]=asm/aes-mips.pl $(PERLASM_SCHEME) 41INCLUDE[aes-mips.o]=.. 42 43GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl $(PERLASM_SCHEME) 44INCLUDE[aesv8-armx.o]=.. 45GENERATE[vpaes-armv8.S]=asm/vpaes-armv8.pl $(PERLASM_SCHEME) 46 47GENERATE[aes-armv4.S]=asm/aes-armv4.pl $(PERLASM_SCHEME) 48INCLUDE[aes-armv4.o]=.. 49GENERATE[bsaes-armv7.S]=asm/bsaes-armv7.pl $(PERLASM_SCHEME) 50INCLUDE[bsaes-armv7.o]=.. 51 52GENERATE[aes-s390x.S]=asm/aes-s390x.pl $(PERLASM_SCHEME) 53INCLUDE[aes-s390x.o]=.. 54 55BEGINRAW[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 64ENDRAW[Makefile] 65