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} -}]
|
2019-06-17 03:46:38 +08:00
|
|
|
$CASTASM_x86=cast-586.s
|
|
|
|
|
|
|
|
# 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
|
|
|
|
2019-09-13 06:05:26 +08:00
|
|
|
GENERATE[cast-586.s]=asm/cast-586.pl
|
2016-03-07 22:45:39 +08:00
|
|
|
DEPEND[cast-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl
|