blob: fc47454d528c4715cea966ffb09520b46ff8ef24 [file] [log] [blame]
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05001deps = [
2 dependency('phosphor-dbus-interfaces'),
Deepak Kodihalli3c275e12019-09-21 06:39:39 -05003 dependency('sdbusplus'),
4 libpldm
5]
6
7sources = [
8 'base.cpp',
9 'bios.cpp',
10 'bios_table.cpp',
11 'bios_parser.cpp',
12 'pdr.cpp',
13 'effecters.cpp',
Deepak Kodihalli557dfb02019-05-12 13:11:17 +053014 'platform.cpp',
George Liu83409572019-12-24 18:42:54 +080015 '../utils.cpp'
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050016]
17
18if get_option('oem-ibm').enabled()
19 sources += [
20 '../oem/ibm/libpldmresponder/file_io.cpp',
Sampa Misra854e61f2019-08-22 04:36:47 -050021 '../oem/ibm/libpldmresponder/file_table.cpp',
22 '../oem/ibm/libpldmresponder/file_io_by_type.cpp',
23 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp'
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050024 ]
25endif
26
27libpldmresponder = library(
Deepak Kodihalli535efa02019-10-08 11:52:42 -050028 'pldmresponder',
Deepak Kodihalli3c275e12019-09-21 06:39:39 -050029 sources,
30 version: meson.project_version(),
31 dependencies: deps,
32 install: true)
33
34libpldmresponder = declare_dependency(
35 link_with: libpldmresponder)