-
Notifications
You must be signed in to change notification settings - Fork 17
/
Apps-config-host.mk
106 lines (91 loc) · 2.21 KB
/
Apps-config-host.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Auto-generated - DO NOT EDIT!
# To regenerate, edit openssl.config, then run:
# ./import_openssl.sh import /path/to/openssl-1.0.2o.tar.gz
#
# This script will append to the following variables:
#
# LOCAL_CFLAGS
# LOCAL_C_INCLUDES
# LOCAL_SRC_FILES_$(TARGET_ARCH)
# LOCAL_SRC_FILES_$(TARGET_2ND_ARCH)
# LOCAL_CFLAGS_$(TARGET_ARCH)
# LOCAL_CFLAGS_$(TARGET_2ND_ARCH)
# LOCAL_ADDITIONAL_DEPENDENCIES
LOCAL_ADDITIONAL_DEPENDENCIES += $(LOCAL_PATH)/Apps-config-host.mk
common_cflags := \
-DMONOLITH \
common_src_files := \
apps/app_rand.c \
apps/apps.c \
apps/asn1pars.c \
apps/ca.c \
apps/ciphers.c \
apps/cms.c \
apps/crl.c \
apps/crl2p7.c \
apps/dgst.c \
apps/dh.c \
apps/dhparam.c \
apps/dsa.c \
apps/dsaparam.c \
apps/ec.c \
apps/ecparam.c \
apps/enc.c \
apps/engine.c \
apps/errstr.c \
apps/gendh.c \
apps/gendsa.c \
apps/genpkey.c \
apps/genrsa.c \
apps/nseq.c \
apps/ocsp.c \
apps/openssl.c \
apps/passwd.c \
apps/pkcs12.c \
apps/pkcs7.c \
apps/pkcs8.c \
apps/pkey.c \
apps/pkeyparam.c \
apps/pkeyutl.c \
apps/prime.c \
apps/rand.c \
apps/req.c \
apps/rsa.c \
apps/rsautl.c \
apps/s_cb.c \
apps/s_client.c \
apps/s_server.c \
apps/s_socket.c \
apps/s_time.c \
apps/sess_id.c \
apps/smime.c \
apps/speed.c \
apps/spkac.c \
apps/srp.c \
apps/verify.c \
apps/version.c \
apps/x509.c \
common_c_includes := \
vendor/intel/external/openssl/. \
vendor/intel/external/openssl/include \
x86_cflags :=
x86_src_files :=
x86_exclude_files :=
x86_64_cflags :=
x86_64_src_files :=
x86_64_exclude_files :=
LOCAL_CFLAGS += $(common_cflags)
LOCAL_C_INCLUDES += $(common_c_includes) $(local_c_includes)
ifneq (,$(findstring cht,$(TARGET_PRODUCT)))
LOCAL_CFLAGS_linux_x86 += $(x86_cflags)
else
LOCAL_CFLAGS_x86 += $(x86_cflags)
endif
LOCAL_SRC_FILES_linux_x86 += $(filter-out $(x86_exclude_files), $(common_src_files) $(x86_src_files))
ifneq (,$(findstring cht,$(TARGET_PRODUCT)))
LOCAL_CFLAGS_linux_x86_64 += $(x86_64_cflags)
else
LOCAL_CFLAGS_x86_64 += $(x86_64_cflags)
endif
LOCAL_SRC_FILES_linux_x86_64 += $(filter-out $(x86_64_exclude_files), $(common_src_files) $(x86_64_src_files))
LOCAL_SRC_FILES_windows += $(common_src_files)