]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/machine/meson.build
meson: build systemd using meson
[thirdparty/systemd.git] / src / machine / meson.build
1 # -*- mode: meson -*-
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', 0) == 1
27 install_data('org.freedesktop.machine1.conf',
28 install_dir : dbuspolicydir)
29 install_data('org.freedesktop.machine1.service',
30 install_dir : dbussystemservicedir)
31
32 custom_target(
33 'org.freedesktop.machine1.policy',
34 input : 'org.freedesktop.machine1.policy.in',
35 output : 'org.freedesktop.machine1.policy',
36 command : intltool_command,
37 install : true,
38 install_dir : polkitpolicydir)
39 endif