blob: 3a8042c4ee2b1d56e2087aa93828f541d2e7d425 [file] [log] [blame]
Willy Tuc710b972021-08-11 16:33:43 -07001ipmid_pre = [
2 boost_coroutine,
3 phosphor_dbus_interfaces_dep,
Patrick Williamsbbc6ad42022-06-16 12:26:23 -05004 phosphor_logging_dep,
Willy Tuc710b972021-08-11 16:33:43 -07005 sdbusplus_dep,
6 systemd,
7]
8
9libipmid = library(
10 'ipmid',
11 'sdbus-asio.cpp',
12 'signals.cpp',
13 'systemintf-sdbus.cpp',
14 'utils.cpp',
15 dependencies: ipmid_pre,
16 version: meson.project_version(),
17 include_directories: root_inc,
18 install: true,
19 install_dir: get_option('libdir'),
20 override_options: ['b_lundef=false'])
21
22ipmid_dep = declare_dependency(
23 dependencies: ipmid_pre,
24 include_directories: root_inc,
25 link_with: libipmid)
26
27import('pkgconfig').generate(
28 libipmid,
29 name: 'libipmid',
30 version: meson.project_version(),
31 description: 'ipmid')