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', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 16 | 'platform.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 17 | ] |
| 18 | |
| 19 | if get_option('oem-ibm').enabled() |
| 20 | sources += [ |
| 21 | '../oem/ibm/libpldmresponder/file_io.cpp', |
Sampa Misra | 854e61f | 2019-08-22 04:36:47 -0500 | [diff] [blame] | 22 | '../oem/ibm/libpldmresponder/file_table.cpp', |
| 23 | '../oem/ibm/libpldmresponder/file_io_by_type.cpp', |
| 24 | '../oem/ibm/libpldmresponder/file_io_type_pel.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 25 | ] |
| 26 | endif |
| 27 | |
| 28 | libpldmresponder = library( |
Deepak Kodihalli | 535efa0 | 2019-10-08 11:52:42 -0500 | [diff] [blame] | 29 | 'pldmresponder', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 30 | sources, |
| 31 | version: meson.project_version(), |
| 32 | dependencies: deps, |
| 33 | install: true) |
| 34 | |
| 35 | libpldmresponder = declare_dependency( |
| 36 | link_with: libpldmresponder) |