initial drop of phosphor-ipmi-ethstats

initial drop of phosphor-ipmi-ethstats OEM IPMI commands.  These
commands return ethernet device statistics from the BMC.

Change-Id: Iece5d8604ef90f48f08ce1ae710dd295288ff23f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..8831daf
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,15 @@
+AM_DEFAULT_SOURCE_EXT = .cpp
+
+libethstatscmddir = ${libdir}/ipmid-providers
+libethstatscmd_LTLIBRARIES = libethstatscmd.la
+libethstatscmd_la_SOURCES = main.cpp
+
+libethstatscmd_la_LDFLAGS = $(SYSTEMD_LIBS) \
+	$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+	$(PHOSPHOR_LOGGING_LIBS) \
+	-lstdc++fs \
+	-version-info 0:0:0 -shared
+
+libethstatscmd_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \
+	$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
+	$(PHOSPHOR_LOGGING_CFLAGS)