lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | LIBS=../../libcrypto |
| 2 | SOURCE[../../libcrypto]=\ |
| 3 | cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \ |
| 4 | ccm128.c xts128.c wrap128.c ocb128.c \ |
| 5 | {- $target{modes_asm_src} -} |
| 6 | |
| 7 | INCLUDE[gcm128.o]=.. |
| 8 | |
| 9 | GENERATE[ghash-ia64.s]=asm/ghash-ia64.pl $(LIB_CFLAGS) $(LIB_CPPFLAGS) |
| 10 | GENERATE[ghash-x86.s]=asm/ghash-x86.pl \ |
| 11 | $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |
| 12 | GENERATE[ghash-x86_64.s]=asm/ghash-x86_64.pl $(PERLASM_SCHEME) |
| 13 | GENERATE[aesni-gcm-x86_64.s]=asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) |
| 14 | GENERATE[ghash-sparcv9.S]=asm/ghash-sparcv9.pl $(PERLASM_SCHEME) |
| 15 | INCLUDE[ghash-sparcv9.o]=.. |
| 16 | GENERATE[ghash-alpha.S]=asm/ghash-alpha.pl $(PERLASM_SCHEME) |
| 17 | GENERATE[ghash-parisc.s]=asm/ghash-parisc.pl $(PERLASM_SCHEME) |
| 18 | GENERATE[ghashp8-ppc.s]=asm/ghashp8-ppc.pl $(PERLASM_SCHEME) |
| 19 | GENERATE[ghash-armv4.S]=asm/ghash-armv4.pl $(PERLASM_SCHEME) |
| 20 | INCLUDE[ghash-armv4.o]=.. |
| 21 | GENERATE[ghashv8-armx.S]=asm/ghashv8-armx.pl $(PERLASM_SCHEME) |
| 22 | INCLUDE[ghashv8-armx.o]=.. |
| 23 | GENERATE[ghash-s390x.S]=asm/ghash-s390x.pl $(PERLASM_SCHEME) |
| 24 | INCLUDE[ghash-s390x.o]=.. |
| 25 | |
| 26 | BEGINRAW[Makefile] |
| 27 | # GNU make "catch all" |
| 28 | {- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl |
| 29 | CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ |
| 30 | ENDRAW[Makefile] |