blob: b6828c73d8d111f179fbbe6c818ce63a39a9c9a7 [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(
10 'inspur-ipmi-oem',
11 'inspur_oem.cpp',
Lei YUfb19d992020-09-25 17:10:49 +080012 'utils.cpp',
Lei YU6505e9d2020-09-21 17:34:32 +080013 dependencies: [
14 phosphor_dbus_interfaces,
15 phosphor_logging,
16 libipmid,
17 ],
Lei YUf3690842020-09-22 14:30:14 +080018 version: so_version,
Lei YU6505e9d2020-09-21 17:34:32 +080019 install: true,
20 install_dir: get_option('libdir') / 'ipmid-providers'
21 )