11cb0ef41Sopenharmony_ciLIBS=../../libcrypto
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ci$WPASM=wp_block.c
41cb0ef41Sopenharmony_ciIF[{- !$disabled{asm} -}]
51cb0ef41Sopenharmony_ci  IF[{- $config{processor} ne "386" -}]
61cb0ef41Sopenharmony_ci    $WPASM_x86=wp_block.c wp-mmx.S
71cb0ef41Sopenharmony_ci    $WPDEF_x86=WHIRLPOOL_ASM
81cb0ef41Sopenharmony_ci  ENDIF
91cb0ef41Sopenharmony_ci  $WPASM_x86_64=wp-x86_64.s
101cb0ef41Sopenharmony_ci  $WPDEF_x86_64=WHIRLPOOL_ASM
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_ci  # Now that we have defined all the arch specific variables, use the
131cb0ef41Sopenharmony_ci  # appropriate one, and define the appropriate macros
141cb0ef41Sopenharmony_ci  IF[$WPASM_{- $target{asm_arch} -}]
151cb0ef41Sopenharmony_ci    $WPASM=$WPASM_{- $target{asm_arch} -}
161cb0ef41Sopenharmony_ci    $WPDEF=$WPDEF_{- $target{asm_arch} -}
171cb0ef41Sopenharmony_ci  ENDIF
181cb0ef41Sopenharmony_ciENDIF
191cb0ef41Sopenharmony_ci
201cb0ef41Sopenharmony_ciSOURCE[../../libcrypto]=wp_dgst.c $WPASM
211cb0ef41Sopenharmony_ciDEFINE[../../libcrypto]=$WPDEF
221cb0ef41Sopenharmony_ci
231cb0ef41Sopenharmony_ci# When all deprecated symbols are removed, libcrypto doesn't export the
241cb0ef41Sopenharmony_ci# WHIRLPOOL functions, so we must include them directly in liblegacy.a
251cb0ef41Sopenharmony_ciIF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
261cb0ef41Sopenharmony_ci  SOURCE[../../providers/liblegacy.a]=wp_dgst.c $WPASM
271cb0ef41Sopenharmony_ci  DEFINE[../../providers/liblegacy.a]=$WPDEF
281cb0ef41Sopenharmony_ciENDIF
291cb0ef41Sopenharmony_ci
301cb0ef41Sopenharmony_ciGENERATE[wp-mmx.S]=asm/wp-mmx.pl
311cb0ef41Sopenharmony_ciDEPEND[wp-mmx.S]=../perlasm/x86asm.pl
321cb0ef41Sopenharmony_ci
331cb0ef41Sopenharmony_ciGENERATE[wp-x86_64.s]=asm/wp-x86_64.pl
34