blob: 13ff55e42f084ddd0d0dd2f38d943fd8e98a5951 [file] [log] [blame]
Matt Spinler59c29c72017-04-27 11:17:28 -05001AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# # Build/add timertest to test suite
7check_PROGRAMS = timertest
8timertest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
Dinesh Chinari618027a2017-06-26 23:26:50 -05009timertest_CXXFLAGS = $(PTHREAD_CFLAGS) ${PHOSPHOR_DBUS_INTERFACES_CFLAGS}
Matt Spinler59c29c72017-04-27 11:17:28 -050010timertest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
Dinesh Chinari618027a2017-06-26 23:26:50 -050011 $(SYSTEMD_LIBS) ${SDBUSPLUS_LIBS} ${PHOSPHOR_DBUS_INTERFACES_LIBS}
Matt Spinler59c29c72017-04-27 11:17:28 -050012timertest_SOURCES = timertest.cpp
13timertest_LDADD = $(top_builddir)/timer.o