Use build.info, not ifdef for crypto modules
[openssl.git] / crypto / evp / build.info
1 LIBS=../../libcrypto
2 $COMMON=digest.c evp_enc.c evp_lib.c evp_fetch.c cmeth_lib.c evp_utils.c \
3         mac_lib.c mac_meth.c keymgmt_meth.c keymgmt_lib.c kdf_lib.c kdf_meth.c \
4         m_sigver.c pmeth_lib.c signature.c p_lib.c pmeth_gn.c exchange.c \
5         pmeth_check.c
6
7 SOURCE[../../libcrypto]=$COMMON\
8         encode.c evp_key.c evp_cnf.c \
9         e_des.c e_bf.c e_idea.c e_des3.c \
10         e_rc4.c e_aes.c names.c e_aria.c e_sm4.c \
11         e_xcbc_d.c e_rc2.c e_cast.c e_rc5.c m_null.c \
12         p_seal.c p_sign.c p_verify.c \
13         bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c \
14         c_allc.c c_alld.c bio_ok.c \
15         evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c pbe_scrypt.c \
16         pkey_kdf.c pmeth_fn.c\
17         e_aes_cbc_hmac_sha1.c e_aes_cbc_hmac_sha256.c e_rc4_hmac_md5.c \
18         e_chacha20_poly1305.c \
19         pkey_mac.c \
20         legacy_sha.c
21
22 IF[{- !$disabled{'deprecated-3.0'} -}]
23   SOURCE[../../libcrypto]=p_enc.c p_dec.c
24 ENDIF
25 IF[{- !$disabled{'deprecated-0.9.8'} -}]
26   SOURCE[../../libcrypto]=e_old.c
27 ENDIF
28 IF[{- !$disabled{'rsa'} -}]
29   SOURCE[../../libcrypto]=p_open.c
30 ENDIF
31 IF[{- !$disabled{md2} -}]
32   SOURCE[../../libcrypto]=legacy_md2.c
33 ENDIF
34 IF[{- !$disabled{md4} -}]
35   SOURCE[../../libcrypto]=legacy_md4.c
36 ENDIF
37 IF[{- !$disabled{md5} -}]
38   SOURCE[../../libcrypto]=legacy_md5.c legacy_md5_sha1.c
39 ENDIF
40 IF[{- !$disabled{mdc2} -}]
41   SOURCE[../../libcrypto]=legacy_mdc2.c
42 ENDIF
43 IF[{- !$disabled{blake2} -}]
44   SOURCE[../../libcrypto]=legacy_blake2.c
45 ENDIF
46 IF[{- !$disabled{whirlpool} -}]
47   SOURCE[../../libcrypto]=legacy_wp.c
48 ENDIF
49 IF[{- !$disabled{rmd160} -}]
50   SOURCE[../../libcrypto]=legacy_ripemd.c
51 ENDIF
52 IF[{- !$disabled{seed} -}]
53   SOURCE[../../libcrypto]=e_seed.c
54 ENDIF
55 IF[{- !$disabled{camellia} -}]
56   SOURCE[../../libcrypto]=e_camellia.c
57   INCLUDE[e_camellia.o]=.. ../modes
58 ENDIF
59
60 SOURCE[../../providers/libfips.a]=$COMMON
61
62 INCLUDE[e_aes.o]=.. ../modes
63 INCLUDE[e_aes_cbc_hmac_sha1.o]=../modes
64 INCLUDE[e_aes_cbc_hmac_sha256.o]=../modes
65 INCLUDE[e_aria.o]=.. ../modes
66 INCLUDE[e_sm4.o]=.. ../modes
67 INCLUDE[e_des.o]=..
68 INCLUDE[e_des3.o]=..