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.1j.tar.gz
      4 #
      5 # This script will append to the following variables:
      6 #
      7 #    LOCAL_CFLAGS
      8 #    LOCAL_C_INCLUDES
      9 #    LOCAL_SRC_FILES_$(TARGET_ARCH)
     10 #    LOCAL_SRC_FILES_$(TARGET_2ND_ARCH)
     11 #    LOCAL_CFLAGS_$(TARGET_ARCH)
     12 #    LOCAL_CFLAGS_$(TARGET_2ND_ARCH)
     13 #    LOCAL_ADDITIONAL_DEPENDENCIES
     14 
     15 
     16 LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Crypto-config-trusty.mk
     17 
     18 common_cflags := \
     19   -DGETPID_IS_MEANINGLESS \
     20   -DNO_WINDOWS_BRAINDEATH \
     21 
     22 common_src_files := \
     23   Crypto-config.mk \
     24   crypto/aes/aes_cbc.c \
     25   crypto/aes/aes_misc.c \
     26   crypto/asn1/a_bitstr.c \
     27   crypto/asn1/a_d2i_fp.c \
     28   crypto/asn1/a_int.c \
     29   crypto/asn1/a_object.c \
     30   crypto/asn1/a_octet.c \
     31   crypto/asn1/a_type.c \
     32   crypto/asn1/ameth_lib.c \
     33   crypto/asn1/asn1_lib.c \
     34   crypto/asn1/asn_pack.c \
     35   crypto/asn1/d2i_pr.c \
     36   crypto/asn1/f_int.c \
     37   crypto/asn1/i2d_pr.c \
     38   crypto/asn1/p8_pkey.c \
     39   crypto/asn1/t_pkey.c \
     40   crypto/asn1/t_x509.c \
     41   crypto/asn1/tasn_dec.c \
     42   crypto/asn1/tasn_enc.c \
     43   crypto/asn1/tasn_fre.c \
     44   crypto/asn1/tasn_new.c \
     45   crypto/asn1/tasn_typ.c \
     46   crypto/asn1/tasn_utl.c \
     47   crypto/asn1/x_algor.c \
     48   crypto/asn1/x_attrib.c \
     49   crypto/asn1/x_bignum.c \
     50   crypto/asn1/x_long.c \
     51   crypto/asn1/x_pubkey.c \
     52   crypto/asn1/x_sig.c \
     53   crypto/bio/b_print.c \
     54   crypto/bio/bio_lib.c \
     55   crypto/bio/bss_mem.c \
     56   crypto/bn/bn_add.c \
     57   crypto/bn/bn_asm.c \
     58   crypto/bn/bn_blind.c \
     59   crypto/bn/bn_ctx.c \
     60   crypto/bn/bn_div.c \
     61   crypto/bn/bn_exp.c \
     62   crypto/bn/bn_exp2.c \
     63   crypto/bn/bn_gcd.c \
     64   crypto/bn/bn_gf2m.c \
     65   crypto/bn/bn_kron.c \
     66   crypto/bn/bn_lib.c \
     67   crypto/bn/bn_mod.c \
     68   crypto/bn/bn_mont.c \
     69   crypto/bn/bn_mul.c \
     70   crypto/bn/bn_nist.c \
     71   crypto/bn/bn_prime.c \
     72   crypto/bn/bn_print.c \
     73   crypto/bn/bn_rand.c \
     74   crypto/bn/bn_recp.c \
     75   crypto/bn/bn_shift.c \
     76   crypto/bn/bn_sqr.c \
     77   crypto/bn/bn_sqrt.c \
     78   crypto/bn/bn_word.c \
     79   crypto/buffer/buf_str.c \
     80   crypto/buffer/buffer.c \
     81   crypto/cmac/cm_ameth.c \
     82   crypto/cmac/cm_pmeth.c \
     83   crypto/cmac/cmac.c \
     84   crypto/cryptlib.c \
     85   crypto/dh/dh_ameth.c \
     86   crypto/dh/dh_asn1.c \
     87   crypto/dh/dh_check.c \
     88   crypto/dh/dh_gen.c \
     89   crypto/dh/dh_key.c \
     90   crypto/dh/dh_lib.c \
     91   crypto/dh/dh_pmeth.c \
     92   crypto/dsa/dsa_ameth.c \
     93   crypto/dsa/dsa_asn1.c \
     94   crypto/dsa/dsa_gen.c \
     95   crypto/dsa/dsa_key.c \
     96   crypto/dsa/dsa_lib.c \
     97   crypto/dsa/dsa_ossl.c \
     98   crypto/dsa/dsa_pmeth.c \
     99   crypto/dsa/dsa_sign.c \
    100   crypto/dsa/dsa_vrf.c \
    101   crypto/ec/ec2_mult.c \
    102   crypto/ec/ec2_oct.c \
    103   crypto/ec/ec2_smpl.c \
    104   crypto/ec/ec_ameth.c \
    105   crypto/ec/ec_asn1.c \
    106   crypto/ec/ec_curve.c \
    107   crypto/ec/ec_cvt.c \
    108   crypto/ec/ec_key.c \
    109   crypto/ec/ec_lib.c \
    110   crypto/ec/ec_mult.c \
    111   crypto/ec/ec_oct.c \
    112   crypto/ec/ec_pmeth.c \
    113   crypto/ec/ec_print.c \
    114   crypto/ec/eck_prn.c \
    115   crypto/ec/ecp_mont.c \
    116   crypto/ec/ecp_nist.c \
    117   crypto/ec/ecp_oct.c \
    118   crypto/ec/ecp_smpl.c \
    119   crypto/ecdh/ech_key.c \
    120   crypto/ecdh/ech_lib.c \
    121   crypto/ecdh/ech_ossl.c \
    122   crypto/ecdsa/ecs_asn1.c \
    123   crypto/ecdsa/ecs_lib.c \
    124   crypto/ecdsa/ecs_ossl.c \
    125   crypto/ecdsa/ecs_sign.c \
    126   crypto/ecdsa/ecs_vrf.c \
    127   crypto/engine/eng_init.c \
    128   crypto/engine/eng_lib.c \
    129   crypto/engine/eng_table.c \
    130   crypto/engine/tb_asnmth.c \
    131   crypto/engine/tb_cipher.c \
    132   crypto/engine/tb_dh.c \
    133   crypto/engine/tb_digest.c \
    134   crypto/engine/tb_dsa.c \
    135   crypto/engine/tb_ecdh.c \
    136   crypto/engine/tb_ecdsa.c \
    137   crypto/engine/tb_pkmeth.c \
    138   crypto/engine/tb_rand.c \
    139   crypto/engine/tb_rsa.c \
    140   crypto/err/err.c \
    141   crypto/evp/digest.c \
    142   crypto/evp/e_aes.c \
    143   crypto/evp/evp_enc.c \
    144   crypto/evp/evp_lib.c \
    145   crypto/evp/evp_pkey.c \
    146   crypto/evp/m_sha1.c \
    147   crypto/evp/m_sigver.c \
    148   crypto/evp/names.c \
    149   crypto/evp/p_lib.c \
    150   crypto/evp/pmeth_fn.c \
    151   crypto/evp/pmeth_gn.c \
    152   crypto/evp/pmeth_lib.c \
    153   crypto/ex_data.c \
    154   crypto/hmac/hm_ameth.c \
    155   crypto/hmac/hm_pmeth.c \
    156   crypto/hmac/hmac.c \
    157   crypto/lhash/lhash.c \
    158   crypto/mem.c \
    159   crypto/mem_clr.c \
    160   crypto/mem_dbg.c \
    161   crypto/modes/cbc128.c \
    162   crypto/modes/ctr128.c \
    163   crypto/objects/o_names.c \
    164   crypto/objects/obj_dat.c \
    165   crypto/objects/obj_xref.c \
    166   crypto/pkcs7/pk7_lib.c \
    167   crypto/rand/md_rand.c \
    168   crypto/rand/rand_lib.c \
    169   crypto/rsa/rsa_ameth.c \
    170   crypto/rsa/rsa_asn1.c \
    171   crypto/rsa/rsa_chk.c \
    172   crypto/rsa/rsa_crpt.c \
    173   crypto/rsa/rsa_eay.c \
    174   crypto/rsa/rsa_gen.c \
    175   crypto/rsa/rsa_lib.c \
    176   crypto/rsa/rsa_none.c \
    177   crypto/rsa/rsa_oaep.c \
    178   crypto/rsa/rsa_pk1.c \
    179   crypto/rsa/rsa_pmeth.c \
    180   crypto/rsa/rsa_pss.c \
    181   crypto/rsa/rsa_saos.c \
    182   crypto/rsa/rsa_sign.c \
    183   crypto/rsa/rsa_ssl.c \
    184   crypto/rsa/rsa_x931.c \
    185   crypto/sha/sha1_one.c \
    186   crypto/sha/sha1dgst.c \
    187   crypto/sha/sha256.c \
    188   crypto/sha/sha512.c \
    189   crypto/stack/stack.c \
    190   crypto/x509/x_all.c \
    191   crypto/x509v3/v3_utl.c \
    192 
    193 common_c_includes := \
    194   external/openssl/. \
    195   external/openssl/crypto \
    196   external/openssl/crypto/asn1 \
    197   external/openssl/crypto/evp \
    198   external/openssl/crypto/modes \
    199   external/openssl/include \
    200   external/openssl/include/openssl \
    201 
    202 arm_cflags := \
    203   -DAES_ASM \
    204   -DGHASH_ASM \
    205   -DOPENSSL_BN_ASM_GF2m \
    206   -DOPENSSL_BN_ASM_MONT \
    207   -DSHA1_ASM \
    208   -DSHA256_ASM \
    209   -DSHA512_ASM \
    210 
    211 arm_src_files := \
    212   crypto/aes/asm/aes-armv4.S \
    213   crypto/bn/asm/armv4-gf2m.S \
    214   crypto/bn/asm/armv4-mont.S \
    215   crypto/sha/asm/sha1-armv4-large.S \
    216   crypto/sha/asm/sha256-armv4.S \
    217   crypto/sha/asm/sha512-armv4.S \
    218 
    219 arm_exclude_files :=
    220 
    221 arm64_cflags :=
    222 
    223 arm64_src_files :=
    224 
    225 arm64_exclude_files :=
    226 
    227 x86_cflags :=
    228 
    229 x86_src_files :=
    230 
    231 x86_exclude_files :=
    232 
    233 x86_64_cflags :=
    234 
    235 x86_64_src_files :=
    236 
    237 x86_64_exclude_files :=
    238 
    239 mips_cflags :=
    240 
    241 mips_src_files :=
    242 
    243 mips_exclude_files :=
    244 
    245 
    246 LOCAL_CFLAGS += $(common_cflags)
    247 LOCAL_C_INCLUDES += $(common_c_includes)
    248 
    249 LOCAL_SRC_FILES_arm += $(filter-out $(arm_exclude_files),$(common_src_files) $(arm_src_files))
    250 LOCAL_CFLAGS_arm += $(arm_cflags)
    251 
    252 LOCAL_SRC_FILES_arm64 += $(filter-out $(arm64_exclude_files),$(common_src_files) $(arm64_src_files))
    253 LOCAL_CFLAGS_arm64 += $(arm64_cflags)
    254 
    255 LOCAL_SRC_FILES_x86 += $(filter-out $(x86_exclude_files),$(common_src_files) $(x86_src_files))
    256 LOCAL_CFLAGS_x86 += $(x86_cflags)
    257 
    258 LOCAL_SRC_FILES_x86_64 += $(filter-out $(x86_64_exclude_files),$(common_src_files) $(x86_64_src_files))
    259 LOCAL_CFLAGS_x86_64 += $(x86_64_cflags)
    260 
    261 LOCAL_SRC_FILES_mips += $(filter-out $(mips_exclude_files),$(common_src_files) $(mips_src_files))
    262 LOCAL_CFLAGS_mips += $(mips_cflags)
    263