Tom Joseph | 7dae777 | 2019-04-10 14:44:44 +0530 | [diff] [blame] | 1 | AM_CPPFLAGS = -I$(top_srcdir) |
| 2 | |
| 3 | TESTS = $(check_PROGRAMS) |
| 4 | |
| 5 | check_PROGRAMS = \ |
| 6 | libpldm_fileio_test |
| 7 | |
| 8 | test_cppflags = \ |
| 9 | -Igtest \ |
| 10 | $(GTEST_CPPFLAGS) \ |
| 11 | $(AM_CPPFLAGS) |
| 12 | |
| 13 | test_cxxflags = \ |
| 14 | $(PTHREAD_CFLAGS) |
| 15 | |
| 16 | test_ldflags = \ |
| 17 | -lgtest_main \ |
| 18 | -lgtest \ |
| 19 | $(PTHREAD_LIBS) \ |
| 20 | $(OESDK_TESTCASE_FLAGS) |
| 21 | |
| 22 | libpldm_fileio_test_CPPFLAGS = $(test_cppflags) |
| 23 | libpldm_fileio_test_CXXFLAGS = $(test_cxxflags) |
| 24 | libpldm_fileio_test_LDFLAGS = $(test_ldflags) |
| 25 | libpldm_fileio_test_LDADD = $(top_builddir)/libpldm/base.o \ |
| 26 | $(top_builddir)/libpldm/file_io.o |
| 27 | libpldm_fileio_test_SOURCES = libpldm_fileio_test.cpp |