android: Added support to build tnc-imc plugin

This commit is contained in:
Tobias Brunner 2012-10-11 11:28:45 +02:00
parent 4672078190
commit c9df0f989d
1 changed files with 9 additions and 3 deletions

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