autotools: Remove

Meson is now used to build this package in all of the necessary places.

Change-Id: I7fec7c28defc8b5f6aeb2384dd984ee6278a4bcb
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9640823..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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
-/phosphor-watchdog
-/Makefile
-/.deps
-/*-libtool
-/test/.deps
-/test/Makefile
-/xyz/openbmc_project/Watchdog/.deps/
-/xyz/openbmc_project/Watchdog/.dirstamp
-/xyz/openbmc_project/Watchdog/*.o
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 9316cc5..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-bin_PROGRAMS = phosphor-watchdog
-
-noinst_HEADERS = watchdog.hpp
-
-phosphor_watchdog_SOURCES =  \
-                watchdog.cpp \
-                mainapp.cpp
-
-phosphor_watchdog_LDFLAGS = ${PHOSPHOR_LOGGING_LIBS} \
-                            ${SDBUSPLUS_LIBS} \
-                            ${SDEVENTPLUS_LIBS} \
-                            ${PHOSPHOR_DBUS_INTERFACES_LIBS}
-
-phosphor_watchdog_CXXFLAGS = ${PHOSPHOR_LOGGING_CFLAGS} \
-                             ${SDBUSPLUS_CFLAGS} \
-                             ${SDEVENTPLUS_CFLAGS} \
-                             ${PHOSPHOR_DBUS_INTERFACES_CFLAGS}
-SUBDIRS = test
diff --git a/bootstrap.sh b/bootstrap.sh
deleted file mode 100755
index 50b75b7..0000000
--- a/bootstrap.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \
-        config.guess config.h.in config.sub configure depcomp install-sh \
-        ltmain.sh missing *libtool test-driver"
-
-case $1 in
-    clean)
-        test -f Makefile && make maintainer-clean
-        for file in ${AUTOCONF_FILES}; do
-            find -name "$file" | xargs -r rm -rf
-        done
-        exit 0
-        ;;
-esac
-
-autoreconf -i
-echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 26cf79b..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,59 +0,0 @@
-# Initialization
-AC_PREREQ([2.69])
-AC_INIT([phosphor-watchdog], [1.0],
-        [https://github.com/openbmc/phosphor-watchdog/issues])
-AC_LANG([C++])
-AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
-AM_SILENT_RULES([yes])
-
-# Checks for programs.
-AC_PROG_CXX
-AC_PROG_INSTALL
-
-# Checks for typedefs, structures, and compiler characteristics.
-AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
-AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
-
-# For linking
-LT_INIT
-
-# Check for needed modules
-PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])
-PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])
-PKG_CHECK_MODULES([SDEVENTPLUS], [sdeventplus])
-PKG_CHECK_MODULES([PHOSPHOR_DBUS_INTERFACES], [phosphor-dbus-interfaces])
-PKG_CHECK_MODULES([GTEST_MAIN], [gtest_main], [],
-    [
-        AX_PTHREAD([GTEST_MAIN_CFLAGS="-DGTEST_HAS_PTHREAD=1"],[GTEST_MAIN_CFLAGS="-DGTEST_HAS_PTHREAD=0"])
-        [GTEST_MAIN_LIBS="-lgtest_main -lgtest"]
-        AC_SUBST(GTEST_MAIN_CFLAGS)
-        AC_SUBST(GTEST_MAIN_LIBS)
-    ])
-
-# We need the header only CLI library
-AC_CHECK_HEADERS([CLI/CLI.hpp], [], [
-    AC_MSG_ERROR([Could not find CLI11 CLI/CLI.hpp])
-])
-
-AC_ARG_ENABLE([oe-sdk],
-    AS_HELP_STRING([--enable-oe-sdk], [Link testcases absolutely against OE SDK so they can be ran within it.])
-)
-AC_ARG_VAR(OECORE_TARGET_SYSROOT,
-    [Path to the OE SDK SYSROOT])
-AS_IF([test "x$enable_oe_sdk" == "xyes"],
-    AS_IF([test "x$OECORE_TARGET_SYSROOT" == "x"],
-          AC_MSG_ERROR([OECORE_TARGET_SYSROOT must be set with --enable-oe-sdk])
-    )
-    AC_MSG_NOTICE([Enabling OE-SDK at $OECORE_TARGET_SYSROOT])
-    [
-        testcase_flags="-Wl,-rpath,\${OECORE_TARGET_SYSROOT}/lib"
-        testcase_flags="${testcase_flags} -Wl,-rpath,\${OECORE_TARGET_SYSROOT}/usr/lib"
-        testcase_flags="${testcase_flags} -Wl,-dynamic-linker,`find \${OECORE_TARGET_SYSROOT}/lib/ld-*.so | sort -r -n | head -n1`"
-    ]
-    AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags])
-)
-
-# Create configured output
-AC_CONFIG_FILES([Makefile test/Makefile])
-AC_OUTPUT
diff --git a/test/Makefile.am b/test/Makefile.am
deleted file mode 100644
index 96764e5..0000000
--- a/test/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-AM_CPPFLAGS = -I$(top_srcdir)
-
-# Run all 'check' test programs
-TESTS = $(check_PROGRAMS)
-
-# Build/add utest to test suite
-check_PROGRAMS = watchdog
-
-utestCPPFLAGS = $(GTEST_MAIN_CFLAGS) \
-                $(AM_CPPFLAGS) \
-                $(SDBUSPLUS_CFLAGS) \
-                $(SDEVENTPLUS_CFLAGS) \
-                $(PHOSPHOR_LOGGING_CFLAGS) \
-                $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
-
-utestCXXFLAGS = $(PTHREAD_CFLAGS)
-
-utestLDFLAGS = $(GTEST_MAIN_LIBS) \
-               $(PTHREAD_LIBS) \
-               $(OESDK_TESTCASE_FLAGS) \
-               $(SDBUSPLUS_LIBS) \
-               $(SDEVENTPLUS_LIBS) \
-               $(PHOSPHOR_LOGGING_LIBS) \
-               $(PHOSPHOR_DBUS_INTERFACES_LIBS)
-
-watchdog_CPPFLAGS = ${utestCPPFLAGS}
-watchdog_CXXFLAGS = ${utestCXXFLAGS}
-watchdog_LDFLAGS = ${utestLDFLAGS}
-
-watchdog_SOURCES = ../watchdog.cpp watchdog.cpp