xref: /openssl/crypto/poly1305/build.info (revision db24ed54)
1LIBS=../../libcrypto
2
3$POLY1305ASM=
4IF[{- !$disabled{asm} -}]
5  $POLY1305ASM_x86=poly1305-x86.S
6  $POLY1305ASM_x86_64=poly1305-x86_64.s
7
8  $POLY1305ASM_ia64=poly1305-ia64.s
9
10  $POLY1305ASM_sparcv9=poly1305-sparcv9.S
11
12  $POLY1305ASM_mips64=poly1305-mips.S
13
14  $POLY1305ASM_s390x=poly1305-s390x.S
15
16  $POLY1305ASM_armv4=poly1305-armv4.S
17  $POLY1305ASM_aarch64=poly1305-armv8.S
18
19  $POLY1305ASM_ppc32=poly1305_ppc.c poly1305-ppc.s poly1305-ppcfp.s
20  $POLY1305ASM_ppc64=$POLY1305ASM_ppc32
21
22  $POLY1305ASM_c64xplus=poly1305-c64xplus.s
23
24  # Now that we have defined all the arch specific variables, use the
25  # appropriate one, and define the appropriate macros
26  IF[$POLY1305ASM_{- $target{asm_arch} -}]
27    $POLY1305ASM=$POLY1305ASM_{- $target{asm_arch} -}
28    $POLY1305DEF=POLY1305_ASM
29  ENDIF
30ENDIF
31
32SOURCE[../../libcrypto]=poly1305.c $POLY1305ASM
33
34# Implementations are now spread across several libraries, so the defines
35# need to be applied to all affected libraries and modules.
36DEFINE[../../libcrypto]=$POLY1305DEF
37
38GENERATE[poly1305-sparcv9.S]=asm/poly1305-sparcv9.pl
39INCLUDE[poly1305-sparcv9.o]=..
40GENERATE[poly1305-x86.S]=asm/poly1305-x86.pl
41GENERATE[poly1305-x86_64.s]=asm/poly1305-x86_64.pl
42GENERATE[poly1305-ia64.s]=asm/poly1305-ia64.S
43GENERATE[poly1305-ppc.s]=asm/poly1305-ppc.pl
44GENERATE[poly1305-ppcfp.s]=asm/poly1305-ppcfp.pl
45GENERATE[poly1305-armv4.S]=asm/poly1305-armv4.pl
46INCLUDE[poly1305-armv4.o]=..
47GENERATE[poly1305-armv8.S]=asm/poly1305-armv8.pl
48INCLUDE[poly1305-armv8.o]=..
49GENERATE[poly1305-mips.S]=asm/poly1305-mips.pl
50INCLUDE[poly1305-mips.o]=..
51GENERATE[poly1305-c64xplus.S]=asm/poly1305-c64xplus.pl
52INCLUDE[poly1305-s390x.o]=..
53GENERATE[poly1305-s390x.S]=asm/poly1305-s390x.pl
54