1libpldmresponder_deps = [ 2 phosphor_dbus_interfaces, 3 nlohmann_json, 4 sdbusplus, 5 sdeventplus, 6 libpldm_dep, 7 libpldmutils 8] 9 10sources = [ 11 'base.cpp', 12 'bios.cpp', 13 'bios_table.cpp', 14 'bios_attribute.cpp', 15 'bios_string_attribute.cpp', 16 'bios_integer_attribute.cpp', 17 'bios_enum_attribute.cpp', 18 'bios_config.cpp', 19 'pdr_utils.cpp', 20 'pdr.cpp', 21 'platform.cpp', 22 'fru_parser.cpp', 23 'fru.cpp', 24 '../host-bmc/host_pdr_handler.cpp', 25 '../host-bmc/dbus_to_event_handler.cpp', 26 '../host-bmc/dbus_to_host_effecters.cpp', 27 '../host-bmc/host_condition.cpp', 28 'event_parser.cpp' 29] 30 31if get_option('oem-ibm').enabled() 32 sources += [ 33 '../oem/ibm/libpldmresponder/utils.cpp', 34 '../oem/ibm/libpldmresponder/file_io.cpp', 35 '../oem/ibm/libpldmresponder/file_table.cpp', 36 '../oem/ibm/libpldmresponder/file_io_by_type.cpp', 37 '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', 38 '../oem/ibm/libpldmresponder/file_io_type_dump.cpp', 39 '../oem/ibm/libpldmresponder/file_io_type_cert.cpp', 40 '../oem/ibm/libpldmresponder/platform_oem_ibm.cpp', 41 '../oem/ibm/libpldmresponder/oem_ibm_handler.cpp', 42 '../oem/ibm/libpldmresponder/inband_code_update.cpp', 43 '../oem/ibm/requester/dbus_to_file_handler.cpp', 44 '../oem/ibm/libpldmresponder/file_io_type_progress_src.cpp', 45 ] 46endif 47 48libpldmresponder = library( 49 'pldmresponder', 50 sources, 51 version: meson.project_version(), 52 dependencies: libpldmresponder_deps, 53 install: true) 54 55libpldmresponder = declare_dependency( 56 link_with: libpldmresponder) 57 58if get_option('tests').enabled() 59 subdir('test') 60endif 61