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'), |
George Liu | ab437e5 | 2020-01-19 17:12:19 +0800 | [diff] [blame] | 4 | libpldm, |
| 5 | libpldmutils |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 6 | ] |
| 7 | |
| 8 | sources = [ |
| 9 | 'base.cpp', |
| 10 | 'bios.cpp', |
| 11 | 'bios_table.cpp', |
| 12 | 'bios_parser.cpp', |
| 13 | 'pdr.cpp', |
| 14 | 'effecters.cpp', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 15 | 'platform.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) |