Convert to autotools

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/.gitignore b/.gitignore
index f9cf668..ae85881 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,48 @@
-*.o
+# Template from:
+# https://github.com/github/gitignore/blob/master/Autotools.gitignore
+
+# http://www.gnu.org/software/automake
+
+Makefile.in
+/ar-lib
+/mdate-sh
+/py-compile
+/test-driver
+/ylwrap
+
+# http://www.gnu.org/software/autoconf
+
+/autom4te.cache
+/autoscan.log
+/autoscan-*.log
+/aclocal.m4
+/compile
+/config.guess
+/config.h.in
+/config.sub
+/configure
+/configure.scan
+/depcomp
+/install-sh
+/missing
+/stamp-h1
+
+# https://www.gnu.org/software/libtool/
+
+/ltmain.sh
+
+# http://www.gnu.org/software/texinfo
+
+/texinfo.tex
+
+# Repo Specific Items
+/*.o
+/config.h
+/config.h.in~
+/config.log
+/config.status
+Makefile
+.deps
+arm-openbmc-linux-gnueabi-libtool
 mboxd
+