blob: 8b38f31512cd36888724a481985bc3222686de3d [file] [log] [blame]
Lei YU3c341df2020-09-27 13:24:53 +08001configure_file(output: 'config.h',
2 configuration: cdata,
3)
4
Lei YU6505e9d2020-09-21 17:34:32 +08005src_inc = include_directories('.')
6
Lei YUf3690842020-09-22 14:30:14 +08007so_version = '0.1.0'
8
Lei YU6505e9d2020-09-21 17:34:32 +08009shared_library(
George Liua3a9d2a2024-04-03 09:30:45 +080010 'iei-ipmi-oem',
11 'iei_oem.cpp',
Lei YUfb19d992020-09-25 17:10:49 +080012 'utils.cpp',
Lei YUebd3d092020-09-27 18:11:48 +080013 'sdbus_wrapper.cpp',
Lei YU6505e9d2020-09-21 17:34:32 +080014 dependencies: [
15 phosphor_dbus_interfaces,
16 phosphor_logging,
17 libipmid,
18 ],
Lei YUf3690842020-09-22 14:30:14 +080019 version: so_version,
Lei YU6505e9d2020-09-21 17:34:32 +080020 install: true,
21 install_dir: get_option('libdir') / 'ipmid-providers'
22 )