Convert build process to autotools
Updated to follow the base openbmc autotool standard.
Resolves openbmc/obmc-console#4
Change-Id: If6af4faacfcaf853d7642bd3a6f22b6f6190a776
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000..45be362
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,12 @@
+check_PROGRAMS =
+
+# Run all 'check' test programs
+TESTS = $(check_PROGRAMS)
+
+#Build/add config-test to test suite
+check_PROGRAMS += config-test
+config_test_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) \
+ -DCONFIG_TEST -DSYSCONFDIR=\"\"
+config_test_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS)
+config_test_SOURCES = config.c
+config_test_LDADD = $(top_builddir)/config.o