unified build scheme: add a "unified" template for Unix Makefile
[openssl.git] / crypto / chacha / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
3
4 BEGINRAW[Makefile(unix)]
5 ##### CHACHA assembler implementations
6
7 {- $builddir -}/chacha-x86.s:           {- $sourcedir -}/asm/chacha-x86.pl
8         $(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
9 {- $builddir -}/chacha-x86_64.s:        {- $sourcedir -}/asm/chacha-x86_64.pl
10         $(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@
11
12 {- $builddir -}/chacha-%.S:     {- $sourcedir -}/asm/chacha-%.pl
13         $(PERL) $< $(PERLASM_SCHEME) $@
14 ENDRAW[Makefile(unix)]