blob: 45dff73c6c3fb860e0d7ca04f03b06cc4c8288ad [file] [log] [blame]
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05001deps = [
2 dependency('phosphor-dbus-interfaces'),
3 dependency('phosphor-logging'),
4 dependency('sdbusplus'),
5 libpldm
6]
7
8sources = [
9 'base.cpp',
10 'bios.cpp',
11 'bios_table.cpp',
12 'bios_parser.cpp',
13 'pdr.cpp',
14 'effecters.cpp',
15 'utils.cpp',
Deepak Kodihalli557dfb02019-05-12 13:11:17 +053016 'platform.cpp',
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050017 '../registration.cpp'
18]
19
20if get_option('oem-ibm').enabled()
21 sources += [
22 '../oem/ibm/libpldmresponder/file_io.cpp',
23 '../oem/ibm/libpldmresponder/file_table.cpp'
24 ]
25endif
26
27libpldmresponder = library(
28 'libpldmresponder',
29 sources,
30 version: meson.project_version(),
31 dependencies: deps,
32 install: true)
33
34libpldmresponder = declare_dependency(
35 link_with: libpldmresponder)