Home | History | Annotate | Download | only in openssl
      1 # Auto-generated - DO NOT EDIT!
      2 # To regenerate, edit openssl.config, then run:
      3 #     ./import_openssl.sh import /path/to/openssl-1.0.1e.tar.gz
      4 #
      5 # Before including this file, the local Android.mk must define the following
      6 # variables:
      7 #
      8 #    local_c_flags
      9 #    local_c_includes
     10 #    local_additional_dependencies
     11 #
     12 # This script will define the following variables:
     13 #
     14 #    target_c_flags
     15 #    target_c_includes
     16 #    target_src_files
     17 #
     18 #    host_c_flags
     19 #    host_c_includes
     20 #    host_src_files
     21 #
     22 
     23 # Ensure these are empty.
     24 unknown_arch_c_flags :=
     25 unknown_arch_src_files :=
     26 unknown_arch_exclude_files :=
     27 
     28 
     29 common_c_flags := \
     30   -DNO_WINDOWS_BRAINDEATH \
     31 
     32 common_src_files := \
     33   crypto/aes/aes_cbc.c \
     34   crypto/aes/aes_cfb.c \
     35   crypto/aes/aes_core.c \
     36   crypto/aes/aes_ctr.c \
     37   crypto/aes/aes_ecb.c \
     38   crypto/aes/aes_misc.c \
     39   crypto/aes/aes_ofb.c \
     40   crypto/aes/aes_wrap.c \
     41   crypto/asn1/a_bitstr.c \
     42   crypto/asn1/a_bool.c \
     43   crypto/asn1/a_bytes.c \
     44   crypto/asn1/a_d2i_fp.c \
     45   crypto/asn1/a_digest.c \
     46   crypto/asn1/a_dup.c \
     47   crypto/asn1/a_enum.c \
     48   crypto/asn1/a_gentm.c \
     49   crypto/asn1/a_i2d_fp.c \
     50   crypto/asn1/a_int.c \
     51   crypto/asn1/a_mbstr.c \
     52   crypto/asn1/a_object.c \
     53   crypto/asn1/a_octet.c \
     54   crypto/asn1/a_print.c \
     55   crypto/asn1/a_set.c \
     56   crypto/asn1/a_sign.c \
     57   crypto/asn1/a_strex.c \
     58   crypto/asn1/a_strnid.c \
     59   crypto/asn1/a_time.c \
     60   crypto/asn1/a_type.c \
     61   crypto/asn1/a_utctm.c \
     62   crypto/asn1/a_utf8.c \
     63   crypto/asn1/a_verify.c \
     64   crypto/asn1/ameth_lib.c \
     65   crypto/asn1/asn1_err.c \
     66   crypto/asn1/asn1_gen.c \
     67   crypto/asn1/asn1_lib.c \
     68   crypto/asn1/asn1_par.c \
     69   crypto/asn1/asn_mime.c \
     70   crypto/asn1/asn_moid.c \
     71   crypto/asn1/asn_pack.c \
     72   crypto/asn1/bio_asn1.c \
     73   crypto/asn1/bio_ndef.c \
     74   crypto/asn1/d2i_pr.c \
     75   crypto/asn1/d2i_pu.c \
     76   crypto/asn1/evp_asn1.c \
     77   crypto/asn1/f_enum.c \
     78   crypto/asn1/f_int.c \
     79   crypto/asn1/f_string.c \
     80   crypto/asn1/i2d_pr.c \
     81   crypto/asn1/i2d_pu.c \
     82   crypto/asn1/n_pkey.c \
     83   crypto/asn1/nsseq.c \
     84   crypto/asn1/p5_pbe.c \
     85   crypto/asn1/p5_pbev2.c \
     86   crypto/asn1/p8_pkey.c \
     87   crypto/asn1/t_bitst.c \
     88   crypto/asn1/t_crl.c \
     89   crypto/asn1/t_pkey.c \
     90   crypto/asn1/t_req.c \
     91   crypto/asn1/t_spki.c \
     92   crypto/asn1/t_x509.c \
     93   crypto/asn1/t_x509a.c \
     94   crypto/asn1/tasn_dec.c \
     95   crypto/asn1/tasn_enc.c \
     96   crypto/asn1/tasn_fre.c \
     97   crypto/asn1/tasn_new.c \
     98   crypto/asn1/tasn_prn.c \
     99   crypto/asn1/tasn_typ.c \
    100   crypto/asn1/tasn_utl.c \
    101   crypto/asn1/x_algor.c \
    102   crypto/asn1/x_attrib.c \
    103   crypto/asn1/x_bignum.c \
    104   crypto/asn1/x_crl.c \
    105   crypto/asn1/x_exten.c \
    106   crypto/asn1/x_info.c \
    107   crypto/asn1/x_long.c \
    108   crypto/asn1/x_name.c \
    109   crypto/asn1/x_nx509.c \
    110   crypto/asn1/x_pkey.c \
    111   crypto/asn1/x_pubkey.c \
    112   crypto/asn1/x_req.c \
    113   crypto/asn1/x_sig.c \
    114   crypto/asn1/x_spki.c \
    115   crypto/asn1/x_val.c \
    116   crypto/asn1/x_x509.c \
    117   crypto/asn1/x_x509a.c \
    118   crypto/bf/bf_cfb64.c \
    119   crypto/bf/bf_ecb.c \
    120   crypto/bf/bf_enc.c \
    121   crypto/bf/bf_ofb64.c \
    122   crypto/bf/bf_skey.c \
    123   crypto/bio/b_dump.c \
    124   crypto/bio/b_print.c \
    125   crypto/bio/b_sock.c \
    126   crypto/bio/bf_buff.c \
    127   crypto/bio/bf_nbio.c \
    128   crypto/bio/bf_null.c \
    129   crypto/bio/bio_cb.c \
    130   crypto/bio/bio_err.c \
    131   crypto/bio/bio_lib.c \
    132   crypto/bio/bss_acpt.c \
    133   crypto/bio/bss_bio.c \
    134   crypto/bio/bss_conn.c \
    135   crypto/bio/bss_dgram.c \
    136   crypto/bio/bss_fd.c \
    137   crypto/bio/bss_file.c \
    138   crypto/bio/bss_log.c \
    139   crypto/bio/bss_mem.c \
    140   crypto/bio/bss_null.c \
    141   crypto/bio/bss_sock.c \
    142   crypto/bn/bn_add.c \
    143   crypto/bn/bn_asm.c \
    144   crypto/bn/bn_blind.c \
    145   crypto/bn/bn_const.c \
    146   crypto/bn/bn_ctx.c \
    147   crypto/bn/bn_div.c \
    148   crypto/bn/bn_err.c \
    149   crypto/bn/bn_exp.c \
    150   crypto/bn/bn_exp2.c \
    151   crypto/bn/bn_gcd.c \
    152   crypto/bn/bn_gf2m.c \
    153   crypto/bn/bn_kron.c \
    154   crypto/bn/bn_lib.c \
    155   crypto/bn/bn_mod.c \
    156   crypto/bn/bn_mont.c \
    157   crypto/bn/bn_mpi.c \
    158   crypto/bn/bn_mul.c \
    159   crypto/bn/bn_nist.c \
    160   crypto/bn/bn_prime.c \
    161   crypto/bn/bn_print.c \
    162   crypto/bn/bn_rand.c \
    163   crypto/bn/bn_recp.c \
    164   crypto/bn/bn_shift.c \
    165   crypto/bn/bn_sqr.c \
    166   crypto/bn/bn_sqrt.c \
    167   crypto/bn/bn_word.c \
    168   crypto/buffer/buf_err.c \
    169   crypto/buffer/buf_str.c \
    170   crypto/buffer/buffer.c \
    171   crypto/cmac/cm_ameth.c \
    172   crypto/cmac/cm_pmeth.c \
    173   crypto/cmac/cmac.c \
    174   crypto/comp/c_rle.c \
    175   crypto/comp/c_zlib.c \
    176   crypto/comp/comp_err.c \
    177   crypto/comp/comp_lib.c \
    178   crypto/conf/conf_api.c \
    179   crypto/conf/conf_def.c \
    180   crypto/conf/conf_err.c \
    181   crypto/conf/conf_lib.c \
    182   crypto/conf/conf_mall.c \
    183   crypto/conf/conf_mod.c \
    184   crypto/conf/conf_sap.c \
    185   crypto/cpt_err.c \
    186   crypto/cryptlib.c \
    187   crypto/cversion.c \
    188   crypto/des/cbc_cksm.c \
    189   crypto/des/cbc_enc.c \
    190   crypto/des/cfb64ede.c \
    191   crypto/des/cfb64enc.c \
    192   crypto/des/cfb_enc.c \
    193   crypto/des/des_enc.c \
    194   crypto/des/des_old.c \
    195   crypto/des/des_old2.c \
    196   crypto/des/ecb3_enc.c \
    197   crypto/des/ecb_enc.c \
    198   crypto/des/ede_cbcm_enc.c \
    199   crypto/des/enc_read.c \
    200   crypto/des/enc_writ.c \
    201   crypto/des/fcrypt.c \
    202   crypto/des/fcrypt_b.c \
    203   crypto/des/ofb64ede.c \
    204   crypto/des/ofb64enc.c \
    205   crypto/des/ofb_enc.c \
    206   crypto/des/pcbc_enc.c \
    207   crypto/des/qud_cksm.c \
    208   crypto/des/rand_key.c \
    209   crypto/des/read2pwd.c \
    210   crypto/des/rpc_enc.c \
    211   crypto/des/set_key.c \
    212   crypto/des/str2key.c \
    213   crypto/des/xcbc_enc.c \
    214   crypto/dh/dh_ameth.c \
    215   crypto/dh/dh_asn1.c \
    216   crypto/dh/dh_check.c \
    217   crypto/dh/dh_depr.c \
    218   crypto/dh/dh_err.c \
    219   crypto/dh/dh_gen.c \
    220   crypto/dh/dh_key.c \
    221   crypto/dh/dh_lib.c \
    222   crypto/dh/dh_pmeth.c \
    223   crypto/dsa/dsa_ameth.c \
    224   crypto/dsa/dsa_asn1.c \
    225   crypto/dsa/dsa_depr.c \
    226   crypto/dsa/dsa_err.c \
    227   crypto/dsa/dsa_gen.c \
    228   crypto/dsa/dsa_key.c \
    229   crypto/dsa/dsa_lib.c \
    230   crypto/dsa/dsa_ossl.c \
    231   crypto/dsa/dsa_pmeth.c \
    232   crypto/dsa/dsa_prn.c \
    233   crypto/dsa/dsa_sign.c \
    234   crypto/dsa/dsa_vrf.c \
    235   crypto/dso/dso_dl.c \
    236   crypto/dso/dso_dlfcn.c \
    237   crypto/dso/dso_err.c \
    238   crypto/dso/dso_lib.c \
    239   crypto/dso/dso_null.c \
    240   crypto/dso/dso_openssl.c \
    241   crypto/ebcdic.c \
    242   crypto/ec/ec2_mult.c \
    243   crypto/ec/ec2_oct.c \
    244   crypto/ec/ec2_smpl.c \
    245   crypto/ec/ec_ameth.c \
    246   crypto/ec/ec_asn1.c \
    247   crypto/ec/ec_check.c \
    248   crypto/ec/ec_curve.c \
    249   crypto/ec/ec_cvt.c \
    250   crypto/ec/ec_err.c \
    251   crypto/ec/ec_key.c \
    252   crypto/ec/ec_lib.c \
    253   crypto/ec/ec_mult.c \
    254   crypto/ec/ec_oct.c \
    255   crypto/ec/ec_pmeth.c \
    256   crypto/ec/ec_print.c \
    257   crypto/ec/eck_prn.c \
    258   crypto/ec/ecp_mont.c \
    259   crypto/ec/ecp_nist.c \
    260   crypto/ec/ecp_oct.c \
    261   crypto/ec/ecp_smpl.c \
    262   crypto/ecdh/ech_err.c \
    263   crypto/ecdh/ech_key.c \
    264   crypto/ecdh/ech_lib.c \
    265   crypto/ecdh/ech_ossl.c \
    266   crypto/ecdsa/ecs_asn1.c \
    267   crypto/ecdsa/ecs_err.c \
    268   crypto/ecdsa/ecs_lib.c \
    269   crypto/ecdsa/ecs_ossl.c \
    270   crypto/ecdsa/ecs_sign.c \
    271   crypto/ecdsa/ecs_vrf.c \
    272   crypto/engine/eng_all.c \
    273   crypto/engine/eng_cnf.c \
    274   crypto/engine/eng_ctrl.c \
    275   crypto/engine/eng_dyn.c \
    276   crypto/engine/eng_err.c \
    277   crypto/engine/eng_fat.c \
    278   crypto/engine/eng_init.c \
    279   crypto/engine/eng_lib.c \
    280   crypto/engine/eng_list.c \
    281   crypto/engine/eng_pkey.c \
    282   crypto/engine/eng_table.c \
    283   crypto/engine/tb_asnmth.c \
    284   crypto/engine/tb_cipher.c \
    285   crypto/engine/tb_dh.c \
    286   crypto/engine/tb_digest.c \
    287   crypto/engine/tb_dsa.c \
    288   crypto/engine/tb_ecdh.c \
    289   crypto/engine/tb_ecdsa.c \
    290   crypto/engine/tb_pkmeth.c \
    291   crypto/engine/tb_rand.c \
    292   crypto/engine/tb_rsa.c \
    293   crypto/engine/tb_store.c \
    294   crypto/err/err.c \
    295   crypto/err/err_all.c \
    296   crypto/err/err_prn.c \
    297   crypto/evp/bio_b64.c \
    298   crypto/evp/bio_enc.c \
    299   crypto/evp/bio_md.c \
    300   crypto/evp/bio_ok.c \
    301   crypto/evp/c_all.c \
    302   crypto/evp/c_allc.c \
    303   crypto/evp/c_alld.c \
    304   crypto/evp/digest.c \
    305   crypto/evp/e_aes.c \
    306   crypto/evp/e_aes_cbc_hmac_sha1.c \
    307   crypto/evp/e_bf.c \
    308   crypto/evp/e_des.c \
    309   crypto/evp/e_des3.c \
    310   crypto/evp/e_null.c \
    311   crypto/evp/e_old.c \
    312   crypto/evp/e_rc2.c \
    313   crypto/evp/e_rc4.c \
    314   crypto/evp/e_rc4_hmac_md5.c \
    315   crypto/evp/e_rc5.c \
    316   crypto/evp/e_xcbc_d.c \
    317   crypto/evp/encode.c \
    318   crypto/evp/evp_acnf.c \
    319   crypto/evp/evp_cnf.c \
    320   crypto/evp/evp_enc.c \
    321   crypto/evp/evp_err.c \
    322   crypto/evp/evp_key.c \
    323   crypto/evp/evp_lib.c \
    324   crypto/evp/evp_pbe.c \
    325   crypto/evp/evp_pkey.c \
    326   crypto/evp/m_dss.c \
    327   crypto/evp/m_dss1.c \
    328   crypto/evp/m_ecdsa.c \
    329   crypto/evp/m_md4.c \
    330   crypto/evp/m_md5.c \
    331   crypto/evp/m_mdc2.c \
    332   crypto/evp/m_null.c \
    333   crypto/evp/m_ripemd.c \
    334   crypto/evp/m_sha1.c \
    335   crypto/evp/m_sigver.c \
    336   crypto/evp/m_wp.c \
    337   crypto/evp/names.c \
    338   crypto/evp/p5_crpt.c \
    339   crypto/evp/p5_crpt2.c \
    340   crypto/evp/p_dec.c \
    341   crypto/evp/p_enc.c \
    342   crypto/evp/p_lib.c \
    343   crypto/evp/p_open.c \
    344   crypto/evp/p_seal.c \
    345   crypto/evp/p_sign.c \
    346   crypto/evp/p_verify.c \
    347   crypto/evp/pmeth_fn.c \
    348   crypto/evp/pmeth_gn.c \
    349   crypto/evp/pmeth_lib.c \
    350   crypto/ex_data.c \
    351   crypto/hmac/hm_ameth.c \
    352   crypto/hmac/hm_pmeth.c \
    353   crypto/hmac/hmac.c \
    354   crypto/krb5/krb5_asn.c \
    355   crypto/lhash/lh_stats.c \
    356   crypto/lhash/lhash.c \
    357   crypto/md4/md4_dgst.c \
    358   crypto/md4/md4_one.c \
    359   crypto/md5/md5_dgst.c \
    360   crypto/md5/md5_one.c \
    361   crypto/mem.c \
    362   crypto/mem_clr.c \
    363   crypto/mem_dbg.c \
    364   crypto/modes/cbc128.c \
    365   crypto/modes/ccm128.c \
    366   crypto/modes/cfb128.c \
    367   crypto/modes/ctr128.c \
    368   crypto/modes/gcm128.c \
    369   crypto/modes/ofb128.c \
    370   crypto/modes/xts128.c \
    371   crypto/o_dir.c \
    372   crypto/o_init.c \
    373   crypto/o_str.c \
    374   crypto/o_time.c \
    375   crypto/objects/o_names.c \
    376   crypto/objects/obj_dat.c \
    377   crypto/objects/obj_err.c \
    378   crypto/objects/obj_lib.c \
    379   crypto/objects/obj_xref.c \
    380   crypto/ocsp/ocsp_asn.c \
    381   crypto/ocsp/ocsp_cl.c \
    382   crypto/ocsp/ocsp_err.c \
    383   crypto/ocsp/ocsp_ext.c \
    384   crypto/ocsp/ocsp_ht.c \
    385   crypto/ocsp/ocsp_lib.c \
    386   crypto/ocsp/ocsp_prn.c \
    387   crypto/ocsp/ocsp_srv.c \
    388   crypto/ocsp/ocsp_vfy.c \
    389   crypto/pem/pem_all.c \
    390   crypto/pem/pem_err.c \
    391   crypto/pem/pem_info.c \
    392   crypto/pem/pem_lib.c \
    393   crypto/pem/pem_oth.c \
    394   crypto/pem/pem_pk8.c \
    395   crypto/pem/pem_pkey.c \
    396   crypto/pem/pem_seal.c \
    397   crypto/pem/pem_sign.c \
    398   crypto/pem/pem_x509.c \
    399   crypto/pem/pem_xaux.c \
    400   crypto/pem/pvkfmt.c \
    401   crypto/pkcs12/p12_add.c \
    402   crypto/pkcs12/p12_asn.c \
    403   crypto/pkcs12/p12_attr.c \
    404   crypto/pkcs12/p12_crpt.c \
    405   crypto/pkcs12/p12_crt.c \
    406   crypto/pkcs12/p12_decr.c \
    407   crypto/pkcs12/p12_init.c \
    408   crypto/pkcs12/p12_key.c \
    409   crypto/pkcs12/p12_kiss.c \
    410   crypto/pkcs12/p12_mutl.c \
    411   crypto/pkcs12/p12_npas.c \
    412   crypto/pkcs12/p12_p8d.c \
    413   crypto/pkcs12/p12_p8e.c \
    414   crypto/pkcs12/p12_utl.c \
    415   crypto/pkcs12/pk12err.c \
    416   crypto/pkcs7/pk7_asn1.c \
    417   crypto/pkcs7/pk7_attr.c \
    418   crypto/pkcs7/pk7_doit.c \
    419   crypto/pkcs7/pk7_lib.c \
    420   crypto/pkcs7/pk7_mime.c \
    421   crypto/pkcs7/pk7_smime.c \
    422   crypto/pkcs7/pkcs7err.c \
    423   crypto/pqueue/pqueue.c \
    424   crypto/rand/md_rand.c \
    425   crypto/rand/rand_egd.c \
    426   crypto/rand/rand_err.c \
    427   crypto/rand/rand_lib.c \
    428   crypto/rand/rand_unix.c \
    429   crypto/rand/rand_win.c \
    430   crypto/rand/randfile.c \
    431   crypto/rc2/rc2_cbc.c \
    432   crypto/rc2/rc2_ecb.c \
    433   crypto/rc2/rc2_skey.c \
    434   crypto/rc2/rc2cfb64.c \
    435   crypto/rc2/rc2ofb64.c \
    436   crypto/rc4/rc4_enc.c \
    437   crypto/rc4/rc4_skey.c \
    438   crypto/rc4/rc4_utl.c \
    439   crypto/ripemd/rmd_dgst.c \
    440   crypto/ripemd/rmd_one.c \
    441   crypto/rsa/rsa_ameth.c \
    442   crypto/rsa/rsa_asn1.c \
    443   crypto/rsa/rsa_chk.c \
    444   crypto/rsa/rsa_crpt.c \
    445   crypto/rsa/rsa_eay.c \
    446   crypto/rsa/rsa_err.c \
    447   crypto/rsa/rsa_gen.c \
    448   crypto/rsa/rsa_lib.c \
    449   crypto/rsa/rsa_none.c \
    450   crypto/rsa/rsa_null.c \
    451   crypto/rsa/rsa_oaep.c \
    452   crypto/rsa/rsa_pk1.c \
    453   crypto/rsa/rsa_pmeth.c \
    454   crypto/rsa/rsa_prn.c \
    455   crypto/rsa/rsa_pss.c \
    456   crypto/rsa/rsa_saos.c \
    457   crypto/rsa/rsa_sign.c \
    458   crypto/rsa/rsa_ssl.c \
    459   crypto/rsa/rsa_x931.c \
    460   crypto/sha/sha1_one.c \
    461   crypto/sha/sha1dgst.c \
    462   crypto/sha/sha256.c \
    463   crypto/sha/sha512.c \
    464   crypto/sha/sha_dgst.c \
    465   crypto/srp/srp_lib.c \
    466   crypto/srp/srp_vfy.c \
    467   crypto/stack/stack.c \
    468   crypto/ts/ts_err.c \
    469   crypto/txt_db/txt_db.c \
    470   crypto/ui/ui_compat.c \
    471   crypto/ui/ui_err.c \
    472   crypto/ui/ui_lib.c \
    473   crypto/ui/ui_openssl.c \
    474   crypto/ui/ui_util.c \
    475   crypto/uid.c \
    476   crypto/x509/by_dir.c \
    477   crypto/x509/by_file.c \
    478   crypto/x509/x509_att.c \
    479   crypto/x509/x509_cmp.c \
    480   crypto/x509/x509_d2.c \
    481   crypto/x509/x509_def.c \
    482   crypto/x509/x509_err.c \
    483   crypto/x509/x509_ext.c \
    484   crypto/x509/x509_lu.c \
    485   crypto/x509/x509_obj.c \
    486   crypto/x509/x509_r2x.c \
    487   crypto/x509/x509_req.c \
    488   crypto/x509/x509_set.c \
    489   crypto/x509/x509_trs.c \
    490   crypto/x509/x509_txt.c \
    491   crypto/x509/x509_v3.c \
    492   crypto/x509/x509_vfy.c \
    493   crypto/x509/x509_vpm.c \
    494   crypto/x509/x509cset.c \
    495   crypto/x509/x509name.c \
    496   crypto/x509/x509rset.c \
    497   crypto/x509/x509spki.c \
    498   crypto/x509/x509type.c \
    499   crypto/x509/x_all.c \
    500   crypto/x509v3/pcy_cache.c \
    501   crypto/x509v3/pcy_data.c \
    502   crypto/x509v3/pcy_lib.c \
    503   crypto/x509v3/pcy_map.c \
    504   crypto/x509v3/pcy_node.c \
    505   crypto/x509v3/pcy_tree.c \
    506   crypto/x509v3/v3_akey.c \
    507   crypto/x509v3/v3_akeya.c \
    508   crypto/x509v3/v3_alt.c \
    509   crypto/x509v3/v3_bcons.c \
    510   crypto/x509v3/v3_bitst.c \
    511   crypto/x509v3/v3_conf.c \
    512   crypto/x509v3/v3_cpols.c \
    513   crypto/x509v3/v3_crld.c \
    514   crypto/x509v3/v3_enum.c \
    515   crypto/x509v3/v3_extku.c \
    516   crypto/x509v3/v3_genn.c \
    517   crypto/x509v3/v3_ia5.c \
    518   crypto/x509v3/v3_info.c \
    519   crypto/x509v3/v3_int.c \
    520   crypto/x509v3/v3_lib.c \
    521   crypto/x509v3/v3_ncons.c \
    522   crypto/x509v3/v3_ocsp.c \
    523   crypto/x509v3/v3_pci.c \
    524   crypto/x509v3/v3_pcia.c \
    525   crypto/x509v3/v3_pcons.c \
    526   crypto/x509v3/v3_pku.c \
    527   crypto/x509v3/v3_pmaps.c \
    528   crypto/x509v3/v3_prn.c \
    529   crypto/x509v3/v3_purp.c \
    530   crypto/x509v3/v3_skey.c \
    531   crypto/x509v3/v3_sxnet.c \
    532   crypto/x509v3/v3_utl.c \
    533   crypto/x509v3/v3err.c \
    534 
    535 common_c_includes := \
    536   . \
    537   crypto \
    538   crypto/asn1 \
    539   crypto/evp \
    540   crypto/modes \
    541   include \
    542   include/openssl \
    543 
    544 arm_c_flags := \
    545   -DAES_ASM \
    546   -DGHASH_ASM \
    547   -DOPENSSL_BN_ASM_GF2m \
    548   -DOPENSSL_BN_ASM_MONT \
    549   -DSHA1_ASM \
    550   -DSHA256_ASM \
    551   -DSHA512_ASM \
    552 
    553 arm_src_files := \
    554   crypto/aes/asm/aes-armv4.S \
    555   crypto/bn/asm/armv4-gf2m.S \
    556   crypto/bn/asm/armv4-mont.S \
    557   crypto/modes/asm/ghash-armv4.S \
    558   crypto/sha/asm/sha1-armv4-large.S \
    559   crypto/sha/asm/sha256-armv4.S \
    560   crypto/sha/asm/sha512-armv4.S \
    561 
    562 arm_exclude_files := \
    563   crypto/aes/aes_core.c \
    564 
    565 x86_c_flags := \
    566   -DAES_ASM \
    567   -DDES_PTR \
    568   -DDES_RISC1 \
    569   -DDES_UNROLL \
    570   -DGHASH_ASM \
    571   -DMD5_ASM \
    572   -DOPENSSL_BN_ASM_GF2m \
    573   -DOPENSSL_BN_ASM_MONT \
    574   -DOPENSSL_BN_ASM_PART_WORDS \
    575   -DOPENSSL_CPUID_OBJ \
    576   -DSHA1_ASM \
    577   -DSHA256_ASM \
    578   -DSHA512_ASM \
    579 
    580 x86_src_files := \
    581   crypto/aes/asm/aes-586.S \
    582   crypto/aes/asm/aesni-x86.S \
    583   crypto/aes/asm/vpaes-x86.S \
    584   crypto/bf/asm/bf-586.S \
    585   crypto/bn/asm/bn-586.S \
    586   crypto/bn/asm/co-586.S \
    587   crypto/bn/asm/x86-gf2m.S \
    588   crypto/bn/asm/x86-mont.S \
    589   crypto/des/asm/crypt586.S \
    590   crypto/des/asm/des-586.S \
    591   crypto/md5/asm/md5-586.S \
    592   crypto/modes/asm/ghash-x86.S \
    593   crypto/sha/asm/sha1-586.S \
    594   crypto/sha/asm/sha256-586.S \
    595   crypto/sha/asm/sha512-586.S \
    596   crypto/x86cpuid.S \
    597 
    598 x86_exclude_files := \
    599   crypto/aes/aes_cbc.c \
    600   crypto/aes/aes_core.c \
    601   crypto/bf/bf_enc.c \
    602   crypto/bn/bn_asm.c \
    603   crypto/des/des_enc.c \
    604   crypto/des/fcrypt_b.c \
    605   crypto/mem_clr.c \
    606 
    607 x86_64_c_flags := \
    608   -DAES_ASM \
    609   -DDES_PTR \
    610   -DDES_RISC1 \
    611   -DDES_UNROLL \
    612   -DGHASH_ASM \
    613   -DMD5_ASM \
    614   -DOPENSSL_BN_ASM_GF2m \
    615   -DOPENSSL_BN_ASM_MONT \
    616   -DOPENSSL_CPUID_OBJ \
    617   -DSHA1_ASM \
    618   -DSHA256_ASM \
    619   -DSHA512_ASM \
    620 
    621 x86_64_src_files := \
    622   crypto/aes/asm/aes-x86_64.S \
    623   crypto/aes/asm/aesni-sha1-x86_64.S \
    624   crypto/aes/asm/aesni-x86_64.S \
    625   crypto/aes/asm/bsaes-x86_64.S \
    626   crypto/aes/asm/vpaes-x86_64.S \
    627   crypto/bn/asm/modexp512-x86_64.S \
    628   crypto/bn/asm/x86_64-gcc.c \
    629   crypto/bn/asm/x86_64-gf2m.S \
    630   crypto/bn/asm/x86_64-mont.S \
    631   crypto/bn/asm/x86_64-mont5.S \
    632   crypto/md5/asm/md5-x86_64.S \
    633   crypto/modes/asm/ghash-x86_64.S \
    634   crypto/rc4/asm/rc4-md5-x86_64.S \
    635   crypto/rc4/asm/rc4-x86_64.S \
    636   crypto/sha/asm/sha1-x86_64.S \
    637   crypto/sha/asm/sha256-x86_64.S \
    638   crypto/sha/asm/sha512-x86_64.S \
    639   crypto/x86_64cpuid.S \
    640 
    641 x86_64_exclude_files := \
    642   crypto/aes/aes_cbc.c \
    643   crypto/aes/aes_core.c \
    644   crypto/mem_clr.c \
    645   crypto/rc4/rc4_enc.c \
    646 
    647 mips_c_flags := \
    648   -DAES_ASM \
    649   -DOPENSSL_BN_ASM_MONT \
    650   -DSHA1_ASM \
    651   -DSHA256_ASM \
    652 
    653 mips_src_files := \
    654   crypto/aes/asm/aes-mips.S \
    655   crypto/bn/asm/bn-mips.S \
    656   crypto/bn/asm/mips-mont.S \
    657   crypto/sha/asm/sha1-mips.S \
    658   crypto/sha/asm/sha256-mips.S \
    659 
    660 mips_exclude_files := \
    661   crypto/aes/aes_core.c \
    662   crypto/bn/bn_asm.c \
    663 
    664 target_arch := $(TARGET_ARCH)
    665 ifeq ($(target_arch)-$(TARGET_HAS_BIGENDIAN),mips-true)
    666 target_arch := unknown_arch
    667 endif
    668 
    669 target_c_flags    := $(common_c_flags) $($(target_arch)_c_flags) $(local_c_flags)
    670 target_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
    671 target_src_files  := $(common_src_files) $($(target_arch)_src_files)
    672 target_src_files  := $(filter-out $($(target_arch)_exclude_files), $(target_src_files))
    673 
    674 ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
    675 host_arch := x86
    676 else
    677 host_arch := unknown_arch
    678 endif
    679 
    680 host_c_flags    := $(common_c_flags) $($(host_arch)_c_flags) $(local_c_flags)
    681 host_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
    682 host_src_files  := $(common_src_files) $($(host_arch)_src_files)
    683 host_src_files  := $(filter-out $($(host_arch)_exclude_files), $(host_src_files))
    684 
    685 local_additional_dependencies += $(LOCAL_PATH)/Crypto-config.mk
    686 
    687