summaryrefslogtreecommitdiff
path: root/src/libtpmtss/Makefile.am
blob: e2c1597100de1834ceab61b3c6d41815321f28c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan

AM_CFLAGS = \
	$(tss2_CFLAGS)

AM_LDFLAGS = \
	-no-undefined

ipseclib_LTLIBRARIES = libtpmtss.la
libtpmtss_la_SOURCES = \
	tpm_tss.h tpm_tss.c \
	tpm_tss_quote_info.h tpm_tss_quote_info.c \
	tpm_tss_trousers.h tpm_tss_trousers.c \
	tpm_tss_tss2.h tpm_tss_tss2.c \
	tpm_tss_tss2_names.h tpm_tss_tss2_names.c

libtpmtss_la_LIBADD = \
	$(top_builddir)/src/libstrongswan/libstrongswan.la

if USE_TSS2
libtpmtss_la_LIBADD += $(tss2_LIBS)
endif

if USE_TROUSERS
libtpmtss_la_LIBADD += -ltspi
endif