1 # Copyright 2006 The Android Open Source Project 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= \ 7 app_rand.c \ 8 apps.c \ 9 asn1pars.c \ 10 ca.c \ 11 ciphers.c \ 12 crl.c \ 13 crl2p7.c \ 14 dgst.c \ 15 dh.c \ 16 dhparam.c \ 17 dsa.c \ 18 dsaparam.c \ 19 ecparam.c \ 20 ec.c \ 21 enc.c \ 22 engine.c \ 23 errstr.c \ 24 gendh.c \ 25 gendsa.c \ 26 genpkey.c \ 27 genrsa.c \ 28 nseq.c \ 29 ocsp.c \ 30 openssl.c \ 31 passwd.c \ 32 pkcs12.c \ 33 pkcs7.c \ 34 pkcs8.c \ 35 pkey.c \ 36 pkeyparam.c \ 37 pkeyutl.c \ 38 prime.c \ 39 rand.c \ 40 req.c \ 41 rsa.c \ 42 rsautl.c \ 43 s_cb.c \ 44 s_client.c \ 45 s_server.c \ 46 s_socket.c \ 47 s_time.c \ 48 sess_id.c \ 49 smime.c \ 50 speed.c \ 51 spkac.c \ 52 verify.c \ 53 version.c \ 54 x509.c 55 56 # cms.c ec.c s_server.c 57 58 LOCAL_SHARED_LIBRARIES := \ 59 libssl \ 60 libcrypto 61 62 LOCAL_C_INCLUDES := \ 63 external/openssl \ 64 external/openssl/include 65 66 LOCAL_CFLAGS := -DMONOLITH 67 68 include $(LOCAL_PATH)/../android-config.mk 69 70 # These flags omit whole features from the commandline "openssl". 71 # However, portions of these features are actually turned on. 72 LOCAL_CFLAGS += -DOPENSSL_NO_DTLS1 73 74 75 LOCAL_MODULE:= openssl 76 77 LOCAL_MODULE_TAGS := tests 78 79 include $(BUILD_EXECUTABLE) 80