add example handler

This adds an example handler to demonstrate how one can add a specific
type of BLOB handler.

Change-Id: Ib5421f1b945b45998b40d3939a4dab9cdf39aaa9
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 624bbf2..51f7bdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,12 +1,19 @@
 AM_DEFAULT_SOURCE_EXT = .cpp
 
+HANDLERS =
+
+if ENABLE_EXAMPLE
+HANDLERS += example/example.cpp
+endif
+
 libblobcmdsdir = ${libdir}/ipmid-providers
 libblobcmds_LTLIBRARIES = libblobcmds.la
 libblobcmds_la_SOURCES = main.cpp \
 			 ipmi.cpp \
 			 manager.cpp \
 			 process.cpp \
-			 crc.cpp
+			 crc.cpp \
+			 $(HANDLERS)
 
 libblobcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \
                          -version-info 0:0:0 -shared