diff options
Diffstat (limited to 'src/libtnccs/Android.mk')
-rw-r--r-- | src/libtnccs/Android.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libtnccs/Android.mk b/src/libtnccs/Android.mk index ad12e754d..4d2803a97 100644 --- a/src/libtnccs/Android.mk +++ b/src/libtnccs/Android.mk @@ -12,6 +12,26 @@ tnc/tnccs/tnccs_manager.h tnc/tnccs/tnccs_manager.c LOCAL_SRC_FILES := $(filter %.c,$(libtnccs_la_SOURCES)) +# adding the plugin source files + +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_SRC_FILES += $(call add_plugin_subdirs, tnccs-20, batch messages messages/ietf messages/tcg state_machine) +ifneq ($(call plugin_enabled, tnccs-20),) +LOCAL_C_INCLUDES += $(LOCAL_PATH)/plugins/tnccs_20/ +endif + +ifneq ($(or $(call plugin_enabled, tnc-imc), $(call plugin_enabled, tnc-tnccs), \ + $(call plugin_enabled, tnccs-20)),) +LOCAL_SHARED_LIBRARIES += libtncif +endif + # build libtncif --------------------------------------------------------------- LOCAL_C_INCLUDES += \ |