blob: 3de7bf30a9550121fc5617e8bbfb3137939208c5 [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
Deepak Kodihallida87ec62019-07-02 01:01:16 -050016libpldm_la_LDFLAGS = -version-info 1:0:0 -shared
17libpldm_la_CFLAGS = $(CODE_COVERAGE_CFLAGS)
18libpldm_la_LIBADD = $(CODE_COVERAGE_LIBS)
19
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053020if OEM_IBM
21libpldm_include_HEADERS += \
22 $(top_builddir)/oem/ibm/libpldm/file_io.h
23libpldm_la_SOURCES += \
24 $(top_builddir)/oem/ibm/libpldm/file_io.c
Deepak Kodihallida87ec62019-07-02 01:01:16 -050025libpldm_la_CFLAGS += -I$(top_srcdir)/libpldm
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053026endif
27
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060028pkgconfiglibdir = ${libdir}/pkgconfig
29pkgconfiglib_DATA = libpldm.pc