blob: 58998473ef8de86ac9a02e6f043f88fb345c873c [file] [log] [blame]
Ratan Gupta594123d2017-05-16 22:48:35 +05301AM_CPPFLAGS = -I${top_srcdir}
2
3TESTS = $(check_PROGRAMS)
4
5check_PROGRAMS = test
6
7test_SOURCES = \
8 test_util.cpp
9
10test_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
11test_CXXFLAGS = $(PTHREAD_CFLAGS)
12
13test_LDFLAGS = -lgtest_main -lgtest -lstdc++fs \
14 $(OESDK_TESTCASE_FLAGS) \
15 $(SYSTEMD_LIBS) \
16 $(SDBUSPLUS_LIBS)
17
18test_LDADD = $(top_builddir)/util.cpp