]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/oom/meson.build
license: LGPL-2.1+ -> LGPL-2.1-or-later
[thirdparty/systemd.git] / src / oom / meson.build
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2
3 systemd_oomd_sources = files('''
4 oomd-manager-bus.c
5 oomd-manager-bus.h
6 oomd-manager.c
7 oomd-manager.h
8 oomd-util.c
9 oomd-util.h
10 oomd.c
11 '''.split())
12
13 oomctl_sources = files('''
14 oomctl.c
15 '''.split())
16
17 if conf.get('ENABLE_OOMD') == 1
18 tests += [
19 [['src/oom/test-oomd-util.c',
20 'src/oom/oomd-util.c',
21 'src/oom/oomd-util.h'],
22 [],
23 []]
24 ]
25
26 install_data('org.freedesktop.oom1.conf',
27 install_dir : dbuspolicydir)
28
29 install_data('org.freedesktop.oom1.service',
30 install_dir : dbussystemservicedir)
31
32 install_data('oomd.conf',
33 install_dir : pkgsysconfdir)
34 endif