Unified - adapt the generation of chacha assembler to use GENERATE
[openssl.git] / crypto / chacha / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
3
4 GENERATE[chacha-x86.s]=asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR)
5 GENERATE[chacha-x86_64.s]=asm/chacha-x86_64.pl $(PERLASM_SCHEME)
6 GENERATE[chacha-ppc.s]=asm/chacha-ppc.pl $(PERLASM_SCHEME)
7
8 BEGINRAW[Makefile(unix)]
9 ##### CHACHA assembler implementations
10
11 {- $builddir -}/chacha-%.S:     {- $sourcedir -}/asm/chacha-%.pl
12         CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
13 ENDRAW[Makefile(unix)]