Fix logic error for building x86 CAST assembly
[openssl.git] / crypto / cast / build.info
1 LIBS=../../libcrypto
2
3 $CASTASM=c_enc.c
4 # CAST assembly source is not PIC
5 IF[{- !$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
13 ENDIF
14
15 $ALL=c_skey.c c_ecb.c $CASTASM c_cfb64.c c_ofb64.c
16
17 SOURCE[../../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
21 IF[{- $disabled{'deprecated-3.0'} -}]
22   SOURCE[../../providers/liblegacy.a]=$ALL
23 ENDIF
24
25 GENERATE[cast-586.s]=asm/cast-586.pl
26 DEPEND[cast-586.s]=../perlasm/x86asm.pl ../perlasm/cbc.pl