blob: dc03711865a10d7dd536170467ae0aeadaee7167 [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 \
Deepak Kodihallic6e8fb52019-05-02 08:35:31 -05006 bios.h \
7 states.h
Deepak Kodihalli1b24f972019-02-01 04:09:13 -06008
9libpldm_LTLIBRARIES = libpldm.la
10libpldmdir = ${libdir}
11libpldm_la_SOURCES = \
Sampa Misra0db1dfa2019-03-19 00:15:31 -050012 base.c \
Sampa Misra032bd502019-03-06 05:03:22 -060013 platform.c \
14 bios.c
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053015
16if OEM_IBM
17libpldm_include_HEADERS += \
18 $(top_builddir)/oem/ibm/libpldm/file_io.h
19libpldm_la_SOURCES += \
20 $(top_builddir)/oem/ibm/libpldm/file_io.c
21endif
22
Priyangafb4bec92019-03-25 11:51:31 +053023libpldm_la_LDFLAGS = -version-info 1:0:0 -shared
24libpldm_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
25libpldm_la_LIBADD = $(CODE_COVERAGE_LIBS)
Sampa Misra0db1dfa2019-03-19 00:15:31 -050026
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060027pkgconfiglibdir = ${libdir}/pkgconfig
28pkgconfiglib_DATA = libpldm.pc