summaryrefslogtreecommitdiff
path: root/src/libimcv/plugins/imv_attestation/Makefile.am
blob: f353d30fc9e7082f9856b4b39c5cbfd32261e69b (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
29
30
31
32
33
34
35
36
AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan \
	-I$(top_srcdir)/src/libtncif \
	-I$(top_srcdir)/src/libimcv \
	-I$(top_srcdir)/src/libtpmtss \
	-DPLUGINS=\""${attest_plugins}\""

AM_CFLAGS = \
	$(PLUGIN_CFLAGS)

imcv_LTLIBRARIES = imv-attestation.la

imv_attestation_la_LIBADD = \
	$(top_builddir)/src/libimcv/libimcv.la \
	$(top_builddir)/src/libtpmtss/libtpmtss.la \
	$(top_builddir)/src/libstrongswan/libstrongswan.la

imv_attestation_la_SOURCES = imv_attestation.c \
	imv_attestation_state.h imv_attestation_state.c \
	imv_attestation_agent.h imv_attestation_agent.c \
	imv_attestation_process.h imv_attestation_process.c \
	imv_attestation_build.h imv_attestation_build.c

imv_attestation_la_LDFLAGS = -module -avoid-version -no-undefined

ipsec_PROGRAMS = attest
attest_SOURCES = attest.c \
	attest_usage.h attest_usage.c \
	attest_db.h attest_db.c
attest_LDADD = \
	$(top_builddir)/src/libimcv/libimcv.la \
	$(top_builddir)/src/libtpmtss/libtpmtss.la \
	$(top_builddir)/src/libstrongswan/libstrongswan.la
attest.o :	$(top_builddir)/config.status

EXTRA_DIST = build-database.sh