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>
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 @@
 				${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