1ipmid_pre = [
2  boost_coroutine,
3  phosphor_dbus_interfaces_dep,
4  phosphor_logging_dep,
5  sdbusplus_dep,
6  systemd,
7]
8
9entity_map_json_lib = static_library(
10  'entity_map_json',
11  'entity_map_json.cpp',
12  include_directories: root_inc,
13  dependencies: [nlohmann_json_dep, sdbusplus_dep],
14  implicit_include_directories: false)
15
16entity_map_json_dep = declare_dependency(
17  link_whole: entity_map_json_lib)
18
19libipmid = library(
20  'ipmid',
21  'sdbus-asio.cpp',
22  'signals.cpp',
23  'systemintf-sdbus.cpp',
24  'utils.cpp',
25  dependencies: [ipmid_pre, entity_map_json_dep],
26  version: meson.project_version(),
27  include_directories: root_inc,
28  install: true,
29  install_dir: get_option('libdir'),
30  override_options: ['b_lundef=false'])
31
32ipmid_dep = declare_dependency(
33  dependencies: ipmid_pre,
34  include_directories: root_inc,
35  link_with: libipmid)
36
37import('pkgconfig').generate(
38  libipmid,
39  name: 'libipmid',
40  version: meson.project_version(),
41  description: 'ipmid')
42