Jonathan Doman | 366546c | 2023-07-24 12:33:16 -0700 | [diff] [blame] | 1 | ipmi_blob_dep = dependency('phosphor-ipmi-blobs') |
| 2 | libipmid_dep = dependency('libipmid').partial_dependency(includes: true) |
| 3 | |
| 4 | smbiosstore_common_deps = [ipmi_blob_dep, libipmid_dep, sdbusplus_dep] |
| 5 | |
| 6 | shared_module( |
| 7 | 'smbiosstore', |
| 8 | 'main.cpp', |
| 9 | 'handler.cpp', |
| 10 | dependencies: [ |
| 11 | smbiosstore_common_deps, |
| 12 | phosphor_logging_dep, |
| 13 | ], |
| 14 | include_directories: root_inc, |
| 15 | install: true, |
| 16 | install_dir: get_option('libdir') / 'blob-ipmid' |
| 17 | ) |
| 18 | |
| 19 | if get_option('tests').allowed() |
| 20 | subdir('test') |
| 21 | endif |