Convert build process to autotools
Replaced the use of a manual Makefile with the use of autotools to
automatically verify and generate the necessary build files. Follow the
steps outlined within the README.md file to build the package.
Change-Id: Ieed870c63b2bef83b3741dd22e413c25916ed408
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..571f857
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,12 @@
+bin_PROGRAMS = phosphor-hwmon-readd
+
+phosphor_hwmon_readd_SOURCES = readd.cpp
+phosphor_hwmon_readd_LDADD = libphosphor-hwmon.la
+
+libphosphor_hwmondir = ${libdir}
+libphosphor_hwmon_LTLIBRARIES = libphosphor-hwmon.la
+libphosphor_hwmon_la_SOURCES = \
+ argument.cpp \
+ directory.cpp \
+ sensorset.cpp
+libphosphor_hwmon_la_LDFLAGS = -version-info 0:0:0 -shared