blob: 5311f9fe4784a08dbb43a0fafcda751dd71f6208 [file] [log] [blame]
Andrew Geissler4cea4d22017-07-10 15:13:33 -05001AM_CPPFLAGS = -I$(top_srcdir)
2check_PROGRAMS = utest
3
4# Run all 'check' test programs
5TESTS = $(check_PROGRAMS)
6
Lei YU6c56a4a2017-07-14 11:07:37 +08007utest_LDADD = $(top_builddir)/libocc_control.la -lstdc++fs
8
9utest_SOURCES = utest.cpp \
10 TestI2cOcc.cpp
11
12utest_CPPFLAGS = $(GTEST_CPPFLAGS) \
13 $(AM_CPPFLAGS)
14
Andrew Geissler4cea4d22017-07-10 15:13:33 -050015utest_CXXFLAGS = $(PTHREAD_CFLAGS)
Lei YU6c56a4a2017-07-14 11:07:37 +080016
17utest_LDFLAGS = -lgmock_main \
18 $(PTHREAD_LIBS) \
19 $(OESDK_TESTCASE_FLAGS)