xref: /openbmc/phosphor-event/test/Makefile.am (revision 74c0963269a6828c42d282b97bffa1afafc1b7d0)
1AM_CPPFLAGS = -I${top_srcdir}
2check_PROGRAMS =
3
4# Run all 'check' test programs
5TESTS = $(check_PROGRAMS)
6
7# Build/add utest to test suite
8check_PROGRAMS += utest
9utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
10utest_CXXFLAGS = $(PTHREAD_CFLAGS)
11utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS)
12utest_SOURCES = utest.cpp
13utest_LDADD = $(top_builddir)/message.o
14