diff options
Diffstat (limited to 'src/libtpmtss/Makefile.am')
-rw-r--r-- | src/libtpmtss/Makefile.am | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/src/libtpmtss/Makefile.am b/src/libtpmtss/Makefile.am index e2c159710..c7ac39a09 100644 --- a/src/libtpmtss/Makefile.am +++ b/src/libtpmtss/Makefile.am @@ -8,12 +8,6 @@ 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 @@ -26,3 +20,24 @@ if USE_TROUSERS libtpmtss_la_LIBADD += -ltspi endif +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 + +if MONOLITHIC +SUBDIRS = +else +SUBDIRS = . +endif + +if USE_TPM + SUBDIRS += plugins/tpm +if MONOLITHIC + libtpmtss_la_LIBADD += plugins/tpm/libstrongswan-tpm.la +endif +endif + + |