xref: /openbmc/phosphor-host-ipmid/dbus-sdr/meson.build (revision ba9bbb6f6abaeca5035f3221f88d7fedf86774bd)
1c710b975SWilly Tusensorutils_lib = static_library(
2c710b975SWilly Tu  'sensorutils',
3c710b975SWilly Tu  'sensorutils.cpp',
4c710b975SWilly Tu  include_directories: root_inc,
5c710b975SWilly Tu  implicit_include_directories: false)
6c710b975SWilly Tu
7c710b975SWilly Tusensorutils_dep = declare_dependency(link_with: sensorutils_lib)
8c710b975SWilly Tu
9c710b975SWilly Tudbus_sdr_pre = declare_dependency(
10c710b975SWilly Tu  include_directories: root_inc,
11c710b975SWilly Tu  dependencies: [
12c710b975SWilly Tu    crypto,
13c710b975SWilly Tu    phosphor_logging_dep,
14c710b975SWilly Tu    ipmid_dep,
15c710b975SWilly Tu    libipmi20_dep,
16c710b975SWilly Tu    sensorutils_dep,
17c710b975SWilly Tu  ])
18c710b975SWilly Tu
19c710b975SWilly Tudbus_sdr_src = [
20*ba9bbb6fSWilly Tu  'dbus-sdr/sdrutils.cpp',
21*ba9bbb6fSWilly Tu  'dbus-sdr/sensorcommands.cpp',
22*ba9bbb6fSWilly Tu  'dbus-sdr/storagecommands.cpp'
23c710b975SWilly Tu]
24