48bb46c7a704cdaca671cbd75dc5098bc67b7fc3
[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_meas_algo.h pts/pts_meas_algo.c \
35         pts/components/pts_component.h \
36         pts/components/pts_component_manager.h pts/components/pts_component_manager.c \
37         pts/components/pts_comp_evidence.h pts/components/pts_comp_evidence.c \
38         pts/components/pts_comp_func_name.h pts/components/pts_comp_func_name.c \
39         pts/components/ita/ita_comp_func_name.h pts/components/ita/ita_comp_func_name.c \
40         pts/components/ita/ita_comp_ima.h pts/components/ita/ita_comp_ima.c \
41         pts/components/ita/ita_comp_tboot.h pts/components/ita/ita_comp_tboot.c \
42         pts/components/ita/ita_comp_tgrub.h pts/components/ita/ita_comp_tgrub.c \
43         pts/components/tcg/tcg_comp_func_name.h pts/components/tcg/tcg_comp_func_name.c \
44         swid/swid_error.h swid/swid_error.c \
45         swid/swid_inventory.h swid/swid_inventory.c \
46         swid/swid_tag.h swid/swid_tag.c \
47         swid/swid_tag_id.h swid/swid_tag_id.c \
48         tcg/tcg_attr.h tcg/tcg_attr.c \
49         tcg/pts/tcg_pts_attr_proto_caps.h tcg/pts/tcg_pts_attr_proto_caps.c \
50         tcg/pts/tcg_pts_attr_dh_nonce_params_req.h tcg/pts/tcg_pts_attr_dh_nonce_params_req.c \
51         tcg/pts/tcg_pts_attr_dh_nonce_params_resp.h tcg/pts/tcg_pts_attr_dh_nonce_params_resp.c \
52         tcg/pts/tcg_pts_attr_dh_nonce_finish.h tcg/pts/tcg_pts_attr_dh_nonce_finish.c \
53         tcg/pts/tcg_pts_attr_meas_algo.h tcg/pts/tcg_pts_attr_meas_algo.c \
54         tcg/pts/tcg_pts_attr_get_tpm_version_info.h tcg/pts/tcg_pts_attr_get_tpm_version_info.c \
55         tcg/pts/tcg_pts_attr_tpm_version_info.h tcg/pts/tcg_pts_attr_tpm_version_info.c \
56         tcg/pts/tcg_pts_attr_get_aik.h tcg/pts/tcg_pts_attr_get_aik.c \
57         tcg/pts/tcg_pts_attr_aik.h tcg/pts/tcg_pts_attr_aik.c \
58         tcg/pts/tcg_pts_attr_req_func_comp_evid.h tcg/pts/tcg_pts_attr_req_func_comp_evid.c \
59         tcg/pts/tcg_pts_attr_gen_attest_evid.h tcg/pts/tcg_pts_attr_gen_attest_evid.c \
60         tcg/pts/tcg_pts_attr_simple_comp_evid.h tcg/pts/tcg_pts_attr_simple_comp_evid.c \
61         tcg/pts/tcg_pts_attr_simple_evid_final.h tcg/pts/tcg_pts_attr_simple_evid_final.c \
62         tcg/pts/tcg_pts_attr_req_file_meas.h tcg/pts/tcg_pts_attr_req_file_meas.c \
63         tcg/pts/tcg_pts_attr_file_meas.h tcg/pts/tcg_pts_attr_file_meas.c \
64         tcg/pts/tcg_pts_attr_req_file_meta.h tcg/pts/tcg_pts_attr_req_file_meta.c \
65         tcg/pts/tcg_pts_attr_unix_file_meta.h tcg/pts/tcg_pts_attr_unix_file_meta.c \
66         tcg/swid/tcg_swid_attr_req.h tcg/swid/tcg_swid_attr_req.c \
67         tcg/swid/tcg_swid_attr_tag_id_inv.h tcg/swid/tcg_swid_attr_tag_id_inv.c \
68         tcg/swid/tcg_swid_attr_tag_inv.h tcg/swid/tcg_swid_attr_tag_inv.c
69
70 SUBDIRS = .
71
72 if USE_IMC_ATTESTATION
73   SUBDIRS += plugins/imc_attestation
74 endif
75
76 if USE_IMV_ATTESTATION
77   SUBDIRS += plugins/imv_attestation
78 endif
79
80 if USE_IMC_SWID
81   SUBDIRS += plugins/imc_swid
82 endif
83
84 if USE_IMV_SWID
85   SUBDIRS += plugins/imv_swid
86 endif