xref: /openssl/crypto/des/build.info (revision f6a6f7b6)
1$DESASM=des_enc.c fcrypt_b.c
2IF[{- !$disabled{asm} -}]
3  $DESASM_x86=des-586.S crypt586.S
4  $DESASM_sparcv9=des_enc-sparc.S fcrypt_b.c dest4-sparcv9.S
5  $DESASM_sparcv8=des_enc-sparc.S fcrypt_b.c
6
7  # Now that we have defined all the arch specific variables, use the
8  # appropriate one
9  IF[$DESASM_{- $target{asm_arch} -}]
10    $DESASM=$DESASM_{- $target{asm_arch} -}
11    $DESDEF=DES_ASM
12  ENDIF
13ENDIF
14
15LIBS=../../libcrypto
16$COMMON=set_key.c ecb3_enc.c
17$ALL=$COMMON\
18     ecb_enc.c  cbc_enc.c \
19     cfb64enc.c cfb64ede.c cfb_enc.c \
20     ofb64ede.c ofb64enc.c ofb_enc.c \
21     str2key.c  pcbc_enc.c qud_cksm.c rand_key.c \
22     fcrypt.c xcbc_enc.c cbc_cksm.c
23
24SOURCE[../../libcrypto]=$ALL $DESASM
25SOURCE[../../providers/libfips.a]=$COMMON $DESASM
26IF[{- !$disabled{module} && !$disabled{shared} -}]
27  SOURCE[../../providers/liblegacy.a]=$DESASM
28ENDIF
29
30DEFINE[../../libcrypto]=$DESDEF
31DEFINE[../../providers/libfips.a]=$DESDEF
32
33# When all deprecated symbols are removed, libcrypto doesn't export the
34# DES functions, so we must include them directly in liblegacy.a
35IF[{- $disabled{'deprecated-3.0'} && !$disabled{des} -}]
36  SOURCE[../../providers/liblegacy.a]=$ALL
37  DEFINE[../../providers/liblegacy.a]=$DESDEF
38ENDIF
39
40GENERATE[des_enc-sparc.S]=asm/des_enc.m4
41GENERATE[dest4-sparcv9.S]=asm/dest4-sparcv9.pl
42INCLUDE[dest4-sparcv9.o]=..
43
44GENERATE[des-586.S]=asm/des-586.pl
45DEPEND[des-586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl
46GENERATE[crypt586.S]=asm/crypt586.pl
47DEPEND[crypt586.S]=../perlasm/x86asm.pl ../perlasm/cbc.pl
48