1deps = [ 2 dependency('phosphor-dbus-interfaces'), 3 dependency('sdbusplus'), 4 dependency('sdeventplus'), 5 libpldm, 6 libpldmutils 7] 8 9sources = [ 10 'base.cpp', 11 'bios.cpp', 12 'bios_table.cpp', 13 'bios_attribute.cpp', 14 'bios_string_attribute.cpp', 15 'bios_integer_attribute.cpp', 16 'bios_enum_attribute.cpp', 17 'bios_config.cpp', 18 'pdr_utils.cpp', 19 'pdr.cpp', 20 'platform.cpp', 21 'fru_parser.cpp', 22 'fru.cpp', 23 '../host-bmc/host_pdr_handler.cpp', 24 'event_parser.cpp' 25] 26 27if get_option('oem-ibm').enabled() 28 sources += [ 29 '../oem/ibm/libpldmresponder/file_io.cpp', 30 '../oem/ibm/libpldmresponder/file_table.cpp', 31 '../oem/ibm/libpldmresponder/file_io_by_type.cpp', 32 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', 33 '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', 34 '../oem/ibm/libpldmresponder/file_io_type_cert.cpp' 35 ] 36endif 37 38libpldmresponder = library( 39 'pldmresponder', 40 sources, 41 version: meson.project_version(), 42 dependencies: deps, 43 install: true) 44 45libpldmresponder = declare_dependency( 46 link_with: libpldmresponder) 47