2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
|
|
|
SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
|
2016-01-30 10:25:40 +08:00
|
|
|
|
|
|
|
BEGINRAW[Makefile(unix)]
|
|
|
|
##### CHACHA assembler implementations
|
|
|
|
|
|
|
|
{- $builddir -}/chacha-x86.s: {- $sourcedir -}/asm/chacha-x86.pl
|
|
|
|
$(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
|
|
|
|
{- $builddir -}/chacha-x86_64.s: {- $sourcedir -}/asm/chacha-x86_64.pl
|
|
|
|
$(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@
|
2016-02-10 18:51:23 +08:00
|
|
|
{- $builddir -}/chacha-ppc.s: {- $sourcedir -}/asm/chacha-ppc.pl
|
|
|
|
$(PERL) {- $sourcedir -}/asm/chacha-ppc.pl $(PERLASM_SCHEME) $@
|
2016-01-30 10:25:40 +08:00
|
|
|
|
|
|
|
{- $builddir -}/chacha-%.S: {- $sourcedir -}/asm/chacha-%.pl
|
|
|
|
$(PERL) $< $(PERLASM_SCHEME) $@
|
|
|
|
ENDRAW[Makefile(unix)]
|