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 '../oem/ibm/libpldmresponder/oem_ibm_handler.cpp', 39 '../oem/ibm/libpldmresponder/inband_code_update.cpp', 40 '../oem/ibm/requester/dbus_to_file_handler.cpp', 41 ] 42endif 43 44libpldmresponder = library( 45 'pldmresponder', 46 sources, 47 version: meson.project_version(), 48 dependencies: deps, 49 install: true) 50 51libpldmresponder = declare_dependency( 52 link_with: libpldmresponder) 53