blob: 187aedfa314def82ce1e26cf2dd143e63ed7b532 [file] [log] [blame]
Gunnar Mills01d55c32017-04-20 10:52:15 -05001AM_CPPFLAGS = -I$(top_srcdir)
2
3# gtest unit tests which run during a 'make check'
4check_PROGRAMS = utest
5
6# Run all 'check' test programs
7TESTS = $(check_PROGRAMS)
8
9# Build/add utest to test suite
10utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
11utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
12utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
13 $(PHOSPHOR_LOGGING_LIBS) -lstdc++fs
14
15utest_SOURCES = utest.cpp
16utest_LDADD = $(top_builddir)/phosphor_version_software_manager-version.o