1e1051a39Sopenharmony_ciLIBS=../../libcrypto
2e1051a39Sopenharmony_ci
3e1051a39Sopenharmony_ci$WPASM=wp_block.c
4e1051a39Sopenharmony_ciIF[{- !$disabled{asm} -}]
5e1051a39Sopenharmony_ci  IF[{- $config{processor} ne "386" -}]
6e1051a39Sopenharmony_ci    $WPASM_x86=wp_block.c wp-mmx.S
7e1051a39Sopenharmony_ci    $WPDEF_x86=WHIRLPOOL_ASM
8e1051a39Sopenharmony_ci  ENDIF
9e1051a39Sopenharmony_ci  $WPASM_x86_64=wp-x86_64.s
10e1051a39Sopenharmony_ci  $WPDEF_x86_64=WHIRLPOOL_ASM
11e1051a39Sopenharmony_ci
12e1051a39Sopenharmony_ci  # Now that we have defined all the arch specific variables, use the
13e1051a39Sopenharmony_ci  # appropriate one, and define the appropriate macros
14e1051a39Sopenharmony_ci  IF[$WPASM_{- $target{asm_arch} -}]
15e1051a39Sopenharmony_ci    $WPASM=$WPASM_{- $target{asm_arch} -}
16e1051a39Sopenharmony_ci    $WPDEF=$WPDEF_{- $target{asm_arch} -}
17e1051a39Sopenharmony_ci  ENDIF
18e1051a39Sopenharmony_ciENDIF
19e1051a39Sopenharmony_ci
20e1051a39Sopenharmony_ciSOURCE[../../libcrypto]=wp_dgst.c $WPASM
21e1051a39Sopenharmony_ciDEFINE[../../libcrypto]=$WPDEF
22e1051a39Sopenharmony_ci
23e1051a39Sopenharmony_ci# When all deprecated symbols are removed, libcrypto doesn't export the
24e1051a39Sopenharmony_ci# WHIRLPOOL functions, so we must include them directly in liblegacy.a
25e1051a39Sopenharmony_ciIF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
26e1051a39Sopenharmony_ci  SOURCE[../../providers/liblegacy.a]=wp_dgst.c $WPASM
27e1051a39Sopenharmony_ci  DEFINE[../../providers/liblegacy.a]=$WPDEF
28e1051a39Sopenharmony_ciENDIF
29e1051a39Sopenharmony_ci
30e1051a39Sopenharmony_ciGENERATE[wp-mmx.S]=asm/wp-mmx.pl
31e1051a39Sopenharmony_ciDEPEND[wp-mmx.S]=../perlasm/x86asm.pl
32e1051a39Sopenharmony_ci
33e1051a39Sopenharmony_ciGENERATE[wp-x86_64.s]=asm/wp-x86_64.pl
34