Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame^] | 1 | deps = [ |
| 2 | dependency('phosphor-dbus-interfaces'), |
| 3 | dependency('phosphor-logging'), |
| 4 | dependency('sdbusplus'), |
| 5 | libpldm |
| 6 | ] |
| 7 | |
| 8 | sources = [ |
| 9 | 'base.cpp', |
| 10 | 'bios.cpp', |
| 11 | 'bios_table.cpp', |
| 12 | 'bios_parser.cpp', |
| 13 | 'pdr.cpp', |
| 14 | 'effecters.cpp', |
| 15 | 'utils.cpp', |
| 16 | '../registration.cpp' |
| 17 | ] |
| 18 | |
| 19 | if get_option('oem-ibm').enabled() |
| 20 | sources += [ |
| 21 | '../oem/ibm/libpldmresponder/file_io.cpp', |
| 22 | '../oem/ibm/libpldmresponder/file_table.cpp' |
| 23 | ] |
| 24 | endif |
| 25 | |
| 26 | libpldmresponder = library( |
| 27 | 'libpldmresponder', |
| 28 | sources, |
| 29 | version: meson.project_version(), |
| 30 | dependencies: deps, |
| 31 | install: true) |
| 32 | |
| 33 | libpldmresponder = declare_dependency( |
| 34 | link_with: libpldmresponder) |