Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 1 | ipmid_pre = [ |
| 2 | boost_coroutine, |
| 3 | phosphor_dbus_interfaces_dep, |
Patrick Williams | bbc6ad4 | 2022-06-16 12:26:23 -0500 | [diff] [blame] | 4 | phosphor_logging_dep, |
Willy Tu | c710b97 | 2021-08-11 16:33:43 -0700 | [diff] [blame] | 5 | sdbusplus_dep, |
| 6 | systemd, |
| 7 | ] |
| 8 | |
| 9 | libipmid = 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 | |
| 22 | ipmid_dep = declare_dependency( |
| 23 | dependencies: ipmid_pre, |
| 24 | include_directories: root_inc, |
| 25 | link_with: libipmid) |
| 26 | |
| 27 | import('pkgconfig').generate( |
| 28 | libipmid, |
| 29 | name: 'libipmid', |
| 30 | version: meson.project_version(), |
| 31 | description: 'ipmid') |