ipmi: split library constructor

Split out the library constuctor so that the code can be built into
separate library modules.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I70ac51aaea200d4634f9220a642b0e2bef6748bd
diff --git a/Makefile.am b/Makefile.am
index 728fe8a..b2116c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,6 +118,7 @@
 libmanualcmdsdir = ${libdir}/ipmid-providers
 libmanualcmds_LTLIBRARIES = libmanualcmds.la
 libmanualcmds_la_SOURCES = \
+	ipmi/main_ipmi.cpp \
 	ipmi/manualcmds.cpp
 libmanualcmds_la_LDFLAGS = \
 	$(SYSTEMD_LIBS) \