blob: 3de7bf30a9550121fc5617e8bbfb3137939208c5 [file] [log] [blame]
libpldm_includedir = $(includedir)/libpldm
libpldm_include_HEADERS = \
base.h \
pldm_types.h \
platform.h \
bios.h \
states.h
libpldm_LTLIBRARIES = libpldm.la
libpldmdir = ${libdir}
libpldm_la_SOURCES = \
base.c \
platform.c \
bios.c
libpldm_la_LDFLAGS = -version-info 1:0:0 -shared
libpldm_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
libpldm_la_LIBADD = $(CODE_COVERAGE_LIBS)
if OEM_IBM
libpldm_include_HEADERS += \
$(top_builddir)/oem/ibm/libpldm/file_io.h
libpldm_la_SOURCES += \
$(top_builddir)/oem/ibm/libpldm/file_io.c
libpldm_la_CFLAGS += -I$(top_srcdir)/libpldm
endif
pkgconfiglibdir = ${libdir}/pkgconfig
pkgconfiglib_DATA = libpldm.pc