Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 1 | deps = [ |
| 2 | dependency('phosphor-dbus-interfaces'), |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 3 | dependency('sdbusplus'), |
| 4 | libpldm |
| 5 | ] |
| 6 | |
| 7 | sources = [ |
| 8 | 'base.cpp', |
| 9 | 'bios.cpp', |
| 10 | 'bios_table.cpp', |
| 11 | 'bios_parser.cpp', |
| 12 | 'pdr.cpp', |
| 13 | 'effecters.cpp', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 14 | 'platform.cpp', |
George Liu | 8340957 | 2019-12-24 18:42:54 +0800 | [diff] [blame] | 15 | '../utils.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 16 | ] |
| 17 | |
| 18 | if get_option('oem-ibm').enabled() |
| 19 | sources += [ |
| 20 | '../oem/ibm/libpldmresponder/file_io.cpp', |
Sampa Misra | 854e61f | 2019-08-22 04:36:47 -0500 | [diff] [blame] | 21 | '../oem/ibm/libpldmresponder/file_table.cpp', |
| 22 | '../oem/ibm/libpldmresponder/file_io_by_type.cpp', |
| 23 | '../oem/ibm/libpldmresponder/file_io_type_pel.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 24 | ] |
| 25 | endif |
| 26 | |
| 27 | libpldmresponder = library( |
Deepak Kodihalli | 535efa0 | 2019-10-08 11:52:42 -0500 | [diff] [blame] | 28 | 'pldmresponder', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 29 | sources, |
| 30 | version: meson.project_version(), |
| 31 | dependencies: deps, |
| 32 | install: true) |
| 33 | |
| 34 | libpldmresponder = declare_dependency( |
| 35 | link_with: libpldmresponder) |