evdevpp: Add evmon utility
Add a sample/test ev event monitor program for evdevpp.
Change-Id: I46dcc47b67b377a1abd79ceef3bc28dbf269d6f2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/evdevpp/test/Makefile.am b/evdevpp/test/Makefile.am
index 36455d7..321721a 100644
--- a/evdevpp/test/Makefile.am
+++ b/evdevpp/test/Makefile.am
@@ -6,3 +6,21 @@
noinst_PROGRAMS =
TESTS = $(check_PROGRAMS)
+
+noinst_PROGRAMS += evmon
+evmon_SOURCES = \
+ evmon.cpp
+evmon_CXXFLAGS = \
+ $(LIBEVDEV_CFLAGS) \
+ ${PHOSPHOR_DBUS_INTERFACES_CFLAGS} \
+ $(PHOSPHOR_LOGGING_CFLAGS) \
+ $(SDBUSPLUS_CFLAGS) \
+ $(SYSTEMD_CFLAGS)
+evmon_LDFLAGS = \
+ $(OESDK_TESTCASE_FLAGS)
+evmon_LDADD = \
+ $(LIBEVDEV_LIBS) \
+ ${PHOSPHOR_DBUS_INTERFACES_LIBS} \
+ $(PHOSPHOR_LOGGING_LIBS) \
+ $(SDBUSPLUS_LIBS) \
+ $(SYSTEMD_LIBS)