lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | LIBS=../../libcrypto |
| 2 | SOURCE[../../libcrypto]={- $target{chacha_asm_src} -} |
| 3 | |
| 4 | GENERATE[chacha-x86.s]=asm/chacha-x86.pl \ |
| 5 | $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) $(PROCESSOR) |
| 6 | GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl $(PERLASM_SCHEME) |
| 7 | GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl $(PERLASM_SCHEME) |
| 8 | GENERATE[chacha-armv4.S]=asm/chacha-armv4.pl $(PERLASM_SCHEME) |
| 9 | INCLUDE[chacha-armv4.o]=.. |
| 10 | GENERATE[chacha-armv8.S]=asm/chacha-armv8.pl $(PERLASM_SCHEME) |
| 11 | INCLUDE[chacha-armv8.o]=.. |
| 12 | GENERATE[chacha-s390x.S]=asm/chacha-s390x.pl $(PERLASM_SCHEME) |
| 13 | INCLUDE[chacha-s390x.o]=.. |
| 14 | |
| 15 | BEGINRAW[Makefile(unix)] |
| 16 | ##### CHACHA assembler implementations |
| 17 | |
| 18 | {- $builddir -}/chacha-%.S: {- $sourcedir -}/asm/chacha-%.pl |
| 19 | CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ |
| 20 | ENDRAW[Makefile(unix)] |