2016-01-30 06:33:10 +08:00
|
|
|
LIBS=../../libcrypto
|
2019-06-17 03:46:38 +08:00
|
|
|
|
|
|
|
$CASTASM=c_enc.c
|
|
|
|
# CAST assembly source is not PIC
|
2020-06-13 10:56:11 +08:00
|
|
|
IF[{- !$disabled{asm} && $disabled{pic} -}]
|
2022-05-20 04:09:50 +08:00
|
|
|
$CASTASM_x86=cast-586.S
|
2019-06-17 03:46:38 +08:00
|
|
|
|
|
|
|
# Now that we have defined all the arch specific variables, use the
|
|
|
|
# appropriate one
|
|
|
|
IF[$CASTASM_{- $target{asm_arch} -}]
|
|
|
|
$CASTASM=$CASTASM_{- $target{asm_arch} -}
|
|
|
|
ENDIF
|
|
|
|
ENDIF
|
|
|
|
|
2020-04-09 10:47:46 +08:00
|
|
|
$ALL=c_skey.c c_ecb.c $CASTASM c_cfb64.c c_ofb64.c
|
|
|
|
|
|
|
|
SOURCE[../../libcrypto]=$ALL
|
|
|
|
|
|
|
|
# When all deprecated symbols are removed, libcrypto doesn't export the
|
|
|
|
# cast functions, so we must include them directly in liblegacy.a
|
|
|
|
IF[{- $disabled{'deprecated-3.0'} -}]
|
|
|
|
SOURCE[../../providers/liblegacy.a]=$ALL
|
|
|
|
ENDIF
|
2016-01-30 10:25:40 +08:00
|
|
|
|
2022-05-20 04:09:50 +08:00
|
|
|
GENERATE[cast-586.S]=asm/cast-586.pl
|
|
|
|
DEPEND[cast-586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl
|