split handler out of main file
Split the ethstats ipmi handler out of the main file as a first step
towards making it testable.
This allows for dependency injection.
Tested: Compiled.
Change-Id: Ic1657aa9c2b7e4bf0018299add8cd70576fae11b
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 218ea38..c0e1f35 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
libethstatscmddir = ${libdir}/ipmid-providers
libethstatscmd_LTLIBRARIES = libethstatscmd.la
-libethstatscmd_la_SOURCES = main.cpp
+libethstatscmd_la_SOURCES = main.cpp ethstats.cpp
libethstatscmd_la_LDFLAGS = \
$(LIBIPMID_LIBS) \