Moved BIOS and IMA measurement lists into classes of their own
[strongswan.git] / src / libpts / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libtncif \
4         -I$(top_srcdir)/src/libimcv
5
6 AM_LDFLAGS = \
7         -no-undefined
8
9 ipseclib_LTLIBRARIES = libpts.la
10
11 libpts_la_LIBADD = \
12         $(top_builddir)/src/libstrongswan/libstrongswan.la \
13         $(top_builddir)/src/libtncif/libtncif.la \
14         $(top_builddir)/src/libimcv/libimcv.la
15
16 if USE_TROUSERS
17   libpts_la_LIBADD += -ltspi
18 endif
19
20 libpts_la_SOURCES = \
21         libpts.h libpts.c \
22         pts/pts.h pts/pts.c \
23         pts/pts_error.h pts/pts_error.c \
24         pts/pts_pcr.h pts/pts_pcr.c \
25         pts/pts_proto_caps.h \
26         pts/pts_req_func_comp_evid.h \
27         pts/pts_simple_evid_final.h \
28         pts/pts_creds.h pts/pts_creds.c \
29         pts/pts_database.h pts/pts_database.c \
30         pts/pts_dh_group.h pts/pts_dh_group.c \
31         pts/pts_file_meas.h pts/pts_file_meas.c \
32         pts/pts_file_meta.h pts/pts_file_meta.c \
33         pts/pts_file_type.h pts/pts_file_type.c \
34         pts/pts_ima_bios_list.h pts/pts_ima_bios_list.c \
35         pts/pts_ima_event_list.h pts/pts_ima_event_list.c \
36         pts/pts_meas_algo.h pts/pts_meas_algo.c \
37         pts/components/pts_component.h \
38         pts/components/pts_component_manager.h pts/components/pts_component_manager.c \
39         pts/components/pts_comp_evidence.h pts/components/pts_comp_evidence.c \
40         pts/components/pts_comp_func_name.h pts/components/pts_comp_func_name.c \
41         pts/components/ita/ita_comp_func_name.h pts/components/ita/ita_comp_func_name.c \
42         pts/components/ita/ita_comp_ima.h pts/components/ita/ita_comp_ima.c \
43         pts/components/ita/ita_comp_tboot.h pts/components/ita/ita_comp_tboot.c \
44         pts/components/ita/ita_comp_tgrub.h pts/components/ita/ita_comp_tgrub.c \
45         pts/components/tcg/tcg_comp_func_name.h pts/components/tcg/tcg_comp_func_name.c \
46         swid/swid_error.h swid/swid_error.c \
47         swid/swid_inventory.h swid/swid_inventory.c \
48         swid/swid_tag.h swid/swid_tag.c \
49         swid/swid_tag_id.h swid/swid_tag_id.c \
50         tcg/tcg_attr.h tcg/tcg_attr.c \
51         tcg/pts/tcg_pts_attr_proto_caps.h tcg/pts/tcg_pts_attr_proto_caps.c \
52         tcg/pts/tcg_pts_attr_dh_nonce_params_req.h tcg/pts/tcg_pts_attr_dh_nonce_params_req.c \
53         tcg/pts/tcg_pts_attr_dh_nonce_params_resp.h tcg/pts/tcg_pts_attr_dh_nonce_params_resp.c \
54         tcg/pts/tcg_pts_attr_dh_nonce_finish.h tcg/pts/tcg_pts_attr_dh_nonce_finish.c \
55         tcg/pts/tcg_pts_attr_meas_algo.h tcg/pts/tcg_pts_attr_meas_algo.c \
56         tcg/pts/tcg_pts_attr_get_tpm_version_info.h tcg/pts/tcg_pts_attr_get_tpm_version_info.c \
57         tcg/pts/tcg_pts_attr_tpm_version_info.h tcg/pts/tcg_pts_attr_tpm_version_info.c \
58         tcg/pts/tcg_pts_attr_get_aik.h tcg/pts/tcg_pts_attr_get_aik.c \
59         tcg/pts/tcg_pts_attr_aik.h tcg/pts/tcg_pts_attr_aik.c \
60         tcg/pts/tcg_pts_attr_req_func_comp_evid.h tcg/pts/tcg_pts_attr_req_func_comp_evid.c \
61         tcg/pts/tcg_pts_attr_gen_attest_evid.h tcg/pts/tcg_pts_attr_gen_attest_evid.c \
62         tcg/pts/tcg_pts_attr_simple_comp_evid.h tcg/pts/tcg_pts_attr_simple_comp_evid.c \
63         tcg/pts/tcg_pts_attr_simple_evid_final.h tcg/pts/tcg_pts_attr_simple_evid_final.c \
64         tcg/pts/tcg_pts_attr_req_file_meas.h tcg/pts/tcg_pts_attr_req_file_meas.c \
65         tcg/pts/tcg_pts_attr_file_meas.h tcg/pts/tcg_pts_attr_file_meas.c \
66         tcg/pts/tcg_pts_attr_req_file_meta.h tcg/pts/tcg_pts_attr_req_file_meta.c \
67         tcg/pts/tcg_pts_attr_unix_file_meta.h tcg/pts/tcg_pts_attr_unix_file_meta.c \
68         tcg/swid/tcg_swid_attr_req.h tcg/swid/tcg_swid_attr_req.c \
69         tcg/swid/tcg_swid_attr_tag_id_inv.h tcg/swid/tcg_swid_attr_tag_id_inv.c \
70         tcg/swid/tcg_swid_attr_tag_inv.h tcg/swid/tcg_swid_attr_tag_inv.c
71
72 SUBDIRS = .
73
74 if USE_IMC_ATTESTATION
75   SUBDIRS += plugins/imc_attestation
76 endif
77
78 if USE_IMV_ATTESTATION
79   SUBDIRS += plugins/imv_attestation
80 endif
81
82 if USE_IMC_SWID
83   SUBDIRS += plugins/imc_swid
84 endif
85
86 if USE_IMV_SWID
87   SUBDIRS += plugins/imv_swid
88 endif