Annotation of embedaddon/strongswan/src/libtnccs/Android.mk, revision 1.1.1.1
1.1 misho 1: LOCAL_PATH := $(call my-dir)
2: include $(CLEAR_VARS)
3:
4: # copy-n-paste from Makefile.am
5: libtnccs_la_SOURCES := \
6: tnc/tnc.h tnc/tnc.c \
7: tnc/imc/imc.h tnc/imc/imc_manager.h \
8: tnc/imv/imv.h tnc/imv/imv_manager.h \
9: tnc/imv/imv_recommendations.h tnc/imv/imv_recommendations.c \
10: tnc/tnccs/tnccs.h tnc/tnccs/tnccs.c \
11: tnc/tnccs/tnccs_manager.h tnc/tnccs/tnccs_manager.c
12:
13: LOCAL_SRC_FILES := $(filter %.c,$(libtnccs_la_SOURCES))
14:
15: # adding the plugin source files
16:
17: LOCAL_SRC_FILES += $(call add_plugin, tnc-imc)
18: ifneq ($(call plugin_enabled, tnc-imc),)
19: LOCAL_LDLIBS += -ldl
20: endif
21:
22: LOCAL_SRC_FILES += $(call add_plugin, tnc-tnccs)
23:
24: LOCAL_SRC_FILES += $(call add_plugin, tnccs-20)
25: LOCAL_SRC_FILES += $(call add_plugin_subdirs, tnccs-20, batch messages messages/ietf messages/ita messages/tcg state_machine)
26: ifneq ($(call plugin_enabled, tnccs-20),)
27: LOCAL_C_INCLUDES += $(LOCAL_PATH)/plugins/tnccs_20/
28: endif
29:
30: ifneq ($(or $(call plugin_enabled, tnc-imc), $(call plugin_enabled, tnc-tnccs), \
31: $(call plugin_enabled, tnccs-20)),)
32: LOCAL_SHARED_LIBRARIES += libtncif
33: endif
34:
35: # build libtncif ---------------------------------------------------------------
36:
37: LOCAL_C_INCLUDES += \
38: $(strongswan_PATH)/src/libtls \
39: $(strongswan_PATH)/src/libtncif \
40: $(strongswan_PATH)/src/libstrongswan
41:
42: LOCAL_CFLAGS := $(strongswan_CFLAGS)
43:
44: LOCAL_MODULE := libtnccs
45:
46: LOCAL_MODULE_TAGS := optional
47:
48: LOCAL_ARM_MODE := arm
49:
50: LOCAL_PRELINK_MODULE := false
51:
52: LOCAL_SHARED_LIBRARIES += libstrongswan
53:
54: include $(BUILD_SHARED_LIBRARY)
55:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>