1arm_cflags := -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DGHASH_ASM -DAES_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM 2mips_cflags := -DOPENSSL_BN_ASM_MONT -DAES_ASM -DSHA1_ASM -DSHA256_ASM 3 4arm_src_files := \ 5 crypto/aes/asm/aes-armv4.s \ 6 crypto/bn/asm/armv4-gf2m.s \ 7 crypto/bn/asm/armv4-mont.s \ 8 crypto/bn/bn_asm.c \ 9 crypto/modes/asm/ghash-armv4.s \ 10 crypto/sha/asm/sha1-armv4-large.s \ 11 crypto/sha/asm/sha256-armv4.s \ 12 crypto/sha/asm/sha512-armv4.s 13 14mips_src_files := \ 15 crypto/aes/asm/aes-mips.s \ 16 crypto/bn/asm/bn-mips.s \ 17 crypto/bn/asm/mips-mont.s \ 18 crypto/sha/asm/sha1-mips.s \ 19 crypto/sha/asm/sha256-mips.s 20 21other_arch_src_files := \ 22 crypto/aes/aes_core.c \ 23 crypto/bn/bn_asm.c 24 25local_src_files := \ 26 crypto/cryptlib.c \ 27 crypto/mem.c \ 28 crypto/mem_clr.c \ 29 crypto/mem_dbg.c \ 30 crypto/cversion.c \ 31 crypto/ex_data.c \ 32 crypto/cpt_err.c \ 33 crypto/ebcdic.c \ 34 crypto/uid.c \ 35 crypto/o_time.c \ 36 crypto/o_str.c \ 37 crypto/o_dir.c \ 38 crypto/aes/aes_cbc.c \ 39 crypto/aes/aes_cfb.c \ 40 crypto/aes/aes_ctr.c \ 41 crypto/aes/aes_ecb.c \ 42 crypto/aes/aes_misc.c \ 43 crypto/aes/aes_ofb.c \ 44 crypto/aes/aes_wrap.c \ 45 crypto/asn1/a_bitstr.c \ 46 crypto/asn1/a_bool.c \ 47 crypto/asn1/a_bytes.c \ 48 crypto/asn1/a_d2i_fp.c \ 49 crypto/asn1/a_digest.c \ 50 crypto/asn1/a_dup.c \ 51 crypto/asn1/a_enum.c \ 52 crypto/asn1/a_gentm.c \ 53 crypto/asn1/a_i2d_fp.c \ 54 crypto/asn1/a_int.c \ 55 crypto/asn1/a_mbstr.c \ 56 crypto/asn1/a_object.c \ 57 crypto/asn1/a_octet.c \ 58 crypto/asn1/a_print.c \ 59 crypto/asn1/a_set.c \ 60 crypto/asn1/a_sign.c \ 61 crypto/asn1/a_strex.c \ 62 crypto/asn1/a_strnid.c \ 63 crypto/asn1/a_time.c \ 64 crypto/asn1/a_type.c \ 65 crypto/asn1/a_utctm.c \ 66 crypto/asn1/a_utf8.c \ 67 crypto/asn1/a_verify.c \ 68 crypto/asn1/ameth_lib.c \ 69 crypto/asn1/asn1_err.c \ 70 crypto/asn1/asn1_gen.c \ 71 crypto/asn1/asn1_lib.c \ 72 crypto/asn1/asn1_par.c \ 73 crypto/asn1/asn_mime.c \ 74 crypto/asn1/asn_moid.c \ 75 crypto/asn1/asn_pack.c \ 76 crypto/asn1/bio_asn1.c \ 77 crypto/asn1/bio_ndef.c \ 78 crypto/asn1/d2i_pr.c \ 79 crypto/asn1/d2i_pu.c \ 80 crypto/asn1/evp_asn1.c \ 81 crypto/asn1/f_enum.c \ 82 crypto/asn1/f_int.c \ 83 crypto/asn1/f_string.c \ 84 crypto/asn1/i2d_pr.c \ 85 crypto/asn1/i2d_pu.c \ 86 crypto/asn1/n_pkey.c \ 87 crypto/asn1/nsseq.c \ 88 crypto/asn1/p5_pbe.c \ 89 crypto/asn1/p5_pbev2.c \ 90 crypto/asn1/p8_pkey.c \ 91 crypto/asn1/t_bitst.c \ 92 crypto/asn1/t_crl.c \ 93 crypto/asn1/t_pkey.c \ 94 crypto/asn1/t_req.c \ 95 crypto/asn1/t_spki.c \ 96 crypto/asn1/t_x509.c \ 97 crypto/asn1/t_x509a.c \ 98 crypto/asn1/tasn_dec.c \ 99 crypto/asn1/tasn_enc.c \ 100 crypto/asn1/tasn_fre.c \ 101 crypto/asn1/tasn_new.c \ 102 crypto/asn1/tasn_prn.c \ 103 crypto/asn1/tasn_typ.c \ 104 crypto/asn1/tasn_utl.c \ 105 crypto/asn1/x_algor.c \ 106 crypto/asn1/x_attrib.c \ 107 crypto/asn1/x_bignum.c \ 108 crypto/asn1/x_crl.c \ 109 crypto/asn1/x_exten.c \ 110 crypto/asn1/x_info.c \ 111 crypto/asn1/x_long.c \ 112 crypto/asn1/x_name.c \ 113 crypto/asn1/x_nx509.c \ 114 crypto/asn1/x_pkey.c \ 115 crypto/asn1/x_pubkey.c \ 116 crypto/asn1/x_req.c \ 117 crypto/asn1/x_sig.c \ 118 crypto/asn1/x_spki.c \ 119 crypto/asn1/x_val.c \ 120 crypto/asn1/x_x509.c \ 121 crypto/asn1/x_x509a.c \ 122 crypto/bf/bf_cfb64.c \ 123 crypto/bf/bf_ecb.c \ 124 crypto/bf/bf_enc.c \ 125 crypto/bf/bf_ofb64.c \ 126 crypto/bf/bf_skey.c \ 127 crypto/bio/b_dump.c \ 128 crypto/bio/b_print.c \ 129 crypto/bio/b_sock.c \ 130 crypto/bio/bf_buff.c \ 131 crypto/bio/bf_nbio.c \ 132 crypto/bio/bf_null.c \ 133 crypto/bio/bio_cb.c \ 134 crypto/bio/bio_err.c \ 135 crypto/bio/bio_lib.c \ 136 crypto/bio/bss_acpt.c \ 137 crypto/bio/bss_bio.c \ 138 crypto/bio/bss_conn.c \ 139 crypto/bio/bss_dgram.c \ 140 crypto/bio/bss_fd.c \ 141 crypto/bio/bss_file.c \ 142 crypto/bio/bss_log.c \ 143 crypto/bio/bss_mem.c \ 144 crypto/bio/bss_null.c \ 145 crypto/bio/bss_sock.c \ 146 crypto/bn/bn_add.c \ 147 crypto/bn/bn_blind.c \ 148 crypto/bn/bn_const.c \ 149 crypto/bn/bn_ctx.c \ 150 crypto/bn/bn_div.c \ 151 crypto/bn/bn_err.c \ 152 crypto/bn/bn_exp.c \ 153 crypto/bn/bn_exp2.c \ 154 crypto/bn/bn_gcd.c \ 155 crypto/bn/bn_gf2m.c \ 156 crypto/bn/bn_kron.c \ 157 crypto/bn/bn_lib.c \ 158 crypto/bn/bn_mod.c \ 159 crypto/bn/bn_mont.c \ 160 crypto/bn/bn_mpi.c \ 161 crypto/bn/bn_mul.c \ 162 crypto/bn/bn_nist.c \ 163 crypto/bn/bn_prime.c \ 164 crypto/bn/bn_print.c \ 165 crypto/bn/bn_rand.c \ 166 crypto/bn/bn_recp.c \ 167 crypto/bn/bn_shift.c \ 168 crypto/bn/bn_sqr.c \ 169 crypto/bn/bn_sqrt.c \ 170 crypto/bn/bn_word.c \ 171 crypto/buffer/buf_err.c \ 172 crypto/buffer/buf_str.c \ 173 crypto/buffer/buffer.c \ 174 crypto/cmac/cm_ameth.c \ 175 crypto/cmac/cm_pmeth.c \ 176 crypto/cmac/cmac.c \ 177 crypto/comp/c_rle.c \ 178 crypto/comp/c_zlib.c \ 179 crypto/comp/comp_err.c \ 180 crypto/comp/comp_lib.c \ 181 crypto/conf/conf_api.c \ 182 crypto/conf/conf_def.c \ 183 crypto/conf/conf_err.c \ 184 crypto/conf/conf_lib.c \ 185 crypto/conf/conf_mall.c \ 186 crypto/conf/conf_mod.c \ 187 crypto/conf/conf_sap.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/ec/ec2_mult.c \ 242 crypto/ec/ec2_oct.c \ 243 crypto/ec/ec2_smpl.c \ 244 crypto/ec/ec_ameth.c \ 245 crypto/ec/ec_asn1.c \ 246 crypto/ec/ec_check.c \ 247 crypto/ec/ec_curve.c \ 248 crypto/ec/ec_cvt.c \ 249 crypto/ec/ec_err.c \ 250 crypto/ec/ec_key.c \ 251 crypto/ec/ec_lib.c \ 252 crypto/ec/ec_mult.c \ 253 crypto/ec/ec_oct.c \ 254 crypto/ec/ec_pmeth.c \ 255 crypto/ec/ec_print.c \ 256 crypto/ec/eck_prn.c \ 257 crypto/ec/ecp_mont.c \ 258 crypto/ec/ecp_nist.c \ 259 crypto/ec/ecp_oct.c \ 260 crypto/ec/ecp_smpl.c \ 261 crypto/ecdh/ech_err.c \ 262 crypto/ecdh/ech_key.c \ 263 crypto/ecdh/ech_lib.c \ 264 crypto/ecdh/ech_ossl.c \ 265 crypto/ecdsa/ecs_asn1.c \ 266 crypto/ecdsa/ecs_err.c \ 267 crypto/ecdsa/ecs_lib.c \ 268 crypto/ecdsa/ecs_ossl.c \ 269 crypto/ecdsa/ecs_sign.c \ 270 crypto/ecdsa/ecs_vrf.c \ 271 crypto/engine/eng_all.c \ 272 crypto/engine/eng_cnf.c \ 273 crypto/engine/eng_ctrl.c \ 274 crypto/engine/eng_dyn.c \ 275 crypto/engine/eng_err.c \ 276 crypto/engine/eng_fat.c \ 277 crypto/engine/eng_init.c \ 278 crypto/engine/eng_lib.c \ 279 crypto/engine/eng_list.c \ 280 crypto/engine/eng_pkey.c \ 281 crypto/engine/eng_table.c \ 282 crypto/engine/tb_asnmth.c \ 283 crypto/engine/tb_cipher.c \ 284 crypto/engine/tb_dh.c \ 285 crypto/engine/tb_digest.c \ 286 crypto/engine/tb_dsa.c \ 287 crypto/engine/tb_ecdh.c \ 288 crypto/engine/tb_ecdsa.c \ 289 crypto/engine/tb_pkmeth.c \ 290 crypto/engine/tb_rand.c \ 291 crypto/engine/tb_rsa.c \ 292 crypto/engine/tb_store.c \ 293 crypto/err/err.c \ 294 crypto/err/err_all.c \ 295 crypto/err/err_prn.c \ 296 crypto/evp/bio_b64.c \ 297 crypto/evp/bio_enc.c \ 298 crypto/evp/bio_md.c \ 299 crypto/evp/bio_ok.c \ 300 crypto/evp/c_all.c \ 301 crypto/evp/c_allc.c \ 302 crypto/evp/c_alld.c \ 303 crypto/evp/digest.c \ 304 crypto/evp/e_aes.c \ 305 crypto/evp/e_aes_cbc_hmac_sha1.c \ 306 crypto/evp/e_bf.c \ 307 crypto/evp/e_des.c \ 308 crypto/evp/e_des3.c \ 309 crypto/evp/e_null.c \ 310 crypto/evp/e_old.c \ 311 crypto/evp/e_rc2.c \ 312 crypto/evp/e_rc4.c \ 313 crypto/evp/e_rc4_hmac_md5.c \ 314 crypto/evp/e_rc5.c \ 315 crypto/evp/e_xcbc_d.c \ 316 crypto/evp/encode.c \ 317 crypto/evp/evp_acnf.c \ 318 crypto/evp/evp_enc.c \ 319 crypto/evp/evp_err.c \ 320 crypto/evp/evp_key.c \ 321 crypto/evp/evp_lib.c \ 322 crypto/evp/evp_pbe.c \ 323 crypto/evp/evp_pkey.c \ 324 crypto/evp/m_dss.c \ 325 crypto/evp/m_dss1.c \ 326 crypto/evp/m_ecdsa.c \ 327 crypto/evp/m_md4.c \ 328 crypto/evp/m_md5.c \ 329 crypto/evp/m_mdc2.c \ 330 crypto/evp/m_null.c \ 331 crypto/evp/m_ripemd.c \ 332 crypto/evp/m_sha1.c \ 333 crypto/evp/m_sigver.c \ 334 crypto/evp/m_wp.c \ 335 crypto/evp/names.c \ 336 crypto/evp/p5_crpt.c \ 337 crypto/evp/p5_crpt2.c \ 338 crypto/evp/p_dec.c \ 339 crypto/evp/p_enc.c \ 340 crypto/evp/p_lib.c \ 341 crypto/evp/p_open.c \ 342 crypto/evp/p_seal.c \ 343 crypto/evp/p_sign.c \ 344 crypto/evp/p_verify.c \ 345 crypto/evp/pmeth_fn.c \ 346 crypto/evp/pmeth_gn.c \ 347 crypto/evp/pmeth_lib.c \ 348 crypto/hmac/hm_ameth.c \ 349 crypto/hmac/hm_pmeth.c \ 350 crypto/hmac/hmac.c \ 351 crypto/krb5/krb5_asn.c \ 352 crypto/lhash/lh_stats.c \ 353 crypto/lhash/lhash.c \ 354 crypto/md4/md4_dgst.c \ 355 crypto/md4/md4_one.c \ 356 crypto/md5/md5_dgst.c \ 357 crypto/md5/md5_one.c \ 358 crypto/modes/cbc128.c \ 359 crypto/modes/ccm128.c \ 360 crypto/modes/cfb128.c \ 361 crypto/modes/ctr128.c \ 362 crypto/modes/gcm128.c \ 363 crypto/modes/ofb128.c \ 364 crypto/modes/xts128.c \ 365 crypto/o_init.c \ 366 crypto/objects/o_names.c \ 367 crypto/objects/obj_dat.c \ 368 crypto/objects/obj_err.c \ 369 crypto/objects/obj_lib.c \ 370 crypto/objects/obj_xref.c \ 371 crypto/ocsp/ocsp_asn.c \ 372 crypto/ocsp/ocsp_cl.c \ 373 crypto/ocsp/ocsp_err.c \ 374 crypto/ocsp/ocsp_ext.c \ 375 crypto/ocsp/ocsp_ht.c \ 376 crypto/ocsp/ocsp_lib.c \ 377 crypto/ocsp/ocsp_prn.c \ 378 crypto/ocsp/ocsp_srv.c \ 379 crypto/ocsp/ocsp_vfy.c \ 380 crypto/pem/pem_all.c \ 381 crypto/pem/pem_err.c \ 382 crypto/pem/pem_info.c \ 383 crypto/pem/pem_lib.c \ 384 crypto/pem/pem_oth.c \ 385 crypto/pem/pem_pk8.c \ 386 crypto/pem/pem_pkey.c \ 387 crypto/pem/pem_seal.c \ 388 crypto/pem/pem_sign.c \ 389 crypto/pem/pem_x509.c \ 390 crypto/pem/pem_xaux.c \ 391 crypto/pem/pvkfmt.c \ 392 crypto/pkcs12/p12_add.c \ 393 crypto/pkcs12/p12_asn.c \ 394 crypto/pkcs12/p12_attr.c \ 395 crypto/pkcs12/p12_crpt.c \ 396 crypto/pkcs12/p12_crt.c \ 397 crypto/pkcs12/p12_decr.c \ 398 crypto/pkcs12/p12_init.c \ 399 crypto/pkcs12/p12_key.c \ 400 crypto/pkcs12/p12_kiss.c \ 401 crypto/pkcs12/p12_mutl.c \ 402 crypto/pkcs12/p12_npas.c \ 403 crypto/pkcs12/p12_p8d.c \ 404 crypto/pkcs12/p12_p8e.c \ 405 crypto/pkcs12/p12_utl.c \ 406 crypto/pkcs12/pk12err.c \ 407 crypto/pkcs7/pk7_asn1.c \ 408 crypto/pkcs7/pk7_attr.c \ 409 crypto/pkcs7/pk7_doit.c \ 410 crypto/pkcs7/pk7_lib.c crypto/\ 411 crypto/pkcs7/pk7_mime.c \ 412 crypto/pkcs7/pk7_smime.c \ 413 crypto/pkcs7/pkcs7err.c \ 414 crypto/pqueue/pqueue.c \ 415 crypto/rand/md_rand.c \ 416 crypto/rand/rand_egd.c \ 417 crypto/rand/rand_err.c \ 418 crypto/rand/rand_lib.c \ 419 crypto/rand/rand_unix.c \ 420 crypto/rand/randfile.c \ 421 crypto/rc2/rc2_cbc.c \ 422 crypto/rc2/rc2_ecb.c \ 423 crypto/rc2/rc2_skey.c \ 424 crypto/rc2/rc2cfb64.c \ 425 crypto/rc2/rc2ofb64.c \ 426 crypto/rc4/rc4_enc.c \ 427 crypto/rc4/rc4_skey.c \ 428 crypto/rc4/rc4_utl.c \ 429 crypto/ripemd/rmd_dgst.c \ 430 crypto/ripemd/rmd_one.c \ 431 crypto/rsa/rsa_ameth.c \ 432 crypto/rsa/rsa_asn1.c \ 433 crypto/rsa/rsa_chk.c \ 434 crypto/rsa/rsa_crpt.c \ 435 crypto/rsa/rsa_eay.c \ 436 crypto/rsa/rsa_err.c \ 437 crypto/rsa/rsa_gen.c \ 438 crypto/rsa/rsa_lib.c \ 439 crypto/rsa/rsa_none.c \ 440 crypto/rsa/rsa_null.c \ 441 crypto/rsa/rsa_oaep.c \ 442 crypto/rsa/rsa_pk1.c \ 443 crypto/rsa/rsa_pmeth.c \ 444 crypto/rsa/rsa_prn.c \ 445 crypto/rsa/rsa_pss.c \ 446 crypto/rsa/rsa_saos.c \ 447 crypto/rsa/rsa_sign.c \ 448 crypto/rsa/rsa_ssl.c \ 449 crypto/rsa/rsa_x931.c \ 450 crypto/sha/sha1_one.c \ 451 crypto/sha/sha1dgst.c \ 452 crypto/sha/sha256.c \ 453 crypto/sha/sha512.c \ 454 crypto/sha/sha_dgst.c \ 455 crypto/srp/srp_lib.c \ 456 crypto/srp/srp_vfy.c \ 457 crypto/stack/stack.c \ 458 crypto/ts/ts_err.c \ 459 crypto/txt_db/txt_db.c \ 460 crypto/ui/ui_compat.c \ 461 crypto/ui/ui_err.c \ 462 crypto/ui/ui_lib.c \ 463 crypto/ui/ui_openssl.c \ 464 crypto/ui/ui_util.c \ 465 crypto/x509/by_dir.c \ 466 crypto/x509/by_file.c \ 467 crypto/x509/x509_att.c \ 468 crypto/x509/x509_cmp.c \ 469 crypto/x509/x509_d2.c \ 470 crypto/x509/x509_def.c \ 471 crypto/x509/x509_err.c \ 472 crypto/x509/x509_ext.c \ 473 crypto/x509/x509_lu.c \ 474 crypto/x509/x509_obj.c \ 475 crypto/x509/x509_r2x.c \ 476 crypto/x509/x509_req.c \ 477 crypto/x509/x509_set.c \ 478 crypto/x509/x509_trs.c \ 479 crypto/x509/x509_txt.c \ 480 crypto/x509/x509_v3.c \ 481 crypto/x509/x509_vfy.c \ 482 crypto/x509/x509_vpm.c \ 483 crypto/x509/x509cset.c \ 484 crypto/x509/x509name.c \ 485 crypto/x509/x509rset.c \ 486 crypto/x509/x509spki.c \ 487 crypto/x509/x509type.c \ 488 crypto/x509/x_all.c \ 489 crypto/x509v3/pcy_cache.c \ 490 crypto/x509v3/pcy_data.c \ 491 crypto/x509v3/pcy_lib.c \ 492 crypto/x509v3/pcy_map.c \ 493 crypto/x509v3/pcy_node.c \ 494 crypto/x509v3/pcy_tree.c \ 495 crypto/x509v3/v3_akey.c \ 496 crypto/x509v3/v3_akeya.c \ 497 crypto/x509v3/v3_alt.c \ 498 crypto/x509v3/v3_bcons.c \ 499 crypto/x509v3/v3_bitst.c \ 500 crypto/x509v3/v3_conf.c \ 501 crypto/x509v3/v3_cpols.c \ 502 crypto/x509v3/v3_crld.c \ 503 crypto/x509v3/v3_enum.c \ 504 crypto/x509v3/v3_extku.c \ 505 crypto/x509v3/v3_genn.c \ 506 crypto/x509v3/v3_ia5.c \ 507 crypto/x509v3/v3_info.c \ 508 crypto/x509v3/v3_int.c \ 509 crypto/x509v3/v3_lib.c \ 510 crypto/x509v3/v3_ncons.c \ 511 crypto/x509v3/v3_ocsp.c \ 512 crypto/x509v3/v3_pci.c \ 513 crypto/x509v3/v3_pcia.c \ 514 crypto/x509v3/v3_pcons.c \ 515 crypto/x509v3/v3_pku.c \ 516 crypto/x509v3/v3_pmaps.c \ 517 crypto/x509v3/v3_prn.c \ 518 crypto/x509v3/v3_purp.c \ 519 crypto/x509v3/v3_skey.c \ 520 crypto/x509v3/v3_sxnet.c \ 521 crypto/x509v3/v3_utl.c \ 522 crypto/x509v3/v3err.c 523 524local_c_includes := \ 525 external/openssl \ 526 external/openssl/crypto \ 527 external/openssl/crypto/asn1 \ 528 external/openssl/crypto/evp \ 529 external/openssl/crypto/modes \ 530 external/openssl/include \ 531 external/openssl/include/openssl \ 532 external/zlib 533 534local_c_flags := -DNO_WINDOWS_BRAINDEATH 535 536local_as_flags := -x assembler-with-cpp 537 538####################################### 539# target static library 540include $(CLEAR_VARS) 541include $(LOCAL_PATH)/android-config.mk 542 543ifeq ($(TARGET_ARCH),arm) 544LOCAL_NDK_VERSION := 5 545LOCAL_SDK_VERSION := 9 546endif 547 548LOCAL_SRC_FILES += $(local_src_files) 549LOCAL_CFLAGS += $(local_c_flags) 550LOCAL_ASFLAGS += $(local_as_flags) 551LOCAL_C_INCLUDES += $(local_c_includes) 552ifeq ($(TARGET_ARCH),arm) 553 LOCAL_SRC_FILES += $(arm_src_files) 554 LOCAL_CFLAGS += $(arm_cflags) 555endif 556ifeq ($(TARGET_ARCH),mips) 557 ifneq (($TARGET_HAS_BIGENDIAN),true) 558 LOCAL_SRC_FILES += $(mips_src_files) 559 LOCAL_CFLAGS += $(mips_cflags) 560 else 561 LOCAL_SRC_FILES += $(other_arch_src_files) 562 endif 563endif 564ifeq ($(TARGET_ARCH),x86) 565 LOCAL_SRC_FILES += $(other_arch_src_files) 566endif 567LOCAL_MODULE_TAGS := optional 568LOCAL_MODULE:= libcrypto_static 569include $(BUILD_STATIC_LIBRARY) 570 571####################################### 572# target shared library 573include $(CLEAR_VARS) 574include $(LOCAL_PATH)/android-config.mk 575 576ifeq ($(TARGET_ARCH),arm) 577LOCAL_NDK_VERSION := 5 578LOCAL_SDK_VERSION := 9 579# Use the NDK prebuilt libz and libdl. 580LOCAL_LDFLAGS += -lz -ldl 581else 582LOCAL_SHARED_LIBRARIES += libz libdl 583endif 584 585LOCAL_SRC_FILES += $(local_src_files) 586LOCAL_CFLAGS += $(local_c_flags) 587LOCAL_ASFLAGS += $(local_as_flags) 588LOCAL_C_INCLUDES += $(local_c_includes) 589ifeq ($(TARGET_ARCH),arm) 590 LOCAL_SRC_FILES += $(arm_src_files) 591 LOCAL_CFLAGS += $(arm_cflags) 592endif 593ifeq ($(TARGET_ARCH),mips) 594 ifneq (($TARGET_HAS_BIGENDIAN),true) 595 LOCAL_SRC_FILES += $(mips_src_files) 596 LOCAL_CFLAGS += $(mips_cflags) 597 else 598 LOCAL_SRC_FILES += $(other_arch_src_files) 599 endif 600endif 601ifeq ($(TARGET_ARCH),x86) 602 LOCAL_SRC_FILES += $(other_arch_src_files) 603endif 604LOCAL_MODULE_TAGS := optional 605LOCAL_MODULE:= libcrypto 606include $(BUILD_SHARED_LIBRARY) 607 608####################################### 609# host shared library 610include $(CLEAR_VARS) 611include $(LOCAL_PATH)/android-config.mk 612LOCAL_SRC_FILES += $(local_src_files) 613LOCAL_CFLAGS += $(local_c_flags) -DPURIFY 614LOCAL_ASFLAGS += $(local_as_flags) 615LOCAL_C_INCLUDES += $(local_c_includes) 616LOCAL_SRC_FILES += $(other_arch_src_files) 617LOCAL_STATIC_LIBRARIES += libz 618LOCAL_LDLIBS += -ldl 619LOCAL_MODULE_TAGS := optional 620LOCAL_MODULE:= libcrypto 621include $(BUILD_HOST_SHARED_LIBRARY) 622 623######################################## 624# host static library, which is used by some SDK tools. 625 626include $(CLEAR_VARS) 627include $(LOCAL_PATH)/android-config.mk 628LOCAL_SRC_FILES += $(local_src_files) 629LOCAL_CFLAGS += $(local_c_flags) -DPURIFY 630LOCAL_ASFLAGS += $(local_as_flags) 631LOCAL_C_INCLUDES += $(local_c_includes) 632LOCAL_SRC_FILES += $(other_arch_src_files) 633LOCAL_STATIC_LIBRARIES += libz 634LOCAL_LDLIBS += -ldl 635LOCAL_MODULE_TAGS := optional 636LOCAL_MODULE:= libcrypto_static 637include $(BUILD_HOST_STATIC_LIBRARY) 638