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