2 SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
4 BEGINRAW[Makefile(unix)]
5 ##### CHACHA assembler implementations
7 {- $builddir -}/chacha-x86.s: {- $sourcedir -}/asm/chacha-x86.pl
8 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
9 {- $builddir -}/chacha-x86_64.s: {- $sourcedir -}/asm/chacha-x86_64.pl
10 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@
11 {- $builddir -}/chacha-ppc.s: {- $sourcedir -}/asm/chacha-ppc.pl
12 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-ppc.pl $(PERLASM_SCHEME) $@
14 {- $builddir -}/chacha-%.S: {- $sourcedir -}/asm/chacha-%.pl
15 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
16 ENDRAW[Makefile(unix)]