d10a97de828c8027755c14ddcb24df82407775aa
[openssl.git] / crypto / modes / build.info
1 LIBS=../../libcrypto
2 SOURCE[../../libcrypto]=\
3         cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \
4         ccm128.c xts128.c wrap128.c ocb128.c \
5         {- $target{modes_asm_src} -}
6
7 BEGINRAW[Makefile]
8 {- $builddir -}/ghash-ia64.s:   {- $sourcedir -}/asm/ghash-ia64.pl
9         $(PERL) {- $sourcedir -}/asm/ghash-ia64.pl $@ $(CFLAGS)
10 {- $builddir -}/ghash-x86.s:    {- $sourcedir -}/asm/ghash-x86.pl
11         $(PERL) {- $sourcedir -}/asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
12 {- $builddir -}/ghash-x86_64.s: {- $sourcedir -}/asm/ghash-x86_64.pl
13         $(PERL) {- $sourcedir -}/asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
14 {- $builddir -}/aesni-gcm-x86_64.s:     {- $sourcedir -}/asm/aesni-gcm-x86_64.pl
15         $(PERL) {- $sourcedir -}/asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@
16 {- $builddir -}/ghash-sparcv9.s:        {- $sourcedir -}/asm/ghash-sparcv9.pl
17         $(PERL) {- $sourcedir -}/asm/ghash-sparcv9.pl $@ $(CFLAGS)
18 {- $builddir -}/ghash-alpha.s:  {- $sourcedir -}/asm/ghash-alpha.pl
19         (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
20         $(PERL) {- $sourcedir -}/asm/ghash-alpha.pl > $$preproc && \
21         $(CC) -E -P $$preproc > $@ && rm $$preproc)
22 {- $builddir -}/ghash-parisc.s: {- $sourcedir -}/asm/ghash-parisc.pl
23         $(PERL) {- $sourcedir -}/asm/ghash-parisc.pl $(PERLASM_SCHEME) $@
24 {- $builddir -}/ghashv8-armx.S: {- $sourcedir -}/asm/ghashv8-armx.pl
25         $(PERL) {- $sourcedir -}/asm/ghashv8-armx.pl $(PERLASM_SCHEME) $@
26 {- $builddir -}/ghashp8-ppc.s:  {- $sourcedir -}/asm/ghashp8-ppc.pl
27         $(PERL) {- $sourcedir -}/asm/ghashp8-ppc.pl $(PERLASM_SCHEME) $@
28
29 # GNU make "catch all"
30 {- $builddir -}/ghash-%.S:      {- $sourcedir -}/asm/ghash-%.pl
31         $(PERL) $< $(PERLASM_SCHEME) $@
32 ENDRAW[Makefile]