local_c_flags := local_c_includes := $(log_c_includes) local_additional_dependencies := $(LOCAL_PATH)/android-config.mk $(LOCAL_PATH)/Ssl.mk include $(LOCAL_PATH)/Ssl-config.mk ####################################### # target static library include $(CLEAR_VARS) include $(LOCAL_PATH)/android-config.mk ifneq (,$(TARGET_BUILD_APPS)) LOCAL_SDK_VERSION := 9 endif LOCAL_SRC_FILES += $(target_src_files) LOCAL_CFLAGS += $(target_c_flags) LOCAL_C_INCLUDES += $(target_c_includes) LOCAL_SHARED_LIBRARIES = $(log_shared_libraries) LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libssl_static LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) include $(BUILD_STATIC_LIBRARY) ####################################### # target shared library include $(CLEAR_VARS) include $(LOCAL_PATH)/android-config.mk ifneq (,$(TARGET_BUILD_APPS)) LOCAL_SDK_VERSION := 9 endif LOCAL_SRC_FILES += $(target_src_files) LOCAL_CFLAGS += $(target_c_flags) LOCAL_C_INCLUDES += $(target_c_includes) LOCAL_SHARED_LIBRARIES += libcrypto $(log_shared_libraries) LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libssl LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) include $(BUILD_SHARED_LIBRARY) ####################################### # host shared library include $(CLEAR_VARS) include $(LOCAL_PATH)/android-config.mk LOCAL_SRC_FILES += $(host_src_files) LOCAL_CFLAGS += $(host_c_flags) LOCAL_C_INCLUDES += $(host_c_includes) LOCAL_SHARED_LIBRARIES += libcrypto $(log_shared_libraries) LOCAL_MODULE_TAGS := optional LOCAL_MODULE:= libssl LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) include $(BUILD_HOST_SHARED_LIBRARY) ####################################### # ssltest include $(CLEAR_VARS) include $(LOCAL_PATH)/android-config.mk LOCAL_SRC_FILES:= ssl/ssltest.c LOCAL_C_INCLUDES += $(host_c_includes) LOCAL_SHARED_LIBRARIES := libssl libcrypto $(log_shared_libraries) LOCAL_MODULE:= ssltest LOCAL_MODULE_TAGS := optional LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies) include $(BUILD_EXECUTABLE)