blob: 45dff73c6c3fb860e0d7ca04f03b06cc4c8288ad [file] [log] [blame]
deps = [
dependency('phosphor-dbus-interfaces'),
dependency('phosphor-logging'),
dependency('sdbusplus'),
libpldm
]
sources = [
'base.cpp',
'bios.cpp',
'bios_table.cpp',
'bios_parser.cpp',
'pdr.cpp',
'effecters.cpp',
'utils.cpp',
'platform.cpp',
'../registration.cpp'
]
if get_option('oem-ibm').enabled()
sources += [
'../oem/ibm/libpldmresponder/file_io.cpp',
'../oem/ibm/libpldmresponder/file_table.cpp'
]
endif
libpldmresponder = library(
'libpldmresponder',
sources,
version: meson.project_version(),
dependencies: deps,
install: true)
libpldmresponder = declare_dependency(
link_with: libpldmresponder)