Move legacy ciphers into the legacy provider
[openssl.git] / crypto / rc4 / build.info
1 LIBS=../../libcrypto
2
3 $RC4ASM=rc4_enc.c rc4_skey.c
4 IF[{- !$disabled{asm} -}]
5   $RC4ASM_x86=rc4-586.s
6   $RC4ASM_x86_64=rc4-x86_64.s rc4-md5-x86_64.s
7   $RC4ASM_s390x=rc4-s390x.s
8   $RC4ASM_parisc11=rc4-parisc.s
9   $RC4ASM_parisc20_64=$RC4ASM_parisc11
10   $RC4ASM_c64xplus=rc4-c64xplus.s
11
12   # Now that we have defined all the arch specific variables, use the
13   # appropriate one, and define the appropriate macros
14   IF[$RC4ASM_{- $target{asm_arch} -}]
15     $RC4ASM=$RC4ASM_{- $target{asm_arch} -}
16     $RC4DEF=RC4_ASM
17   ENDIF
18 ENDIF
19
20 SOURCE[../../libcrypto]=$RC4ASM
21
22 # When all deprecated symbols are removed, libcrypto doesn't export the
23 # rc4 functions, so we must include them directly in liblegacy.a
24 IF[{- $disabled{'deprecated-3.0'} -}]
25   SOURCE[../../providers/liblegacy.a]=$RC4ASM
26 ENDIF
27
28 GENERATE[rc4-586.s]=asm/rc4-586.pl
29 DEPEND[rc4-586.s]=../perlasm/x86asm.pl
30
31 GENERATE[rc4-x86_64.s]=asm/rc4-x86_64.pl
32 GENERATE[rc4-md5-x86_64.s]=asm/rc4-md5-x86_64.pl
33
34 GENERATE[rc4-parisc.s]=asm/rc4-parisc.pl
35 GENERATE[rc4-c64xplus.s]=asm/rc4-c64xplus.pl
36 GENERATE[rc4-s390x.s]=asm/rc4-s390x.pl