build: Wrap build of `tpm_transientempty` in SIMULATOR_BIN conditional.
The `tpm_transientempty` executable relies on a number of symbols only
built when the integration tests have been enabled through the
`--with-simulatorbin` configure option. As such it currently causes the
build to fail when `--with-simulatorbin` is not provided. This commit
fixes this.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
diff --git a/Makefile-test.am b/Makefile-test.am
index 0e81a7d..2bfca9e 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -48,13 +48,13 @@
test_helper_tpm_startup_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_startup_LDADD = $(TESTS_LDADD)
test_helper_tpm_startup_SOURCES = test/helper/tpm_startup.c
-endif #SIMULATOR_BIN
noinst_PROGRAMS += test/helper/tpm_transientempty
test_helper_tpm_transientempty_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_transientempty_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_transientempty_LDADD = $(TESTS_LDADD)
test_helper_tpm_transientempty_SOURCES = test/helper/tpm_transientempty.c
+endif #SIMULATOR_BIN
if UNIT
TESTS_UNIT = \