bpf-devices.h
bpf-firewall.c
bpf-firewall.h
+ bpf-foreign.c
+ bpf-foreign.h
+ bpf-socket-bind.c
+ bpf-socket-bind.h
cgroup.c
cgroup.h
core-varlink.c
load-fragment.h
locale-setup.c
locale-setup.h
+ manager-dump.c
+ manager-dump.h
manager.c
manager.h
mount.c
timer.h
transaction.c
transaction.h
+ unit-dependency-atom.c
+ unit-dependency-atom.h
unit-printf.c
unit-printf.h
unit-serialize.c
unit.h
'''.split()
+subdir('bpf/socket_bind')
+if conf.get('BPF_FRAMEWORK') == 1
+ libcore_sources += [socket_bind_skel_h]
+endif
+
load_fragment_gperf_gperf = custom_target(
'load-fragment-gperf.gperf',
- input : 'load-fragment-gperf.gperf.m4',
+ input : 'load-fragment-gperf.gperf.in',
output: 'load-fragment-gperf.gperf',
- command : [meson_apply_m4, config_h, '@INPUT@'],
+ command : [meson_render_jinja2, config_h, '@INPUT@'],
capture : true)
load_fragment_gperf_c = custom_target(
include_directories : includes,
dependencies : [versiondep,
threads,
+ libdl,
librt,
libseccomp,
libpam,
systemd_sources = files('main.c')
-in_files = [['system.conf', pkgsysconfdir],
- ['user.conf', pkgsysconfdir],
- ['systemd.pc', pkgconfigdatadir]]
+in_files = [['system.conf', pkgsysconfdir],
+ ['user.conf', pkgsysconfdir],
+ ['systemd.pc', pkgconfigdatadir],
+ ['org.freedesktop.systemd1.policy', polkitpolicydir]]
foreach item : in_files
file = item[0]
dir = item[1]
- if install_sysconfdir_samples or dir != pkgsysconfdir
- configure_file(
- input : file + '.in',
- output : file,
- configuration : substs,
- install_dir : dir == 'no' ? '' : dir)
- endif
+ custom_target(
+ file,
+ input : file + '.in',
+ output: file,
+ command : [meson_render_jinja2, config_h, '@INPUT@'],
+ capture : true,
+ install : dir != 'no',
+ install_dir : dir)
endforeach
install_data('org.freedesktop.systemd1.conf',
install_data('org.freedesktop.systemd1.service',
install_dir : dbussystemservicedir)
-policy = configure_file(
- input : 'org.freedesktop.systemd1.policy.in',
- output : 'org.freedesktop.systemd1.policy',
- configuration : substs)
-install_data(policy,
- install_dir : polkitpolicydir)
-
meson.add_install_script('sh', '-c', mkdir_p.format(systemshutdowndir))
meson.add_install_script('sh', '-c', mkdir_p.format(systemsleepdir))
meson.add_install_script('sh', '-c', mkdir_p.format(systemgeneratordir))