Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 1 | ipmid_pre = [ |
| 2 | boost_coroutine, |
| 3 | phosphor_dbus_interfaces_dep, |
| 4 | sdbusplus_dep, |
| 5 | systemd, |
| 6 | ] |
| 7 | |
| 8 | libipmid = library( |
| 9 | 'ipmid', |
| 10 | 'sdbus-asio.cpp', |
| 11 | 'signals.cpp', |
| 12 | 'systemintf-sdbus.cpp', |
| 13 | 'utils.cpp', |
| 14 | dependencies: ipmid_pre, |
| 15 | version: meson.project_version(), |
| 16 | include_directories: root_inc, |
| 17 | install: true, |
| 18 | install_dir: get_option('libdir'), |
| 19 | override_options: ['b_lundef=false']) |
| 20 | |
| 21 | ipmid_dep = declare_dependency( |
| 22 | dependencies: ipmid_pre, |
| 23 | include_directories: root_inc, |
| 24 | link_with: libipmid) |
| 25 | |
| 26 | import('pkgconfig').generate( |
| 27 | libipmid, |
| 28 | name: 'libipmid', |
| 29 | version: meson.project_version(), |
| 30 | description: 'ipmid') |