blob: cb3a7a3eaeab1cb646bd2c0c6532c0d3b29b9a7b [file] [log] [blame]
deps = [
dependency('phosphor-dbus-interfaces'),
dependency('sdbusplus'),
libpldm,
libpldmutils
]
sources = [
'base.cpp',
'bios.cpp',
'bios_table.cpp',
'bios_parser.cpp',
'pdr_utils.cpp',
'pdr.cpp',
'platform.cpp',
'fru_parser.cpp',
'fru.cpp'
]
if get_option('oem-ibm').enabled()
sources += [
'../oem/ibm/libpldmresponder/file_io.cpp',
'../oem/ibm/libpldmresponder/file_table.cpp',
'../oem/ibm/libpldmresponder/file_io_by_type.cpp',
'../oem/ibm/libpldmresponder/file_io_type_pel.cpp',
'../oem/ibm/libpldmresponder/file_io_type_dump.cpp'
]
endif
libpldmresponder = library(
'pldmresponder',
sources,
version: meson.project_version(),
dependencies: deps,
install: true)
libpldmresponder = declare_dependency(
link_with: libpldmresponder)