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