blob: c63685c578964efe31f1a8773405cc47f8561ed2 [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',
16 '../registration.cpp'
17]
18
19if get_option('oem-ibm').enabled()
20 sources += [
21 '../oem/ibm/libpldmresponder/file_io.cpp',
22 '../oem/ibm/libpldmresponder/file_table.cpp'
23 ]
24endif
25
26libpldmresponder = library(
27 'libpldmresponder',
28 sources,
29 version: meson.project_version(),
30 dependencies: deps,
31 install: true)
32
33libpldmresponder = declare_dependency(
34 link_with: libpldmresponder)