1LIBS=../../libcrypto 2 3$CASTASM=c_enc.c 4# CAST assembly source is not PIC 5IF[{- !$disabled{asm} && $disabled{pic} -}] 6 $CASTASM_x86=cast-586.S 7 8 # Now that we have defined all the arch specific variables, use the 9 # appropriate one 10 IF[$CASTASM_{- $target{asm_arch} -}] 11 $CASTASM=$CASTASM_{- $target{asm_arch} -} 12 ENDIF 13ENDIF 14 15$ALL=c_skey.c c_ecb.c $CASTASM c_cfb64.c c_ofb64.c 16 17SOURCE[../../libcrypto]=$ALL 18 19# When all deprecated symbols are removed, libcrypto doesn't export the 20# cast functions, so we must include them directly in liblegacy.a 21IF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}] 22 SOURCE[../../providers/liblegacy.a]=$ALL 23ENDIF 24 25GENERATE[cast-586.S]=asm/cast-586.pl 26DEPEND[cast-586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl 27