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
16LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Apps-config-host.mk
17
18common_cflags := \
19  -DMONOLITH \
20
21common_src_files := \
22  apps/app_rand.c \
23  apps/apps.c \
24  apps/asn1pars.c \
25  apps/ca.c \
26  apps/ciphers.c \
27  apps/cms.c \
28  apps/crl.c \
29  apps/crl2p7.c \
30  apps/dgst.c \
31  apps/dh.c \
32  apps/dhparam.c \
33  apps/dsa.c \
34  apps/dsaparam.c \
35  apps/ec.c \
36  apps/ecparam.c \
37  apps/enc.c \
38  apps/engine.c \
39  apps/errstr.c \
40  apps/gendh.c \
41  apps/gendsa.c \
42  apps/genpkey.c \
43  apps/genrsa.c \
44  apps/nseq.c \
45  apps/ocsp.c \
46  apps/openssl.c \
47  apps/passwd.c \
48  apps/pkcs12.c \
49  apps/pkcs7.c \
50  apps/pkcs8.c \
51  apps/pkey.c \
52  apps/pkeyparam.c \
53  apps/pkeyutl.c \
54  apps/prime.c \
55  apps/rand.c \
56  apps/req.c \
57  apps/rsa.c \
58  apps/rsautl.c \
59  apps/s_cb.c \
60  apps/s_client.c \
61  apps/s_server.c \
62  apps/s_socket.c \
63  apps/s_time.c \
64  apps/sess_id.c \
65  apps/smime.c \
66  apps/speed.c \
67  apps/spkac.c \
68  apps/srp.c \
69  apps/verify.c \
70  apps/version.c \
71  apps/x509.c \
72
73common_c_includes := \
74  external/openssl/. \
75  external/openssl/include \
76
77arm_cflags :=
78
79arm_src_files :=
80
81arm_exclude_files :=
82
83arm64_cflags :=
84
85arm64_src_files :=
86
87arm64_exclude_files :=
88
89x86_cflags :=
90
91x86_src_files :=
92
93x86_exclude_files :=
94
95x86_64_cflags :=
96
97x86_64_src_files :=
98
99x86_64_exclude_files :=
100
101mips_cflags :=
102
103mips_src_files :=
104
105mips_exclude_files :=
106
107
108LOCAL_CFLAGS += $(common_cflags)
109LOCAL_C_INCLUDES += $(common_c_includes) $(local_c_includes)
110
111ifeq ($(HOST_OS),linux)
112LOCAL_CFLAGS_x86 += $(x86_cflags)
113LOCAL_SRC_FILES_x86 += $(filter-out $(x86_exclude_files), $(common_src_files) $(x86_src_files))
114LOCAL_CFLAGS_x86_64 += $(x86_64_cflags)
115LOCAL_SRC_FILES_x86_64 += $(filter-out $(x86_64_exclude_files), $(common_src_files) $(x86_64_src_files))
116else
117$(warning Unknown host OS $(HOST_OS))
118LOCAL_SRC_FILES += $(common_src_files)
119endif
120