xref: /openbmc/pldm/libpldmresponder/meson.build (revision 18967161)
1deps = [
2  dependency('phosphor-dbus-interfaces'),
3  dependency('sdbusplus'),
4  libpldm,
5  libpldmutils
6]
7
8sources = [
9  'base.cpp',
10  'bios.cpp',
11  'bios_table.cpp',
12  'bios_parser.cpp',
13  'pdr_utils.cpp',
14  'pdr.cpp',
15  'platform.cpp',
16  'fru_parser.cpp',
17  'fru.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    '../oem/ibm/libpldmresponder/file_io_by_type.cpp',
25    '../oem/ibm/libpldmresponder/file_io_type_pel.cpp',
26    '../oem/ibm/libpldmresponder/file_io_type_dump.cpp'
27  ]
28endif
29
30libpldmresponder = library(
31  'pldmresponder',
32  sources,
33  version: meson.project_version(),
34  dependencies: deps,
35  install: true)
36
37libpldmresponder = declare_dependency(
38  link_with: libpldmresponder)
39