blob: f854cecc193f0089946dbf2eb6254159ca6f38bd [file] [log] [blame]
AM_CPPFLAGS = -I$(top_srcdir)
TESTS = $(check_PROGRAMS)
check_PROGRAMS = \
libpldm_fileio_test
test_cppflags = \
-Igtest \
$(GTEST_CPPFLAGS) \
$(AM_CPPFLAGS)
test_cxxflags = \
$(PTHREAD_CFLAGS)
test_ldflags = \
-lgtest_main \
-lgtest \
$(PTHREAD_LIBS) \
$(OESDK_TESTCASE_FLAGS)
libpldm_fileio_test_CPPFLAGS = $(test_cppflags)
libpldm_fileio_test_CXXFLAGS = $(test_cxxflags)
libpldm_fileio_test_LDFLAGS = $(test_ldflags)
libpldm_fileio_test_LDADD = $(top_builddir)/libpldm/base.o \
$(top_builddir)/libpldm/file_io.o
libpldm_fileio_test_SOURCES = libpldm_fileio_test.cpp