blob: a285b8fe885b3a74c557fb5e8b98047c1ce1b701 [file] [log] [blame]
Deepak Kodihalli1b24f972019-02-01 04:09:13 -06001libpldmresponder_LTLIBRARIES = libpldmresponder.la
2libpldmresponderdir = ${libdir}
3libpldmresponder_la_SOURCES = \
Sampa Misra032bd502019-03-06 05:03:22 -06004 base.cpp \
5 utils.cpp \
Deepak Kodihallic6e8fb52019-05-02 08:35:31 -05006 bios.cpp \
7 effecters.cpp \
Deepak Kodihallicb7f2d42019-06-19 13:25:31 +05308 pdr.cpp \
9 bios_table.cpp
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060010libpldmresponder_la_LIBADD = \
Priyangafb4bec92019-03-25 11:51:31 +053011 ../libpldm/libpldm.la \
12 $(CODE_COVERAGE_LIBS)
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060013libpldmresponder_la_LDFLAGS = \
Deepak Kodihallia0386242019-04-25 07:27:18 -050014 $(SDBUSPLUS_LIBS) \
Deepak Kodihallic6e8fb52019-05-02 08:35:31 -050015 $(PHOSPHOR_LOGGING_LIBS) \
16 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
17 -lstdc++fs \
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060018 -version-info 1:0:0 -shared
Deepak Kodihallia0386242019-04-25 07:27:18 -050019libpldmresponder_la_CXXFLAGS = \
20 $(CODE_COVERAGE_CXXFLAGS) \
Deepak Kodihallic6e8fb52019-05-02 08:35:31 -050021 $(SDBUSPLUS_CFLAGS) \
22 $(PHOSPHOR_LOGGING_CFLAGS) \
23 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
24
Deepak Kodihallic1e5d1d2019-04-30 12:46:12 +053025libpldmresponder_la_CPPFLAGS = \
26 $(CODE_COVERAGE_CPPFLAGS) \
27 -I$(top_srcdir)
Priyangafb4bec92019-03-25 11:51:31 +053028
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053029if OEM_IBM
30libpldmresponder_la_SOURCES += \
Tom Joseph0c6d22c2019-06-26 09:58:41 +053031 $(top_builddir)/oem/ibm/libpldmresponder/file_io.cpp \
32 $(top_builddir)/oem/ibm/libpldmresponder/file_table.cpp
Deepak Kodihallida87ec62019-07-02 01:01:16 -050033libpldmresponder_la_CPPFLAGS += -I$(top_srcdir)/libpldm
Jinu Joy Thomas7f57f442019-06-13 20:38:49 +053034endif
Sampa Misra032bd502019-03-06 05:03:22 -060035