]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/machine/meson.build
Drop my copyright headers
[thirdparty/systemd.git] / src / machine / meson.build
1 # SPDX-License-Identifier: LGPL-2.1+
2
3 systemd_machined_sources = files('''
4 machined.c
5 machined.h
6 '''.split())
7
8 libmachine_core_sources = files('''
9 machine.c
10 machine.h
11 machined-dbus.c
12 machine-dbus.c
13 machine-dbus.h
14 image-dbus.c
15 image-dbus.h
16 operation.c
17 operation.h
18 '''.split())
19
20 libmachine_core = static_library(
21 'machine-core',
22 libmachine_core_sources,
23 include_directories : includes,
24 dependencies : [threads])
25
26 if conf.get('ENABLE_MACHINED') == 1
27 install_data('org.freedesktop.machine1.conf',
28 install_dir : dbuspolicydir)
29 install_data('org.freedesktop.machine1.service',
30 install_dir : dbussystemservicedir)
31 install_data('org.freedesktop.machine1.policy',
32 install_dir : polkitpolicydir)
33 endif
34
35 tests += [
36 [['src/machine/test-machine-tables.c'],
37 [libmachine_core,
38 libshared],
39 [threads],
40 'ENABLE_MACHINED'],
41 ]