2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2019-06-17 04:03:00 +08:00
|
|
|
|
|
|
|
$WPASM=wp_block.c
|
|
|
|
IF[{- !$disabled{asm} -}]
|
|
|
|
IF[{- $config{processor} ne "386" -}]
|
|
|
|
$WPASM_x86=wp_block.c wp-mmx.s
|
|
|
|
$WPDEF_x86=WHIRLPOOL_ASM
|
|
|
|
ENDIF
|
|
|
|
$WPASM_x86_64=wp-x86_64.s
|
|
|
|
$WPDEF_x86_64=WHIRLPOOL_ASM
|
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one, and define the appropriate macros
|
|
|
|
IF[$WPASM_{- $target{asm_arch} -}]
|
|
|
|
$WPASM=$WPASM_{- $target{asm_arch} -}
|
|
|
|
$WPDEF=$WPDEF_{- $target{asm_arch} -}
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
2019-10-15 10:35:41 +08:00
|
|
|
# Implementations are now spread across several libraries, so the defines
|
|
|
|
# need to be applied to all affected libraries and modules.
|
|
|
|
DEFINE[../../providers/libimplementations.a]=$WPDEF
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2020-01-08 18:52:38 +08:00
|
|
|
SOURCE[../../libcrypto]=wp_dgst.c $WPASM
|
|
|
|
DEFINE[../../libcrypto]=$WPDEF
|
|
|
|
|
|
|
|
# When all deprecated symbols are removed, libcrypto doesn't export the
|
|
|
|
# WHIRLPOOL functions, so we must include them directly in liblegacy.a
|
2020-02-06 18:31:41 +08:00
|
|
|
IF[{- $disabled{'deprecated-3.0'} -}]
|
2020-01-08 18:52:38 +08:00
|
|
|
SOURCE[../../providers/liblegacy.a]=wp_dgst.c $WPASM
|
|
|
|
DEFINE[../../providers/liblegacy.a]=$WPDEF
|
|
|
|
ENDIF
|
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[wp-mmx.s]=asm/wp-mmx.pl
|
2016-03-07 22:50:21 +08:00
|
|
|
DEPEND[wp-mmx.s]=../perlasm/x86asm.pl
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[wp-x86_64.s]=asm/wp-x86_64.pl
|