1c710b975SWilly Tuipmid_pre = [ 2c710b975SWilly Tu boost_coroutine, 3c710b975SWilly Tu phosphor_dbus_interfaces_dep, 4*bbc6ad48SPatrick Williams phosphor_logging_dep, 5c710b975SWilly Tu sdbusplus_dep, 6c710b975SWilly Tu systemd, 7c710b975SWilly Tu] 8c710b975SWilly Tu 9c710b975SWilly Tulibipmid = library( 10c710b975SWilly Tu 'ipmid', 11c710b975SWilly Tu 'sdbus-asio.cpp', 12c710b975SWilly Tu 'signals.cpp', 13c710b975SWilly Tu 'systemintf-sdbus.cpp', 14c710b975SWilly Tu 'utils.cpp', 15c710b975SWilly Tu dependencies: ipmid_pre, 16c710b975SWilly Tu version: meson.project_version(), 17c710b975SWilly Tu include_directories: root_inc, 18c710b975SWilly Tu install: true, 19c710b975SWilly Tu install_dir: get_option('libdir'), 20c710b975SWilly Tu override_options: ['b_lundef=false']) 21c710b975SWilly Tu 22c710b975SWilly Tuipmid_dep = declare_dependency( 23c710b975SWilly Tu dependencies: ipmid_pre, 24c710b975SWilly Tu include_directories: root_inc, 25c710b975SWilly Tu link_with: libipmid) 26c710b975SWilly Tu 27c710b975SWilly Tuimport('pkgconfig').generate( 28c710b975SWilly Tu libipmid, 29c710b975SWilly Tu name: 'libipmid', 30c710b975SWilly Tu version: meson.project_version(), 31c710b975SWilly Tu description: 'ipmid') 32