1cleanup_pre = declare_dependency(
2  include_directories: [root_inc, include_directories('.')],
3  dependencies: blobs_dep)
4
5cleanup_lib = static_library(
6  'firmwarecleanupblob',
7  'cleanup.cpp',
8  'fs.cpp',
9  conf_h,
10  implicit_include_directories: false,
11  dependencies: cleanup_pre)
12
13cleanup_dep = declare_dependency(
14  link_with: cleanup_lib,
15  dependencies: cleanup_pre)
16
17shared_module(
18  'firmwarecleanupblob',
19  'main.cpp',
20  implicit_include_directories: false,
21  dependencies: [
22    cleanup_dep,
23    dependency('libipmid'),
24  ],
25  install: true,
26  install_dir: get_option('libdir') / 'blob-ipmid')
27
28if not get_option('tests').disabled()
29  subdir('test')
30endif
31