blob: 770ef8ca70ac414f9bef78fb7e56a80b9cfe09fa [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',
Sampa Misra854e61f2019-08-22 04:36:47 -050023 '../oem/ibm/libpldmresponder/file_table.cpp',
24 '../oem/ibm/libpldmresponder/file_io_by_type.cpp',
25 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp'
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050026 ]
27endif
28
29libpldmresponder = library(
Deepak Kodihalli535efa02019-10-08 11:52:42 -050030 'pldmresponder',
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050031 sources,
32 version: meson.project_version(),
33 dependencies: deps,
34 install: true)
35
36libpldmresponder = declare_dependency(
37 link_with: libpldmresponder)