• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4
5local_src_files:= \
6	apps/app_rand.c \
7	apps/apps.c \
8	apps/asn1pars.c \
9	apps/ca.c \
10	apps/ciphers.c \
11	apps/crl.c \
12	apps/crl2p7.c \
13	apps/dgst.c \
14	apps/dh.c \
15	apps/dhparam.c \
16	apps/dsa.c \
17	apps/dsaparam.c \
18	apps/ecparam.c \
19	apps/ec.c \
20	apps/enc.c \
21	apps/engine.c \
22	apps/errstr.c \
23	apps/gendh.c \
24	apps/gendsa.c \
25	apps/genpkey.c \
26	apps/genrsa.c \
27	apps/nseq.c \
28	apps/ocsp.c \
29	apps/openssl.c \
30	apps/passwd.c \
31	apps/pkcs12.c \
32	apps/pkcs7.c \
33	apps/pkcs8.c \
34	apps/pkey.c \
35	apps/pkeyparam.c \
36	apps/pkeyutl.c \
37	apps/prime.c \
38	apps/rand.c \
39	apps/req.c \
40	apps/rsa.c \
41	apps/rsautl.c \
42	apps/s_cb.c \
43	apps/s_client.c \
44	apps/s_server.c \
45	apps/s_socket.c \
46	apps/s_time.c \
47	apps/sess_id.c \
48	apps/smime.c \
49	apps/speed.c \
50	apps/spkac.c \
51	apps/srp.c \
52	apps/verify.c \
53	apps/version.c \
54	apps/x509.c
55
56local_shared_libraries := \
57	libssl \
58	libcrypto
59
60local_c_includes := \
61	external/openssl \
62	external/openssl/include
63
64local_cflags := -DMONOLITH
65
66local_additional_dependencies := $(LOCAL_PATH)/android-config.mk $(LOCAL_PATH)/Apps.mk
67
68include $(CLEAR_VARS)
69LOCAL_MODULE:= openssl
70LOCAL_MODULE_TAGS := optional
71LOCAL_SRC_FILES := $(local_src_files)
72LOCAL_SHARED_LIBRARIES := $(local_shared_libraries)
73LOCAL_C_INCLUDES := $(local_c_includes)
74LOCAL_CFLAGS := $(local_cflags)
75LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
76include $(LOCAL_PATH)/android-config.mk
77include $(BUILD_EXECUTABLE)
78
79include $(CLEAR_VARS)
80LOCAL_MODULE:= openssl
81LOCAL_MODULE_TAGS := optional
82LOCAL_SRC_FILES := $(local_src_files)
83LOCAL_SHARED_LIBRARIES := $(local_shared_libraries)
84LOCAL_C_INCLUDES := $(local_c_includes)
85LOCAL_CFLAGS := $(local_cflags)
86LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
87include $(LOCAL_PATH)/android-config.mk
88include $(BUILD_HOST_EXECUTABLE)
89