Andrew Geissler | 4cea4d2 | 2017-07-10 15:13:33 -0500 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | check_PROGRAMS = utest |
| 3 | |
| 4 | # Run all 'check' test programs |
| 5 | TESTS = $(check_PROGRAMS) |
| 6 | |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 7 | utest_LDADD = $(top_builddir)/libocc_control.la -lstdc++fs |
| 8 | |
| 9 | utest_SOURCES = utest.cpp \ |
| 10 | TestI2cOcc.cpp |
| 11 | |
| 12 | utest_CPPFLAGS = $(GTEST_CPPFLAGS) \ |
| 13 | $(AM_CPPFLAGS) |
| 14 | |
Andrew Geissler | 4cea4d2 | 2017-07-10 15:13:33 -0500 | [diff] [blame] | 15 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) |
Lei YU | 6c56a4a | 2017-07-14 11:07:37 +0800 | [diff] [blame] | 16 | |
| 17 | utest_LDFLAGS = -lgmock_main \ |
| 18 | $(PTHREAD_LIBS) \ |
| 19 | $(OESDK_TESTCASE_FLAGS) |