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', |
John Wang | e2efdcc | 2020-02-12 17:02:06 +0800 | [diff] [blame^] | 13 | 'bios_attribute.cpp', |
George Liu | e53193f | 2020-02-24 09:23:26 +0800 | [diff] [blame] | 14 | 'pdr_utils.cpp', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 15 | 'pdr.cpp', |
Deepak Kodihalli | 557dfb0 | 2019-05-12 13:11:17 +0530 | [diff] [blame] | 16 | 'platform.cpp', |
Deepak Kodihalli | 70e8db0 | 2019-10-21 00:59:46 -0500 | [diff] [blame] | 17 | 'fru_parser.cpp', |
| 18 | 'fru.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 19 | ] |
| 20 | |
| 21 | if get_option('oem-ibm').enabled() |
| 22 | sources += [ |
| 23 | '../oem/ibm/libpldmresponder/file_io.cpp', |
Sampa Misra | 854e61f | 2019-08-22 04:36:47 -0500 | [diff] [blame] | 24 | '../oem/ibm/libpldmresponder/file_table.cpp', |
| 25 | '../oem/ibm/libpldmresponder/file_io_by_type.cpp', |
Sampa Misra | 1896716 | 2020-01-14 02:31:41 -0600 | [diff] [blame] | 26 | '../oem/ibm/libpldmresponder/file_io_type_pel.cpp', |
| 27 | '../oem/ibm/libpldmresponder/file_io_type_dump.cpp' |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 28 | ] |
| 29 | endif |
| 30 | |
| 31 | libpldmresponder = library( |
Deepak Kodihalli | 535efa0 | 2019-10-08 11:52:42 -0500 | [diff] [blame] | 32 | 'pldmresponder', |
Deepak Kodihalli | 3c275e1 | 2019-09-21 06:39:39 -0500 | [diff] [blame] | 33 | sources, |
| 34 | version: meson.project_version(), |
| 35 | dependencies: deps, |
| 36 | install: true) |
| 37 | |
| 38 | libpldmresponder = declare_dependency( |
| 39 | link_with: libpldmresponder) |