e2c1597100de1834ceab61b3c6d41815321f28c0
[strongswan.git] / src / libtpmtss / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan
3
4 AM_CFLAGS = \
5         $(tss2_CFLAGS)
6
7 AM_LDFLAGS = \
8         -no-undefined
9
10 ipseclib_LTLIBRARIES = libtpmtss.la
11 libtpmtss_la_SOURCES = \
12         tpm_tss.h tpm_tss.c \
13         tpm_tss_quote_info.h tpm_tss_quote_info.c \
14         tpm_tss_trousers.h tpm_tss_trousers.c \
15         tpm_tss_tss2.h tpm_tss_tss2.c \
16         tpm_tss_tss2_names.h tpm_tss_tss2_names.c
17
18 libtpmtss_la_LIBADD = \
19         $(top_builddir)/src/libstrongswan/libstrongswan.la
20
21 if USE_TSS2
22 libtpmtss_la_LIBADD += $(tss2_LIBS)
23 endif
24
25 if USE_TROUSERS
26 libtpmtss_la_LIBADD += -ltspi
27 endif
28