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)
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