• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LIBS=../../libcrypto
2
3$RMD160ASM=
4IF[{- !$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
13ENDIF
14
15# Implementations are now spread across several libraries, so the defines
16# need to be applied to all affected libraries and modules
17
18SOURCE[../../libcrypto]=rmd_dgst.c rmd_one.c $RMD160ASM
19DEFINE[../../libcrypto]=$RMD160DEF
20
21# When all deprecated symbols are removed, libcrypto doesn't export the
22# RIPEMD160 functions, so we must include them directly in liblegacy.a
23IF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
24  SOURCE[../../providers/liblegacy.a]=rmd_dgst.c rmd_one.c $RMD160ASM
25  DEFINE[../../providers/liblegacy.a]=$RMD160DEF
26ENDIF
27
28GENERATE[rmd-586.S]=asm/rmd-586.pl
29DEPEND[rmd-586.S]=../perlasm/x86asm.pl
30