obmc-console: Remove autotools build system

After introducing the meson build system and switching over the bitbake
recipe there's no need to continue maintaining the autotools build.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I49c808284e640e3c1efe1f9e555c31c7a3af041c
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 696fec9..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-sbin_PROGRAMS = obmc-console-server
-bin_PROGRAMS = obmc-console-client
-
-obmcconsoledir = $(sysconfdir)/obmc-console
-obmcconsole_DATA = conf/server.ttyVUART0.conf
-
-if WITH_UDEV
-udevrulesddir = $(udevdir)/rules.d
-udevrulesd_DATA = conf/80-obmc-console-uart.rules
-endif
-
-if WITH_SYSTEMD
-systemdsystemunit_DATA = conf/obmc-console@.service \
-			 conf/obmc-console@.socket \
-			 conf/obmc-console-ssh@.service
-
-if ENABLE_CONCURRENT_SERVERS
-obmcconsole_DATA += conf/client.2200.conf
-else
-systemdsystemunit_DATA += conf/obmc-console-ssh.socket
-sshservicedir = $(systemdsystemunitdir)/obmc-console-ssh@.service.d
-sshservice_DATA = conf/obmc-console-ssh@.service.d/use-socket.conf
-endif
-endif
-
-obmc_console_server_CPPFLAGS = \
-	-DLOCALSTATEDIR=\"$(localstatedir)\" \
-	-DSYSCONFDIR=\"$(sysconfdir)\"
-
-obmc_console_server_SOURCES = \
-	 console-server.c \
-	 console-server.h \
-	 util.c \
-	 ringbuffer.c \
-	 config.c \
-	 log-handler.c \
-	 socket-handler.c \
-	 tty-handler.c \
-	 console-socket.c
-
-obmc_console_server_LDFLAGS = $(SYSTEMD_LIBS) -lrt
-obmc_console_server_CFLAGS = $(SYSTEMD_CFLAGS)
-
-obmc_console_client_CPPFLAGS = \
-	-DSYSCONFDIR=\"$(sysconfdir)\"
-
-obmc_console_client_SOURCES = \
-	 console-client.c \
-	 console-server.h \
-	 console-socket.c \
-	 config.c \
-	 util.c
-
-SUBDIRS = test
diff --git a/bootstrap.sh b/bootstrap.sh
deleted file mode 100755
index 9fdf674..0000000
--- a/bootstrap.sh
+++ /dev/null
@@ -1,19 +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" -print0 | xargs -0 -r rm -rf
-        done
-        exit 0
-        ;;
-esac
-
-autoreconf -i
-# shellcheck disable=SC2016
-echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 9278e62..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,85 +0,0 @@
-# Initialization
-AC_PREREQ([2.69])
-AC_INIT([obmc-console], 1.0, [https://github.com/openbmc/obmc-console/issues])
-AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign dist-xz])
-AM_SILENT_RULES([yes])
-
-# Checks for programs.
-AC_PROG_CC
-AM_PROG_AR
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-
-# Checks for libraries.
-PKG_PROG_PKG_CONFIG
-
-PKG_CHECK_MODULES([SYSTEMD], [libsystemd > 221])
-
-# Checks for header files.
-
-# Checks for typedefs, structures, and compiler characteristics.
-AX_APPEND_COMPILE_FLAGS([-Wall -Werror -D_GNU_SOURCE], [CFLAGS])
-
-# Checks for library functions.
-LT_INIT # Removes 'unrecognized options: --with-libtool-sysroot'
-
-AC_ARG_WITH([udevdir],
-        AS_HELP_STRING([--with-udevdir=DIR],  [Directory for udev rules]),
-        [], [with_udevdir=${prefix}$($PKG_CONFIG --variable=udevdir udev)])
-if test "x$with_udevdir" != xno; then
-    AC_SUBST([udevdir], [$with_udevdir])
-fi
-AM_CONDITIONAL(WITH_UDEV, [test -n "$with_udevdir" -a "x$with_udevdir" != xno ])
-
-AC_ARG_WITH([systemdsystemunitdir],
-	AS_HELP_STRING([--with-systemdsystemunitdir=DIR],  [Directory for systemd service files]),
-	[], [with_systemdsystemunitdir=${prefix}$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
-if test "x$with_systemdsystemunitdir" != xno; then
-    AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
-fi
-AM_CONDITIONAL(WITH_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ])
-
-AC_ARG_ENABLE([concurrent-servers],
-              [AS_HELP_STRING([--enable-concurrent-servers],
-                              [Configure applications and systemd units for concurrent server instances])],
-              [],
-              [enable_concurrent_servers="no"])
-AM_CONDITIONAL([ENABLE_CONCURRENT_SERVERS], [test "x$enable_concurrent_servers" = "xyes"])
-
-# Check/set gtest specific functions.
-AX_PTHREAD([GTEST_CPPFLAGS="-DGTEST_HAS_PTHREAD=1"],[GTEST_CPP_FLAGS="-DGTEST_HAS_PTHREAD=0"])
-AC_SUBST(GTEST_CPPFLAGS)
-
-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([
-                 conf/80-obmc-console-uart.rules
-                 conf/client.2200.conf
-                 conf/obmc-console@.service
-                 conf/obmc-console@.socket
-                 conf/obmc-console-ssh@.service
-                 conf/obmc-console-ssh@.service.d/use-socket.conf
-                 conf/obmc-console-ssh.socket
-                 conf/server.ttyVUART0.conf
-                 Makefile
-                 test/Makefile
-                ])
-AC_OUTPUT
diff --git a/test/Makefile.am b/test/Makefile.am
deleted file mode 100644
index fe17a69..0000000
--- a/test/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-check_PROGRAMS =
-
-# Run all 'check' test programs
-TESTS = $(check_PROGRAMS)
-
-check_PROGRAMS += \
-	test-ringbuffer-contained-read \
-	test-ringbuffer-contained-offset-read \
-	test-ringbuffer-read-commit \
-	test-ringbuffer-boundary-read \
-	test-ringbuffer-simple-poll \
-	test-ringbuffer-boundary-poll \
-	test-ringbuffer-poll-force \
-	test-config-parse-logsize \
-	test-client-escape \
-	test-config-parse
-
-EXTRA_DIST = ringbuffer-test-utils.c
-
-AM_CPPFLAGS = -I$(top_srcdir)
-AM_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
-
-test_client_escape_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSYSCONFDIR=\"\"