blob: 7dddf0243af89022d0948fb92fe825c8276bbc32 [file] [log] [blame]
Deepak Kodihallia4074a92019-04-30 13:25:19 +05301libpldm_includedir = $(includedir)/libpldm
2libpldm_include_HEADERS = \
Tom Joseph4ff3c2e2019-04-10 12:10:19 +05303 base.h \
Sampa Misra0db1dfa2019-03-19 00:15:31 -05004 pldm_types.h \
Sampa Misra032bd502019-03-06 05:03:22 -06005 platform.h \
6 bios.h
Deepak Kodihalli1b24f972019-02-01 04:09:13 -06007
8libpldm_LTLIBRARIES = libpldm.la
9libpldmdir = ${libdir}
10libpldm_la_SOURCES = \
Sampa Misra0db1dfa2019-03-19 00:15:31 -050011 base.c \
Sampa Misra032bd502019-03-06 05:03:22 -060012 platform.c \
13 bios.c
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053014
15if OEM_IBM
16libpldm_include_HEADERS += \
17 $(top_builddir)/oem/ibm/libpldm/file_io.h
18libpldm_la_SOURCES += \
19 $(top_builddir)/oem/ibm/libpldm/file_io.c
20endif
21
Priyangafb4bec92019-03-25 11:51:31 +053022libpldm_la_LDFLAGS = -version-info 1:0:0 -shared
23libpldm_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
24libpldm_la_LIBADD = $(CODE_COVERAGE_LIBS)
Sampa Misra0db1dfa2019-03-19 00:15:31 -050025
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060026pkgconfiglibdir = ${libdir}/pkgconfig
27pkgconfiglib_DATA = libpldm.pc