Update build for OpenSSL-0.9.8j upgrade.
[dragonfly.git] / secure / lib / libcrypto / Makefile
index fd38163..be04120 100644 (file)
@@ -1,5 +1,5 @@
 # $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.14 2003/02/14 22:38:14 nectar Exp $
-# $DragonFly: src/secure/lib/libcrypto/Makefile,v 1.9 2006/09/06 12:40:51 corecode Exp $
+# $DragonFly: src/secure/lib/libcrypto/Makefile,v 1.11 2008/09/06 20:42:53 pavalos Exp $
 
 LIB=           crypto
 SHLIB_MAJOR=   4
@@ -13,12 +13,13 @@ NOLINT=             true
 .include "Makefile.inc"
 
 # base sources
-SRCS+= cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
-       mem_dbg.c o_dir.c o_time.c tmdiff.c uid.c
+SRCS+= cpt_err.c cryptlib.c cversion.c dyn_lck.c ebcdic.c ex_data.c \
+       fips_err.c mem.c mem_clr.c \
+       mem_dbg.c o_dir.c o_init.c o_time.c tmdiff.c uid.c
 
 # aes
 SRCS+= aes_cbc.c aes_cfb.c aes_core.c aes_ctr.c aes_ecb.c aes_ige.c \
-       aes_misc.c aes_ofb.c
+       aes_misc.c aes_ofb.c aes_wrap.c
 
 # asn1
 SRCS+= a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c \
@@ -26,7 +27,8 @@ SRCS+=        a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c \
        a_mbstr.c a_meth.c a_object.c a_octet.c a_print.c \
        a_set.c a_sign.c a_strex.c a_strnid.c a_time.c a_type.c \
        a_utctm.c a_utf8.c a_verify.c asn1_err.c asn1_lib.c \
-       asn1_gen.c asn1_par.c asn_moid.c asn_pack.c d2i_pr.c d2i_pu.c \
+       asn1_gen.c asn1_par.c asn_mime.c \
+       asn_moid.c asn_pack.c d2i_pr.c d2i_pu.c \
        evp_asn1.c f_enum.c f_int.c f_string.c i2d_pr.c i2d_pu.c \
        n_pkey.c nsseq.c p5_pbe.c p5_pbev2.c p8_pkey.c t_bitst.c \
        t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c \
@@ -48,11 +50,12 @@ SRCS+=      b_dump.c b_print.c b_sock.c bf_buff.c bf_lbuf.c bf_nbio.c \
 SRCS+= bn_add.c bn_asm.c bn_blind.c bn_const.c bn_ctx.c bn_depr.c \
        bn_div.c bn_err.c bn_exp.c \
        bn_exp2.c bn_gcd.c bn_gf2m.c bn_kron.c bn_lib.c bn_mod.c bn_mont.c \
-       bn_mpi.c bn_mul.c bn_nist.c bn_prime.c bn_print.c bn_rand.c bn_recp.c \
-       bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c
+       bn_mpi.c bn_mul.c bn_nist.c bn_opt.c \
+       bn_prime.c bn_print.c bn_rand.c bn_recp.c \
+       bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c bn_x931p.c
 
 # buffer
-SRCS+= buf_err.c buffer.c
+SRCS+= buf_err.c buf_str.c buffer.c
 
 # camellia
 # still disabled in 0.9.8
@@ -62,6 +65,10 @@ SRCS+=       buf_err.c buffer.c
 # cast
 SRCS+= c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
 
+# cms
+#SRCS+=        cms_att.c cms_att.c cms_cd.c cms_dd.c cms_enc.c cms_env.c cms_err.c \
+#      cms_ess.c cms_io.c cms_lib.c cms_sd.c cms_smime.c
+
 # comp
 SRCS+= c_rle.c c_zlib.c comp_err.c comp_lib.c
 
@@ -70,7 +77,8 @@ SRCS+=        conf_api.c conf_def.c conf_err.c conf_lib.c conf_mall.c conf_mod.c conf_s
 
 # des
 SRCS+= cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
-       des_enc.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
+       des_enc.c des_lib.c des_old.c des_old2.c \
+       ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
        enc_read.c enc_writ.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c \
        ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c \
        rpc_enc.c set_key.c str2key.c xcbc_enc.c
