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) |
Vishwanatha Subbanna | 32c9727 | 2017-04-04 14:10:08 +0530 | [diff] [blame] | 10 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) |
Vishwanatha Subbanna | 77ec479 | 2017-04-10 15:43:47 +0530 | [diff] [blame^] | 11 | utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(SYSTEMD_LIBS) $(PHOSPHOR_LOGGING_LIBS) $(LIBEVDEV_LIBS) |
Vishwanatha Subbanna | 32c9727 | 2017-04-04 14:10:08 +0530 | [diff] [blame] | 12 | utest_SOURCES = utest.cpp |
| 13 | utest_LDADD = $(top_builddir)/monitor.o |