Vishwanatha Subbanna | 32c9727 | 2017-04-04 14:10:08 +0530 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
Vishwanatha Subbanna | 77ec479 | 2017-04-10 15:43:47 +0530 | [diff] [blame] | 2 | AM_CXXFLAGS = $(LIBEVDEV_CFLAGS) |
Vishwanatha Subbanna | 32c9727 | 2017-04-04 14:10:08 +0530 | [diff] [blame] | 3 | |
| 4 | # Run all 'check' test programs |
| 5 | TESTS = $(check_PROGRAMS) |
| 6 | |
| 7 | # # Build/add utest to test suite |
| 8 | check_PROGRAMS = utest |
Vishwanatha Subbanna | 77ec479 | 2017-04-10 15:43:47 +0530 | [diff] [blame] | 9 | utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) $(LIBEVDEV_CFLAGS) |
Gunnar Mills | 9925857 | 2017-07-27 15:22:42 -0500 | [diff] [blame^] | 10 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(LIBEVDEV_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) |
| 11 | utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(SYSTEMD_LIBS) $(PHOSPHOR_LOGGING_LIBS) \ |
| 12 | $(LIBEVDEV_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) |
Vishwanatha Subbanna | 32c9727 | 2017-04-04 14:10:08 +0530 | [diff] [blame] | 13 | utest_SOURCES = utest.cpp |
Gunnar Mills | 9925857 | 2017-07-27 15:22:42 -0500 | [diff] [blame^] | 14 | utest_LDADD = $(top_builddir)/monitor.o $(top_srcdir)/evdev.cpp |