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 31 common_src_files := \ 32 ssl/bio_ssl.c \ 33 ssl/d1_both.c \ 34 ssl/d1_clnt.c \ 35 ssl/d1_enc.c \ 36 ssl/d1_lib.c \ 37 ssl/d1_pkt.c \ 38 ssl/d1_srtp.c \ 39 ssl/d1_srvr.c \ 40 ssl/kssl.c \ 41 ssl/s23_clnt.c \ 42 ssl/s23_lib.c \ 43 ssl/s23_meth.c \ 44 ssl/s23_pkt.c \ 45 ssl/s23_srvr.c \ 46 ssl/s2_clnt.c \ 47 ssl/s2_enc.c \ 48 ssl/s2_lib.c \ 49 ssl/s2_meth.c \ 50 ssl/s2_pkt.c \ 51 ssl/s2_srvr.c \ 52 ssl/s3_both.c \ 53 ssl/s3_cbc.c \ 54 ssl/s3_clnt.c \ 55 ssl/s3_enc.c \ 56 ssl/s3_lib.c \ 57 ssl/s3_meth.c \ 58 ssl/s3_pkt.c \ 59 ssl/s3_srvr.c \ 60 ssl/ssl_algs.c \ 61 ssl/ssl_asn1.c \ 62 ssl/ssl_cert.c \ 63 ssl/ssl_ciph.c \ 64 ssl/ssl_err.c \ 65 ssl/ssl_err2.c \ 66 ssl/ssl_lib.c \ 67 ssl/ssl_rsa.c \ 68 ssl/ssl_sess.c \ 69 ssl/ssl_stat.c \ 70 ssl/ssl_txt.c \ 71 ssl/t1_clnt.c \ 72 ssl/t1_enc.c \ 73 ssl/t1_lib.c \ 74 ssl/t1_meth.c \ 75 ssl/t1_reneg.c \ 76 ssl/t1_srvr.c \ 77 ssl/tls_srp.c \ 78 79 common_c_includes := \ 80 . \ 81 crypto \ 82 include \ 83 84 arm_c_flags := 85 86 arm_src_files := 87 88 arm_exclude_files := 89 90 x86_c_flags := 91 92 x86_src_files := 93 94 x86_exclude_files := 95 96 x86_64_c_flags := 97 98 x86_64_src_files := 99 100 x86_64_exclude_files := 101 102 mips_c_flags := 103 104 mips_src_files := 105 106 mips_exclude_files := 107 108 target_arch := $(TARGET_ARCH) 109 ifeq ($(target_arch)-$(TARGET_HAS_BIGENDIAN),mips-true) 110 target_arch := unknown_arch 111 endif 112 113 target_c_flags := $(common_c_flags) $($(target_arch)_c_flags) $(local_c_flags) 114 target_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes) 115 target_src_files := $(common_src_files) $($(target_arch)_src_files) 116 target_src_files := $(filter-out $($(target_arch)_exclude_files), $(target_src_files)) 117 118 ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86) 119 host_arch := x86 120 else 121 host_arch := unknown_arch 122 endif 123 124 host_c_flags := $(common_c_flags) $($(host_arch)_c_flags) $(local_c_flags) 125 host_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes) 126 host_src_files := $(common_src_files) $($(host_arch)_src_files) 127 host_src_files := $(filter-out $($(host_arch)_exclude_files), $(host_src_files)) 128 129 local_additional_dependencies += $(LOCAL_PATH)/Ssl-config.mk 130 131