android: Added support to build tnc-imc plugin

This commit is contained in:
Tobias Brunner
2013-07-08 18:49:25 +02:00
parent 4672078190
commit c9df0f989d
+9 -3
View File
@@ -210,6 +210,11 @@ ifneq ($(call plugin_enabled, stroke),)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../stroke/
endif
LOCAL_SRC_FILES += $(call add_plugin, tnc-imc)
ifneq ($(call plugin_enabled, tnc-imc),)
LOCAL_SHARED_LIBRARIES += libdl
endif
LOCAL_SRC_FILES += $(call add_plugin, tnc-tnccs)
LOCAL_SRC_FILES += $(call add_plugin, tnccs-20)
@@ -220,13 +225,14 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/plugins/tnccs_20/
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libtls/
endif
ifneq ($(or $(call plugin_enabled, eap-tnc), $(call plugin_enabled, tnc-tnccs), \
$(call plugin_enabled, tnccs-20)),)
ifneq ($(or $(call plugin_enabled, eap-tnc), $(call plugin_enabled, tnc-imc), \
$(call plugin_enabled, tnc-tnccs), $(call plugin_enabled, tnccs-20)),)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libtnccs/
LOCAL_SHARED_LIBRARIES += libtnccs
endif
ifneq ($(or $(call plugin_enabled, tnc-tnccs), $(call plugin_enabled, tnccs-20)),)
ifneq ($(or $(call plugin_enabled, tnc-imc), $(call plugin_enabled, tnc-tnccs), \
$(call plugin_enabled, tnccs-20)),)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../libtncif/
LOCAL_SHARED_LIBRARIES += libtncif
endif