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