Deprecate the low level RIPEMD160 functions.
[openssl.git] / crypto / ripemd / build.info
1 LIBS=../../libcrypto
2
3 $RMD160ASM=
4 IF[{- !$disabled{asm} -}]
5   $RMD160ASM_x86=rmd-586.s
6
7   # Now that we have defined all the arch specific variables, use the
8   # appropriate one, and define the appropriate macros
9   IF[$RMD160ASM_{- $target{asm_arch} -}]
10     $RMD160ASM=$RMD160ASM_{- $target{asm_arch} -}
11     $RMD160DEF=RMD160_ASM
12   ENDIF
13 ENDIF
14
15 # Implementations are now spread across several libraries, so the defines
16 # need to be applied to all affected libraries and modules
17 DEFINE[../providers/libimplementations.a]=$RMD160DEF
18
19 SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
20 DEFINE[../../libcrypto]=$RMD160DEF
21
22 # When all deprecated symbols are removed, libcrypto doesn't export the
23 # RIPEMD160 functions, so we must include them directly in liblegacy.a
24 IF[{- $disabled{"deprecated"}
25       && (defined $config{"api"} && $config{"api"} >= 30000) -}]
26   SOURCE[../../providers/liblegacy.a]=rmd_dgst.c rmd_one.c $RMD160ASM
27   DEFINE[../../providers/liblegacy.a]=$RMD160DEF
28 ENDIF
29
30 GENERATE[rmd-586.s]=asm/rmd-586.pl
31 DEPEND[rmd-586.s]=../perlasm/x86asm.pl