• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
24unknown_arch_c_flags :=
25unknown_arch_src_files :=
26unknown_arch_exclude_files :=
27
28
29common_c_flags := \
30  -DMONOLITH \
31
32common_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
83common_c_includes := \
84  . \
85  include \
86
87arm_c_flags :=
88
89arm_src_files :=
90
91arm_exclude_files :=
92
93x86_c_flags :=
94
95x86_src_files :=
96
97x86_exclude_files :=
98
99x86_64_c_flags :=
100
101x86_64_src_files :=
102
103x86_64_exclude_files :=
104
105mips_c_flags :=
106
107mips_src_files :=
108
109mips_exclude_files :=
110
111target_arch := $(TARGET_ARCH)
112ifeq ($(target_arch)-$(TARGET_HAS_BIGENDIAN),mips-true)
113target_arch := unknown_arch
114endif
115
116target_c_flags    := $(common_c_flags) $($(target_arch)_c_flags) $(local_c_flags)
117target_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
118target_src_files  := $(common_src_files) $($(target_arch)_src_files)
119target_src_files  := $(filter-out $($(target_arch)_exclude_files), $(target_src_files))
120
121ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)
122host_arch := x86
123else
124host_arch := unknown_arch
125endif
126
127host_c_flags    := $(common_c_flags) $($(host_arch)_c_flags) $(local_c_flags)
128host_c_includes := $(addprefix external/openssl/,$(common_c_includes)) $(local_c_includes)
129host_src_files  := $(common_src_files) $($(host_arch)_src_files)
130host_src_files  := $(filter-out $($(host_arch)_exclude_files), $(host_src_files))
131
132local_additional_dependencies += $(LOCAL_PATH)/Apps-config.mk
133
134