libimcv: Android.mk added
[strongswan.git] / src / libimcv / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 libimcv_la_SOURCES := \
6 imcv.h imcv.c \
7 imc/imc_agent.h imc/imc_agent.c imc/imc_state.h \
8 imc/imc_msg.h imc/imc_msg.c \
9 imv/imv_agent.h imv/imv_agent.c imv/imv_state.h \
10 imv/imv_agent_if.h imv/imv_if.h \
11 imv/imv_database.h imv/imv_database.c \
12 imv/imv_msg.h imv/imv_msg.c \
13 imv/imv_lang_string.h imv/imv_lang_string.c \
14 imv/imv_reason_string.h imv/imv_reason_string.c \
15 imv/imv_remediation_string.h imv/imv_remediation_string.c \
16 imv/imv_session.h imv/imv_session.c \
17 imv/imv_workitem.h imv/imv_workitem.c \
18 imv/tables.sql imv/data.sql \
19 ietf/ietf_attr.h ietf/ietf_attr.c \
20 ietf/ietf_attr_assess_result.h ietf/ietf_attr_assess_result.c \
21 ietf/ietf_attr_attr_request.h ietf/ietf_attr_attr_request.c \
22 ietf/ietf_attr_fwd_enabled.h ietf/ietf_attr_fwd_enabled.c \
23 ietf/ietf_attr_default_pwd_enabled.h ietf/ietf_attr_default_pwd_enabled.c \
24 ietf/ietf_attr_installed_packages.h ietf/ietf_attr_installed_packages.c \
25 ietf/ietf_attr_numeric_version.h ietf/ietf_attr_numeric_version.c \
26 ietf/ietf_attr_op_status.h ietf/ietf_attr_op_status.c \
27 ietf/ietf_attr_pa_tnc_error.h ietf/ietf_attr_pa_tnc_error.c \
28 ietf/ietf_attr_port_filter.h ietf/ietf_attr_port_filter.c \
29 ietf/ietf_attr_product_info.h ietf/ietf_attr_product_info.c \
30 ietf/ietf_attr_remediation_instr.h ietf/ietf_attr_remediation_instr.c \
31 ietf/ietf_attr_string_version.h ietf/ietf_attr_string_version.c \
32 ita/ita_attr.h ita/ita_attr.c \
33 ita/ita_attr_command.h ita/ita_attr_command.c \
34 ita/ita_attr_dummy.h ita/ita_attr_dummy.c \
35 ita/ita_attr_get_settings.h ita/ita_attr_get_settings.c \
36 ita/ita_attr_settings.h ita/ita_attr_settings.c \
37 ita/ita_attr_angel.h ita/ita_attr_angel.c \
38 ita/ita_attr_device_id.h ita/ita_attr_device_id.c \
39 os_info/os_info.h os_info/os_info.c \
40 pa_tnc/pa_tnc_attr.h \
41 pa_tnc/pa_tnc_msg.h pa_tnc/pa_tnc_msg.c \
42 pa_tnc/pa_tnc_attr_manager.h pa_tnc/pa_tnc_attr_manager.c
43
44 LOCAL_SRC_FILES := $(filter %.c,$(libimcv_la_SOURCES))
45
46 # build libimcv ----------------------------------------------------------------
47
48 LOCAL_C_INCLUDES += \
49 $(libvstr_PATH) \
50 $(strongswan_PATH)/src/libtncif \
51 $(strongswan_PATH)/src/libstrongswan
52
53 LOCAL_CFLAGS := $(strongswan_CFLAGS)
54
55 LOCAL_MODULE := libimcv
56
57 LOCAL_MODULE_TAGS := optional
58
59 LOCAL_ARM_MODE := arm
60
61 LOCAL_PRELINK_MODULE := false
62
63 LOCAL_SHARED_LIBRARIES += libstrongswan libtncif
64
65 include $(BUILD_SHARED_LIBRARY)