1deps = [ 2 phosphor_dbus_interfaces, 3 sdbusplus, 4 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/utils.cpp', 31 '../oem/ibm/libpldmresponder/file_io.cpp', 32 '../oem/ibm/libpldmresponder/file_table.cpp', 33 '../oem/ibm/libpldmresponder/file_io_by_type.cpp', 34 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', 35 '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', 36 '../oem/ibm/libpldmresponder/file_io_type_cert.cpp', 37 '../oem/ibm/libpldmresponder/platform_oem_ibm.cpp' 38 ] 39endif 40 41libpldmresponder = library( 42 'pldmresponder', 43 sources, 44 version: meson.project_version(), 45 dependencies: deps, 46 install: true) 47 48libpldmresponder = declare_dependency( 49 link_with: libpldmresponder) 50