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 -DMONOLITH \ 31 32 common_src_files := \ 33 apps/app_rand.c \ 34 apps/apps.c \ 35 apps/asn1pars.c \ 36 apps/ca.c \ 37 apps/ciphers.c \ 38 apps/crl.c \ 39 apps/crl2p7.c \ 40 apps/dgst.c \ 41 apps/dh.c \ 42 apps/dhparam.c \ 43 apps/dsa.c \ 44 apps/dsaparam.c \ 45 apps/ec.c \ 46 apps/ecparam.c \ 47 apps/enc.c \ 48 apps/engine.c \ 49 apps/errstr.c \ 50 apps/gendh.c \ 51 apps/gendsa.c \ 52 apps/genpkey.c \ 53 apps/genrsa.c \ 54 apps/nseq.c \ 55 apps/ocsp.c \ 56 apps/openssl.c \ 57 apps/passwd.c \ 58 apps/pkcs12.c \ 59 apps/pkcs7.c \ 60 apps/pkcs8.c \ 61 apps/pkey.c \ 62 apps/pkeyparam.c \ 63 apps/pkeyutl.c \ 64 apps/prime.c \ 65 apps/rand.c \ 66 apps/req.c \ 67 apps/rsa.c \ 68 apps/rsautl.c \ 69 apps/s_cb.c \ 70 apps/s_client.c \ 71 apps/s_server.c \ 72 apps/s_socket.c \ 73 apps/s_time.c \ 74 apps/sess_id.c \ 75 apps/smime.c \ 76 apps/speed.c \ 77 apps/spkac.c \ 78 apps/srp.c \ 79 apps/verify.c \ 80 apps/version.c \ 81 apps/x509.c \ 82 83 common_c_includes := \ 84 . \ 85 include \ 86 87 arm_c_flags := 88 89 arm_src_files := 90 91 arm_exclude_files := 92 93 x86_c_flags := 94 95 x86_src_files := 96 97 x86_exclude_files := 98 99 x86_64_c_flags := 100 101 x86_64_src_files := 102 103 x86_64_exclude_files := 104 105 mips_c_flags := 106 107 mips_src_files := 108 109 mips_exclude_files := 110 111 target_arch := $(TARGET_ARCH) 112 ifeq ($(target_arch)-$(TARGET_HAS_BIGENDIAN),mips-true) 113 target_arch := unknown_arch 114 endif 115 116 target_c_flags := $(common_c_flags) $($(target_arch)_c_flags) $(local_c_flags) 117 target_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes) 118 target_src_files := $(common_src_files) $($(target_arch)_src_files) 119 target_src_files := $(filter-out $($(target_arch)_exclude_files), $(target_src_files)) 120 121 ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86) 122 host_arch := x86 123 else 124 host_arch := unknown_arch 125 endif 126 127 host_c_flags := $(common_c_flags) $($(host_arch)_c_flags) $(local_c_flags) 128 host_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes) 129 host_src_files := $(common_src_files) $($(host_arch)_src_files) 130 host_src_files := $(filter-out $($(host_arch)_exclude_files), $(host_src_files)) 131 132 local_additional_dependencies += $(LOCAL_PATH)/Apps-config.mk 133 134