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 66include $(CLEAR_VARS) 67LOCAL_MODULE:= openssl 68LOCAL_MODULE_TAGS := optional 69LOCAL_SRC_FILES := $(local_src_files) 70LOCAL_SHARED_LIBRARIES := $(local_shared_libraries) 71LOCAL_C_INCLUDES := $(local_c_includes) 72LOCAL_CFLAGS := $(local_cflags) 73include $(LOCAL_PATH)/android-config.mk 74include $(BUILD_EXECUTABLE) 75 76include $(CLEAR_VARS) 77LOCAL_MODULE:= openssl 78LOCAL_MODULE_TAGS := optional 79LOCAL_SRC_FILES := $(local_src_files) 80LOCAL_SHARED_LIBRARIES := $(local_shared_libraries) 81LOCAL_C_INCLUDES := $(local_c_includes) 82LOCAL_CFLAGS := $(local_cflags) 83include $(LOCAL_PATH)/android-config.mk 84include $(BUILD_HOST_EXECUTABLE) 85