@@ -80,7 +88,7 @@ SRCS+=        dh_asn1.c dh_check.c dh_depr.c dh_err.c dh_gen.c dh_key.c dh_lib.c
 
 # dsa
 SRCS+= dsa_asn1.c dsa_depr.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c \
-       dsa_ossl.c dsa_sign.c dsa_vrf.c
+       dsa_ossl.c dsa_sign.c dsa_utl.c dsa_vrf.c
 
 # dso
 SRCS+= dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c dso_openssl.c
@@ -108,13 +116,15 @@ SRCS+=    e_4758cca.c e_aep.c e_atalla.c e_chil.c e_cswift.c e_gmp.c \
        e_nuron.c e_sureware.c e_ubsec.c
 
 # err
-SRCS+= err.c err_all.c err_prn.c
+SRCS+= err.c err_all.c err_bio.c err_def.c err_prn.c err_str.c
 
 # evp
 SRCS+= bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c c_allc.c c_alld.c \
+       dig_eng.c \
        digest.c e_aes.c e_bf.c e_camellia.c e_cast.c e_des.c e_des3.c \
-       e_idea.c e_null.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c \
-       evp_acnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
+       e_idea.c e_null.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c \
+       enc_min.c encode.c \
+       evp_acnf.c evp_cnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
        evp_pkey.c m_dss.c m_dss1.c m_ecdsa.c m_md2.c m_md4.c m_md5.c \
        m_mdc2.c m_null.c m_ripemd.c m_sha.c m_sha1.c names.c openbsd_hw.c \
        p5_crpt.c p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c \
@@ -171,14 +181,15 @@ SRCS+=    example.c pk7_asn1.c pk7_attr.c pk7_dgst.c pk7_doit.c \
 SRCS+= pqueue.c
 
 # rand
-SRCS+= md_rand.c rand_egd.c rand_err.c rand_lib.c rand_nw.c rand_unix.c \
+SRCS+= md_rand.c rand_egd.c rand_eng.c \
+       rand_err.c rand_lib.c rand_nw.c rand_unix.c \
        randfile.c
 
 # rc2
 SRCS+= rc2_cbc.c rc2_ecb.c rc2_skey.c rc2cfb64.c rc2ofb64.c
 
 # rc4
-SRCS+= rc4_enc.c rc4_skey.c
+SRCS+= rc4_enc.c rc4_fblk.c rc4_skey.c
 
 # rc5
 # .. is patented, so don't compile by default
@@ -188,9 +199,10 @@ SRCS+=     rc4_enc.c rc4_skey.c
 SRCS+= rmd_dgst.c rmd_one.c
 
 # rsa
-SRCS+= rsa_asn1.c rsa_chk.c rsa_depr.c rsa_eay.c rsa_err.c rsa_gen.c \
+SRCS+= rsa_asn1.c rsa_chk.c rsa_depr.c rsa_eay.c \
+       rsa_eng.c rsa_err.c rsa_gen.c \
        rsa_lib.c rsa_none.c rsa_null.c rsa_oaep.c rsa_pk1.c rsa_pss.c \
-       rsa_saos.c rsa_sign.c rsa_ssl.c rsa_x931.c
+       rsa_saos.c rsa_sign.c rsa_ssl.c rsa_x931.c rsa_x931g.c
 
 # sha
 SRCS+= sha1_one.c sha1dgst.c sha256.c sha512.c sha_dgst.c sha_one.c
@@ -216,7 +228,7 @@ SRCS+=      by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c \
 
 # x509v3
 SRCS+= pcy_cache.c pcy_data.c pcy_lib.c pcy_map.c pcy_node.c pcy_tree.c \
-       v3_akey.c v3_akeya.c v3_alt.c v3_bcons.c v3_bitst.c \
+       v3_addr.c v3_akey.c v3_akeya.c v3_asid.c v3_alt.c v3_bcons.c v3_bitst.c \
        v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c \
        v3_genn.c v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ncons.c v3_ocsp.c \
        v3_pci.c v3_pcia.c v3_pcons.c v3_pmaps.c v3_pku.c v3_prn.c v3_purp.c \