1 LOCAL_PATH
:= $(call my-dir
)
4 # copy-n-paste from Makefile.am
5 libimcv_la_SOURCES
:= \
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 generic
/generic_attr_bool.h generic
/generic_attr_bool.c \
22 generic
/generic_attr_chunk.h generic
/generic_attr_chunk.c \
23 generic
/generic_attr_string.h generic
/generic_attr_string.c \
24 ietf
/ietf_attr.h ietf
/ietf_attr.c \
25 ietf
/ietf_attr_assess_result.h ietf
/ietf_attr_assess_result.c \
26 ietf
/ietf_attr_attr_request.h ietf
/ietf_attr_attr_request.c \
27 ietf
/ietf_attr_fwd_enabled.h ietf
/ietf_attr_fwd_enabled.c \
28 ietf
/ietf_attr_installed_packages.h ietf
/ietf_attr_installed_packages.c \
29 ietf
/ietf_attr_numeric_version.h ietf
/ietf_attr_numeric_version.c \
30 ietf
/ietf_attr_op_status.h ietf
/ietf_attr_op_status.c \
31 ietf
/ietf_attr_pa_tnc_error.h ietf
/ietf_attr_pa_tnc_error.c \
32 ietf
/ietf_attr_port_filter.h ietf
/ietf_attr_port_filter.c \
33 ietf
/ietf_attr_product_info.h ietf
/ietf_attr_product_info.c \
34 ietf
/ietf_attr_remediation_instr.h ietf
/ietf_attr_remediation_instr.c \
35 ietf
/ietf_attr_string_version.h ietf
/ietf_attr_string_version.c \
36 ietf
/swima
/ietf_swima_attr_req.h ietf
/swima
/ietf_swima_attr_req.c \
37 ietf
/swima
/ietf_swima_attr_sw_inv.h ietf
/swima
/ietf_swima_attr_sw_inv.c \
38 ietf
/swima
/ietf_swima_attr_sw_ev.h ietf
/swima
/ietf_swima_attr_sw_ev.c \
39 ita
/ita_attr.h ita
/ita_attr.c \
40 ita
/ita_attr_command.h ita
/ita_attr_command.c \
41 ita
/ita_attr_dummy.h ita
/ita_attr_dummy.c \
42 ita
/ita_attr_get_settings.h ita
/ita_attr_get_settings.c \
43 ita
/ita_attr_settings.h ita
/ita_attr_settings.c \
44 ita
/ita_attr_angel.h ita
/ita_attr_angel.c \
45 ita
/ita_attr_symlinks.h ita
/ita_attr_symlinks.c \
46 os_info
/os_info.h os_info
/os_info.c \
47 pa_tnc
/pa_tnc_attr.h \
48 pa_tnc
/pa_tnc_msg.h pa_tnc
/pa_tnc_msg.c \
49 pa_tnc
/pa_tnc_attr_manager.h pa_tnc
/pa_tnc_attr_manager.c \
51 pts
/pts_error.h pts
/pts_error.c \
52 pts
/pts_pcr.h pts
/pts_pcr.c \
53 pts
/pts_proto_caps.h \
54 pts
/pts_req_func_comp_evid.h \
55 pts
/pts_creds.h pts
/pts_creds.c \
56 pts
/pts_database.h pts
/pts_database.c \
57 pts
/pts_dh_group.h pts
/pts_dh_group.c \
58 pts
/pts_file_meas.h pts
/pts_file_meas.c \
59 pts
/pts_file_meta.h pts
/pts_file_meta.c \
60 pts
/pts_file_type.h pts
/pts_file_type.c \
61 pts
/pts_ima_bios_list.h pts
/pts_ima_bios_list.c \
62 pts
/pts_ima_event_list.h pts
/pts_ima_event_list.c \
63 pts
/pts_meas_algo.h pts
/pts_meas_algo.c \
64 pts
/pts_symlinks.h pts
/pts_symlinks.c \
65 pts
/components
/pts_component.h \
66 pts
/components
/pts_component_manager.h pts
/components
/pts_component_manager.c \
67 pts
/components
/pts_comp_evidence.h pts
/components
/pts_comp_evidence.c \
68 pts
/components
/pts_comp_func_name.h pts
/components
/pts_comp_func_name.c \
69 pts
/components
/ita
/ita_comp_func_name.h pts
/components
/ita
/ita_comp_func_name.c \
70 pts
/components
/ita
/ita_comp_ima.h pts
/components
/ita
/ita_comp_ima.c \
71 pts
/components
/ita
/ita_comp_tboot.h pts
/components
/ita
/ita_comp_tboot.c \
72 pts
/components
/ita
/ita_comp_tgrub.h pts
/components
/ita
/ita_comp_tgrub.c \
73 pts
/components
/tcg
/tcg_comp_func_name.h pts
/components
/tcg
/tcg_comp_func_name.c \
74 pwg
/pwg_attr.h pwg
/pwg_attr.c \
75 pwg
/pwg_attr_vendor_smi_code.h pwg
/pwg_attr_vendor_smi_code.c \
76 rest
/rest.h rest
/rest.c \
77 seg
/seg_contract.h seg
/seg_contract.c \
78 seg
/seg_contract_manager.h seg
/seg_contract_manager.c \
79 seg
/seg_env.h seg
/seg_env.c \
80 swid_gen
/swid_gen.h swid_gen
/swid_gen.c \
81 swid_gen
/swid_gen_info.h swid_gen
/swid_gen_info.c \
82 swima
/swima_data_model.h swima
/swima_data_model.c \
83 swima
/swima_record.h swima
/swima_record.c \
84 swima
/swima_event.h swima
/swima_event.c \
85 swima
/swima_events.h swima
/swima_events.c \
86 swima
/swima_inventory.h swima
/swima_inventory.c \
87 swima
/swima_collector.h swima
/swima_collector.c \
88 swima
/swima_error.h swima
/swima_error.c \
89 tcg
/tcg_attr.h tcg
/tcg_attr.c \
90 tcg
/pts
/tcg_pts_attr_proto_caps.h tcg
/pts
/tcg_pts_attr_proto_caps.c \
91 tcg
/pts
/tcg_pts_attr_dh_nonce_params_req.h tcg
/pts
/tcg_pts_attr_dh_nonce_params_req.c \
92 tcg
/pts
/tcg_pts_attr_dh_nonce_params_resp.h tcg
/pts
/tcg_pts_attr_dh_nonce_params_resp.c \
93 tcg
/pts
/tcg_pts_attr_dh_nonce_finish.h tcg
/pts
/tcg_pts_attr_dh_nonce_finish.c \
94 tcg
/pts
/tcg_pts_attr_meas_algo.h tcg
/pts
/tcg_pts_attr_meas_algo.c \
95 tcg
/pts
/tcg_pts_attr_get_tpm_version_info.h tcg
/pts
/tcg_pts_attr_get_tpm_version_info.c \
96 tcg
/pts
/tcg_pts_attr_tpm_version_info.h tcg
/pts
/tcg_pts_attr_tpm_version_info.c \
97 tcg
/pts
/tcg_pts_attr_get_aik.h tcg
/pts
/tcg_pts_attr_get_aik.c \
98 tcg
/pts
/tcg_pts_attr_aik.h tcg
/pts
/tcg_pts_attr_aik.c \
99 tcg
/pts
/tcg_pts_attr_req_func_comp_evid.h tcg
/pts
/tcg_pts_attr_req_func_comp_evid.c \
100 tcg
/pts
/tcg_pts_attr_gen_attest_evid.h tcg
/pts
/tcg_pts_attr_gen_attest_evid.c \
101 tcg
/pts
/tcg_pts_attr_simple_comp_evid.h tcg
/pts
/tcg_pts_attr_simple_comp_evid.c \
102 tcg
/pts
/tcg_pts_attr_simple_evid_final.h tcg
/pts
/tcg_pts_attr_simple_evid_final.c \
103 tcg
/pts
/tcg_pts_attr_req_file_meas.h tcg
/pts
/tcg_pts_attr_req_file_meas.c \
104 tcg
/pts
/tcg_pts_attr_file_meas.h tcg
/pts
/tcg_pts_attr_file_meas.c \
105 tcg
/pts
/tcg_pts_attr_req_file_meta.h tcg
/pts
/tcg_pts_attr_req_file_meta.c \
106 tcg
/pts
/tcg_pts_attr_unix_file_meta.h tcg
/pts
/tcg_pts_attr_unix_file_meta.c \
107 tcg
/seg
/tcg_seg_attr_seg_contract.h tcg
/seg
/tcg_seg_attr_seg_contract.c \
108 tcg
/seg
/tcg_seg_attr_seg_env.h tcg
/seg
/tcg_seg_attr_seg_env.c \
109 tcg
/seg
/tcg_seg_attr_next_seg.h tcg
/seg
/tcg_seg_attr_next_seg.c
111 LOCAL_SRC_FILES
:= $(filter %.c
,$(libimcv_la_SOURCES
))
113 # build libimcv ----------------------------------------------------------------
115 LOCAL_C_INCLUDES
+= \
116 $(strongswan_PATH
)/src
/libtncif \
117 $(strongswan_PATH
)/src
/libtpmtss \
118 $(strongswan_PATH
)/src
/libstrongswan
120 LOCAL_CFLAGS
:= $(strongswan_CFLAGS
)
122 LOCAL_MODULE
:= libimcv
124 LOCAL_MODULE_TAGS
:= optional
126 LOCAL_ARM_MODE
:= arm
128 LOCAL_PRELINK_MODULE
:= false
130 LOCAL_SHARED_LIBRARIES
+= libstrongswan libtncif libtpmtss
132 include $(BUILD_SHARED_LIBRARY
)