presence: Add test directory

Change-Id: I1d0a8e7d4c442beb271c83d5ef6be3ca69c7c115
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/configure.ac b/configure.ac
index 5cd3a2a..1c45658 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,5 +170,5 @@
 ])
 
 # Create configured output
-AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile evdevpp/test/Makefile])
+AC_CONFIG_FILES([Makefile test/Makefile sdevent/test/Makefile evdevpp/test/Makefile presence/test/Makefile])
 AC_OUTPUT
diff --git a/presence/test/Makefile.am b/presence/test/Makefile.am
new file mode 100644
index 0000000..56c3ab3
--- /dev/null
+++ b/presence/test/Makefile.am
@@ -0,0 +1,7 @@
+AM_CPPFLAGS = -iquote$(top_srcdir)
+gtest_cflags = $(PTHREAD_CFLAGS)
+gtest_ldadd = -lgtest -lgtest_main -lgmock $(PTHREAD_LIBS)
+
+check_PROGRAMS =
+
+TESTS = $(check_PROGRAMS)