Added add_segment() method to TCG/SEG attributes
[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 imc/imc_os_info.h imc/imc_os_info.c \
10 imv/imv_agent.h imv/imv_agent.c imv/imv_state.h \
11 imv/imv_agent_if.h imv/imv_if.h \
12 imv/imv_database.h imv/imv_database.c \
13 imv/imv_msg.h imv/imv_msg.c \
14 imv/imv_lang_string.h imv/imv_lang_string.c \
15 imv/imv_os_info.h imv/imv_os_info.c \
16 imv/imv_reason_string.h imv/imv_reason_string.c \
17 imv/imv_remediation_string.h imv/imv_remediation_string.c \
18 imv/imv_session.h imv/imv_session.c \
19 imv/imv_session_manager.h imv/imv_session_manager.c \
20 imv/imv_workitem.h imv/imv_workitem.c \
21 ietf/ietf_attr.h ietf/ietf_attr.c \
22 ietf/ietf_attr_assess_result.h ietf/ietf_attr_assess_result.c \
23 ietf/ietf_attr_attr_request.h ietf/ietf_attr_attr_request.c \
24 ietf/ietf_attr_fwd_enabled.h ietf/ietf_attr_fwd_enabled.c \
25 ietf/ietf_attr_default_pwd_enabled.h ietf/ietf_attr_default_pwd_enabled.c \
26 ietf/ietf_attr_installed_packages.h ietf/ietf_attr_installed_packages.c \
27 ietf/ietf_attr_numeric_version.h ietf/ietf_attr_numeric_version.c \
28 ietf/ietf_attr_op_status.h ietf/ietf_attr_op_status.c \
29 ietf/ietf_attr_pa_tnc_error.h ietf/ietf_attr_pa_tnc_error.c \
30 ietf/ietf_attr_port_filter.h ietf/ietf_attr_port_filter.c \
31 ietf/ietf_attr_product_info.h ietf/ietf_attr_product_info.c \
32 ietf/ietf_attr_remediation_instr.h ietf/ietf_attr_remediation_instr.c \
33 ietf/ietf_attr_string_version.h ietf/ietf_attr_string_version.c \
34 ita/ita_attr.h ita/ita_attr.c \
35 ita/ita_attr_command.h ita/ita_attr_command.c \
36 ita/ita_attr_dummy.h ita/ita_attr_dummy.c \
37 ita/ita_attr_get_settings.h ita/ita_attr_get_settings.c \
38 ita/ita_attr_settings.h ita/ita_attr_settings.c \
39 ita/ita_attr_angel.h ita/ita_attr_angel.c \
40 ita/ita_attr_device_id.h ita/ita_attr_device_id.c \
41 os_info/os_info.h os_info/os_info.c \
42 pa_tnc/pa_tnc_attr.h \
43 pa_tnc/pa_tnc_msg.h pa_tnc/pa_tnc_msg.c \
44 pa_tnc/pa_tnc_attr_manager.h pa_tnc/pa_tnc_attr_manager.c \
45 pts/pts.h pts/pts.c \
46 pts/pts_error.h pts/pts_error.c \
47 pts/pts_pcr.h pts/pts_pcr.c \
48 pts/pts_proto_caps.h \
49 pts/pts_req_func_comp_evid.h \
50 pts/pts_simple_evid_final.h \
51 pts/pts_creds.h pts/pts_creds.c \
52 pts/pts_database.h pts/pts_database.c \
53 pts/pts_dh_group.h pts/pts_dh_group.c \
54 pts/pts_file_meas.h pts/pts_file_meas.c \
55 pts/pts_file_meta.h pts/pts_file_meta.c \
56 pts/pts_file_type.h pts/pts_file_type.c \
57 pts/pts_ima_bios_list.h pts/pts_ima_bios_list.c \
58 pts/pts_ima_event_list.h pts/pts_ima_event_list.c \
59 pts/pts_meas_algo.h pts/pts_meas_algo.c \
60 pts/components/pts_component.h \
61 pts/components/pts_component_manager.h pts/components/pts_component_manager.c \
62 pts/components/pts_comp_evidence.h pts/components/pts_comp_evidence.c \
63 pts/components/pts_comp_func_name.h pts/components/pts_comp_func_name.c \
64 pts/components/ita/ita_comp_func_name.h pts/components/ita/ita_comp_func_name.c \
65 pts/components/ita/ita_comp_ima.h pts/components/ita/ita_comp_ima.c \
66 pts/components/ita/ita_comp_tboot.h pts/components/ita/ita_comp_tboot.c \
67 pts/components/ita/ita_comp_tgrub.h pts/components/ita/ita_comp_tgrub.c \
68 pts/components/tcg/tcg_comp_func_name.h pts/components/tcg/tcg_comp_func_name.c \
69 seg/seg_contract.h seg/seg_contract.c \
70 seg/seg_contract_manager.h seg/seg_contract_manager.c \
71 seg/seg_env.h seg/seg_env.c \
72 swid/swid_error.h swid/swid_error.c \
73 swid/swid_inventory.h swid/swid_inventory.c \
74 swid/swid_tag.h swid/swid_tag.c \
75 swid/swid_tag_id.h swid/swid_tag_id.c \
76 tcg/tcg_attr.h tcg/tcg_attr.c \
77 tcg/pts/tcg_pts_attr_proto_caps.h tcg/pts/tcg_pts_attr_proto_caps.c \
78 tcg/pts/tcg_pts_attr_dh_nonce_params_req.h tcg/pts/tcg_pts_attr_dh_nonce_params_req.c \
79 tcg/pts/tcg_pts_attr_dh_nonce_params_resp.h tcg/pts/tcg_pts_attr_dh_nonce_params_resp.c \
80 tcg/pts/tcg_pts_attr_dh_nonce_finish.h tcg/pts/tcg_pts_attr_dh_nonce_finish.c \
81 tcg/pts/tcg_pts_attr_meas_algo.h tcg/pts/tcg_pts_attr_meas_algo.c \
82 tcg/pts/tcg_pts_attr_get_tpm_version_info.h tcg/pts/tcg_pts_attr_get_tpm_version_info.c \
83 tcg/pts/tcg_pts_attr_tpm_version_info.h tcg/pts/tcg_pts_attr_tpm_version_info.c \
84 tcg/pts/tcg_pts_attr_get_aik.h tcg/pts/tcg_pts_attr_get_aik.c \
85 tcg/pts/tcg_pts_attr_aik.h tcg/pts/tcg_pts_attr_aik.c \
86 tcg/pts/tcg_pts_attr_req_func_comp_evid.h tcg/pts/tcg_pts_attr_req_func_comp_evid.c \
87 tcg/pts/tcg_pts_attr_gen_attest_evid.h tcg/pts/tcg_pts_attr_gen_attest_evid.c \
88 tcg/pts/tcg_pts_attr_simple_comp_evid.h tcg/pts/tcg_pts_attr_simple_comp_evid.c \
89 tcg/pts/tcg_pts_attr_simple_evid_final.h tcg/pts/tcg_pts_attr_simple_evid_final.c \
90 tcg/pts/tcg_pts_attr_req_file_meas.h tcg/pts/tcg_pts_attr_req_file_meas.c \
91 tcg/pts/tcg_pts_attr_file_meas.h tcg/pts/tcg_pts_attr_file_meas.c \
92 tcg/pts/tcg_pts_attr_req_file_meta.h tcg/pts/tcg_pts_attr_req_file_meta.c \
93 tcg/pts/tcg_pts_attr_unix_file_meta.h tcg/pts/tcg_pts_attr_unix_file_meta.c \
94 tcg/swid/tcg_swid_attr_req.h tcg/swid/tcg_swid_attr_req.c \
95 tcg/swid/tcg_swid_attr_tag_id_inv.h tcg/swid/tcg_swid_attr_tag_id_inv.c \
96 tcg/swid/tcg_swid_attr_tag_inv.h tcg/swid/tcg_swid_attr_tag_inv.c
97
98 LOCAL_SRC_FILES := $(filter %.c,$(libimcv_la_SOURCES))
99
100 # build libimcv ----------------------------------------------------------------
101
102 LOCAL_C_INCLUDES += \
103 $(strongswan_PATH)/src/libtncif \
104 $(strongswan_PATH)/src/libstrongswan
105
106 LOCAL_CFLAGS := $(strongswan_CFLAGS)
107
108 LOCAL_MODULE := libimcv
109
110 LOCAL_MODULE_TAGS := optional
111
112 LOCAL_ARM_MODE := arm
113
114 LOCAL_PRELINK_MODULE := false
115
116 LOCAL_SHARED_LIBRARIES += libstrongswan libtncif
117
118 include $(BUILD_SHARED_LIBRARY)