blob: 3acdaabb2f082a0c66939dcfaca17a775b417716 [file] [log] [blame]
Vishwanatha Subbanna035a9692017-09-15 18:50:43 +05301AM_CPPFLAGS = -I$(top_srcdir)
2
3# Run all 'check' test programs
4TESTS = $(check_PROGRAMS)
5
6# Build/add utest to test suite
7check_PROGRAMS = utest
8utest_CPPFLAGS = -Igtest \
9 $(GTEST_CPPFLAGS) \
10 $(AM_CPPFLAGS) \
11 $(PHOSPHOR_LOGGING_CFLAGS) \
12 $(SDBUSPLUS_CFLAGS)
13
14utest_CXXFLAGS = $(PTHREAD_CFLAGS)
15
16utest_LDFLAGS = -lgtest_main \
17 -lgtest \
18 $(PTHREAD_LIBS) \
19 $(OESDK_TESTCASE_FLAGS) \
20 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
21 $(PHOSPHOR_LOGGING_LIBS) \
22 $(SDBUSPLUS_LIBS) \
23 -lcrypt \
24 -lstdc++fs
25
26utest_SOURCES = utest.cpp
27utest_LDADD = $(top_builddir)/user.o