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 '../host-bmc/dbus_to_event_handler.cpp', 25 'event_parser.cpp' 26] 27 28if get_option('oem-ibm').enabled() 29 sources += [ 30 '../oem/ibm/libpldmresponder/file_io.cpp', 31 '../oem/ibm/libpldmresponder/file_table.cpp', 32 '../oem/ibm/libpldmresponder/file_io_by_type.cpp', 33 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', 34 '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', 35 '../oem/ibm/libpldmresponder/file_io_type_cert.cpp' 36 ] 37endif 38 39libpldmresponder = library( 40 'pldmresponder', 41 sources, 42 version: meson.project_version(), 43 dependencies: deps, 44 install: true) 45 46libpldmresponder = declare_dependency( 47 link_with: libpldmresponder) 48