Vernon Mauery | cbccb05 | 2018-10-24 13:52:22 -0700 | [diff] [blame] | 1 | BOOST_CXX = -DBOOST_ERROR_CODE_HEADER_ONLY \ |
| 2 | -DBOOST_SYSTEM_NO_DEPRECATED \ |
| 3 | -DBOOST_COROUTINES_NO_DEPRECATION_WARNING \ |
| 4 | -DBOOST_ALL_NO_LIB |
| 5 | |
Tom Joseph | 1e5a76a | 2017-01-30 19:25:06 +0530 | [diff] [blame] | 6 | AM_CPPFLAGS = -I$(top_srcdir) |
| 7 | |
| 8 | # Run all 'check' test programs |
| 9 | TESTS = $(check_PROGRAMS) |
| 10 | |
| 11 | # # Build/add utest to test suite |
| 12 | check_PROGRAMS = utest |
| 13 | utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) |
Vernon Mauery | cbccb05 | 2018-10-24 13:52:22 -0700 | [diff] [blame] | 14 | utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(BOOST_CXX) |
Tom Joseph | 1e5a76a | 2017-01-30 19:25:06 +0530 | [diff] [blame] | 15 | utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) $(CRYPTO_LIBS) |
| 16 | utest_SOURCES = cipher.cpp |
| 17 | utest_LDADD = \ |
| 18 | $(top_builddir)/integrity_algo.cpp \ |
| 19 | $(top_builddir)/crypt_algo.cpp |