Build all IMC/IMVs with -no-undefined
[strongswan.git] / src / libpts / plugins / imv_attestation / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/libstrongswan \
3         -I$(top_srcdir)/src/libtncif \
4         -I$(top_srcdir)/src/libimcv \
5         -I$(top_srcdir)/src/libpts \
6         -DPLUGINS=\""${attest_plugins}\""
7
8 AM_CFLAGS = \
9         -rdynamic
10
11 imcv_LTLIBRARIES = imv-attestation.la
12
13 imv_attestation_la_LIBADD = \
14         $(top_builddir)/src/libimcv/libimcv.la \
15         $(top_builddir)/src/libstrongswan/libstrongswan.la \
16         $(top_builddir)/src/libpts/libpts.la
17
18 imv_attestation_la_SOURCES = imv_attestation.c \
19         imv_attestation_state.h imv_attestation_state.c \
20         imv_attestation_agent.h imv_attestation_agent.c \
21         imv_attestation_process.h imv_attestation_process.c \
22         imv_attestation_build.h imv_attestation_build.c
23
24 imv_attestation_la_LDFLAGS = -module -avoid-version -no-undefined
25
26 ipsec_PROGRAMS = attest
27 attest_SOURCES = attest.c \
28         attest_usage.h attest_usage.c \
29         attest_db.h attest_db.c
30 attest_LDADD = \
31         $(top_builddir)/src/libimcv/libimcv.la \
32         $(top_builddir)/src/libpts/libpts.la \
33         $(top_builddir)/src/libstrongswan/libstrongswan.la
34 attest.o :      $(top_builddir)/config.status
35
36 EXTRA_DIST = build-database.sh