1e1051a39Sopenharmony_ciLIBS=../../libcrypto
2e1051a39Sopenharmony_ci
3e1051a39Sopenharmony_ci$BFASM=bf_enc.c
4e1051a39Sopenharmony_ciIF[{- !$disabled{asm} -}]
5e1051a39Sopenharmony_ci  $BFASM_x86=bf-586.S
6e1051a39Sopenharmony_ci
7e1051a39Sopenharmony_ci  # Now that we have defined all the arch specific variables, use the
8e1051a39Sopenharmony_ci  # appropriate one
9e1051a39Sopenharmony_ci  IF[$BFASM_{- $target{asm_arch} -}]
10e1051a39Sopenharmony_ci    $BFASM=$BFASM_{- $target{asm_arch} -}
11e1051a39Sopenharmony_ci  ENDIF
12e1051a39Sopenharmony_ciENDIF
13e1051a39Sopenharmony_ci
14e1051a39Sopenharmony_ci$ALL=bf_skey.c bf_ecb.c bf_cfb64.c bf_ofb64.c $BFASM
15e1051a39Sopenharmony_ci
16e1051a39Sopenharmony_ciSOURCE[../../libcrypto]=$ALL
17e1051a39Sopenharmony_ci
18e1051a39Sopenharmony_ci# When all deprecated symbols are removed, libcrypto doesn't export the
19e1051a39Sopenharmony_ci# blowfish functions, so we must include them directly in liblegacy.a
20e1051a39Sopenharmony_ciIF[{- $disabled{'deprecated-3.0'} && !$disabled{module} && !$disabled{shared} -}]
21e1051a39Sopenharmony_ci  SOURCE[../../providers/liblegacy.a]=$ALL
22e1051a39Sopenharmony_ciENDIF
23e1051a39Sopenharmony_ci
24e1051a39Sopenharmony_ciGENERATE[bf-586.S]=asm/bf-586.pl
25e1051a39Sopenharmony_ciDEPEND[bf-586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl
26