blob: 2fc0f76b49f15710ef95b569b9e40ae990015d29 [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',
14 'utils.cpp',
Deepak Kodihalli557dfb02019-05-12 13:11:17 +053015 'platform.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)