summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-10-31 10:24:27 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-11-08 15:15:36 -0500
commit64d994a61cbb8a2693f9d5d9413f7e09d851c53b (patch)
treeaa50ea6fcb687cb6ba7b8287331d451ade521bff /test
parentd202bfdb3afb2b22a829307b81fc144731874c91 (diff)
downloadphosphor-inventory-manager-64d994a61cbb8a2693f9d5d9413f7e09d851c53b.tar.gz
phosphor-inventory-manager-64d994a61cbb8a2693f9d5d9413f7e09d851c53b.zip
Optionally include generated example bindings
Add an autoconf opttion that includes the example bindings, for use in standalone/testing environments. Change-Id: Id44f02a9bc7adcc8b36c09f0867ee1a663d7e25c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 94baa9a..f40f143 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,3 +8,6 @@ phosphor_inventory_test_LDADD = ${top_builddir}/manager.o \
${top_builddir}/filters.o \
${top_builddir}/generated.o \
${top_builddir}/xyz.openbmc_project.Inventory.Manager.o
+if EXAMPLE
+phosphor_inventory_test_LDADD += ${top_builddir}/libexample.la
+endif
OpenPOWER on IntegriCloud