Lei YU | 3c341df | 2020-09-27 13:24:53 +0800 | [diff] [blame] | 1 | configure_file(output: 'config.h', |
| 2 | configuration: cdata, |
| 3 | ) |
| 4 | |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 5 | src_inc = include_directories('.') |
| 6 | |
Lei YU | f369084 | 2020-09-22 14:30:14 +0800 | [diff] [blame] | 7 | so_version = '0.1.0' |
| 8 | |
George Liu | b4396f2 | 2024-06-04 19:57:19 +0800 | [diff] [blame] | 9 | sources = [ |
John Wang | ef3194d | 2024-06-04 15:00:27 +0800 | [diff] [blame] | 10 | 'asset_info.cpp', |
John Wang | 0917ac4 | 2024-06-04 16:52:07 +0800 | [diff] [blame] | 11 | 'firmware_version.cpp', |
George Liu | 45d3123 | 2024-12-06 16:37:18 +0800 | [diff] [blame^] | 12 | 'power.cpp', |
John Wang | ad6a9b6 | 2024-06-04 15:20:22 +0800 | [diff] [blame] | 13 | 'utils.cpp', |
George Liu | b4396f2 | 2024-06-04 19:57:19 +0800 | [diff] [blame] | 14 | ] |
| 15 | |
| 16 | deps = [ |
| 17 | phosphor_dbus_interfaces_dep, |
| 18 | phosphor_logging_dep, |
| 19 | ipmid_dep, |
| 20 | sdbusplus_dep, |
| 21 | ] |
| 22 | |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 23 | shared_library( |
George Liu | a3a9d2a | 2024-04-03 09:30:45 +0800 | [diff] [blame] | 24 | 'iei-ipmi-oem', |
George Liu | b4396f2 | 2024-06-04 19:57:19 +0800 | [diff] [blame] | 25 | sources, |
| 26 | dependencies: deps, |
Lei YU | f369084 | 2020-09-22 14:30:14 +0800 | [diff] [blame] | 27 | version: so_version, |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 28 | install: true, |
| 29 | install_dir: get_option('libdir') / 'ipmid-providers' |
George Liu | b4396f2 | 2024-06-04 19:57:19 +0800 | [diff] [blame] | 30 | ) |