summaryrefslogtreecommitdiffstats
path: root/apps/Android.mk
blob: e9a498187eaa94c5de565014fc1149864fd34656 (plain)
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
# Copyright 2006 The Android Open Source Project

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
    openssl.c verify.c asn1pars.c req.c dgst.c dh.c enc.c passwd.c gendh.c errstr.c ca.c \
    pkcs7.c crl2p7.c crl.c \
    rsa.c rsautl.c dsa.c dsaparam.c ecparam.c \
    x509.c genrsa.c gendsa.c s_client.c speed.c \
    s_time.c  apps.c s_cb.c s_socket.c app_rand.c  version.c sess_id.c \
    ciphers.c nseq.c pkcs12.c pkcs8.c spkac.c smime.c rand.c engine.c \
    ocsp.c prime.c dhparam.c

#   cms.c ec.c s_server.c

LOCAL_SHARED_LIBRARIES := \
	libssl \
	libcrypto 

LOCAL_C_INCLUDES := \
	external/openssl \
	external/openssl/include

LOCAL_CFLAGS := -DMONOLITH

include $(LOCAL_PATH)/../android-config.mk

# These flags omit whole features from the commandline "openssl".
# However, portions of these features are actually turned on.
LOCAL_CFLAGS += -DOPENSSL_NO_EC -DOPENSSL_NO_ECDSA -DOPENSSL_NO_DTLS1


LOCAL_MODULE:= openssl

LOCAL_MODULE_TAGS := tests

include $(BUILD_EXECUTABLE)