meson_version : '>= 0.40',
)
-libsystemd_version = '0.19.0'
-libudev_version = '1.6.6'
+libelogind_version = '0.19.1'
+libudev_version = '1.6.7'
# We need the same data in three different formats, ugh!
# Also, for hysterical reasons, we use different variable
#####################################################################
#if 0 /// elogind does not need this
-
-# Try to install the git pre-commit hook
+#
+# # Try to install the git pre-commit hook
# git_hook = run_command(join_paths(meson.source_root(), 'tools/add-git-hook.sh'))
# if git_hook.returncode() == 0
# message(git_hook.stdout().strip())
endif
foreach arg : ['-Wextra',
- '-Wundef',
+ '-Werror=undef',
'-Wlogical-op',
'-Wmissing-include-dirs',
'-Wold-style-definition',
#endif // 0
conf.set10('ENABLE_REMOTE', have)
-foreach pair : [['utmp', 'HAVE_UTMP'],
-#if 0 /// UNNEEDED by elogind
-# ['hibernate', 'ENABLE_HIBERNATE'],
-# ['environment-d', 'ENABLE_ENVIRONMENT_D'],
-# ['binfmt', 'ENABLE_BINFMT'],
-# ['coredump', 'ENABLE_COREDUMP'],
-# ['resolve', 'ENABLE_RESOLVED'],
-# ['logind', 'ENABLE_LOGIND'],
-# ['hostnamed', 'ENABLE_HOSTNAMED'],
-# ['localed', 'ENABLE_LOCALED'],
-# ['machined', 'ENABLE_MACHINED'],
-# ['networkd', 'ENABLE_NETWORKD'],
-# ['timedated', 'ENABLE_TIMEDATED'],
-# ['timesyncd', 'ENABLE_TIMESYNCD'],
-# ['myhostname', 'HAVE_MYHOSTNAME'],
-# ['firstboot', 'ENABLE_FIRSTBOOT'],
-# ['randomseed', 'ENABLE_RANDOMSEED'],
-# ['backlight', 'ENABLE_BACKLIGHT'],
-# ['vconsole', 'ENABLE_VCONSOLE'],
-# ['quotacheck', 'ENABLE_QUOTACHECK'],
-# ['sysusers', 'ENABLE_SYSUSERS'],
-# ['tmpfiles', 'ENABLE_TMPFILES'],
-# ['hwdb', 'ENABLE_HWDB'],
-# ['rfkill', 'ENABLE_RFKILL'],
-# ['ldconfig', 'ENABLE_LDCONFIG'],
-# ['efi', 'ENABLE_EFI'],
-# ['tpm', 'ENABLE_TPM'],
-# ['ima', 'HAVE_IMA'],
-#endif // 0
- ['smack', 'HAVE_SMACK'],
+foreach term : ['utmp',
#if 0 /// UNNEEDED by elogind
-# ['gshadow', 'ENABLE_GSHADOW'],
-# ['idn', 'ENABLE_IDN'],
-# ['nss-systemd', 'ENABLE_NSS_SYSTEMD'],
+# 'hibernate',
+# 'environment-d',
+# 'binfmt',
+# 'coredump',
+# 'resolve',
+# 'logind',
+# 'hostnamed',
+# 'localed',
+# 'machined',
+# 'networkd',
+# 'timedated',
+# 'timesyncd',
+# 'myhostname',
+# 'firstboot',
+# 'randomseed',
+# 'backlight',
+# 'vconsole',
+# 'quotacheck',
+# 'sysusers',
+# 'tmpfiles',
+# 'hwdb',
+# 'rfkill',
+# 'ldconfig',
+# 'efi',
+# 'tpm',
+# 'ima',
+# 'gshadow',
+# 'idn',
+# 'nss-systemd']
+#else
+ 'smack']
#endif // 0
- ]
-
- have = get_option(pair[0])
- conf.set10(pair[1], have)
- m4_defines += have ? ['-D' + pair[1]] : []
+ have = get_option(term)
+ name = 'ENABLE_' + term.underscorify().to_upper()
+ conf.set10(name, have)
+ m4_defines += have ? ['-D' + name] : []
endforeach
want_tests = get_option('tests')
libelogind = shared_library(
'elogind',
libelogind_internal_sources,
- version : '0.19.0',
+ version : libelogind_version,
include_directories : includes,
link_args : ['-shared',
'-Wl,--version-script=' + libelogind_sym_path],
dependencies : [libdl])
#if 0 /// UNNEEDED by elogind
-# foreach tuple : [['myhostname', 'HAVE_MYHOSTNAME'],
+# foreach tuple : [['myhostname', 'ENABLE_MYHOSTNAME'],
# ['systemd', 'ENABLE_NSS_SYSTEMD'],
# ['mymachines', 'ENABLE_MACHINED'],
-# ['resolve', 'ENABLE_RESOLVED']]
-
+# ['resolve', 'ENABLE_RESOLVE']]
+#
# condition = tuple[1] == '' or conf.get(tuple[1]) == 1
# if condition
# module = tuple[0]
-
+#
# sym = 'src/nss-@0@/nss-@0@.sym'.format(module)
# version_script_arg = join_paths(meson.current_source_dir(), sym)
-
+#
# nss = shared_library(
# 'nss_' + module,
# 'src/nss-@0@/nss-@0@.c'.format(module),
# link_depends : sym,
# install : true,
# install_dir : rootlibdir)
-
+#
# # We cannot use shared_module because it does not support version suffix.
# # Unfortunately shared_library insists on creating the symlink…
# meson.add_install_script('sh', '-c',
# 'rm $DESTDIR@0@/libnss_@1@.so'
# .format(rootlibdir, module))
-
+#
# test('dlopen-nss_' + module,
# test_dlopen,
# args : [nss.full_path()]) # path to dlopen must include a slash
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-analyze',
# systemd_analyze_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# executable('systemd-journald',
# systemd_journald_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-cat',
# systemd_cat_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('journalctl',
# journalctl_sources,
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# executable('systemd-getty-generator',
# 'src/getty-generator/getty-generator.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# executable('systemd-debug-generator',
# 'src/debug-generator/debug-generator.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# executable('systemd-fstab-generator',
# 'src/fstab-generator/fstab-generator.c',
# 'src/core/mount-setup.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# if conf.get('ENABLE_ENVIRONMENT_D') == 1
# executable('30-systemd-environment-d-generator',
# 'src/environment-d-generator/environment-d-generator.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : userenvgeneratordir)
-
+#
# meson.add_install_script(meson_make_symlink,
# join_paths(sysconfdir, 'environment'),
# join_paths(environmentdir, '99-environment.conf'))
# endif
-
+#
# if conf.get('ENABLE_HIBERNATE') == 1
# executable('systemd-hibernate-resume-generator',
# 'src/hibernate-resume/hibernate-resume-generator.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# executable('systemd-hibernate-resume',
# 'src/hibernate-resume/hibernate-resume.c',
# include_directories : includes,
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('HAVE_BLKID') == 1
# executable('systemd-gpt-auto-generator',
# 'src/gpt-auto-generator/gpt-auto-generator.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# exe = executable('systemd-dissect',
# 'src/dissect/dissect.c',
# include_directories : includes,
# install_dir : rootlibexecdir)
# public_programs += [exe]
# endif
-
-# if conf.get('ENABLE_RESOLVED') == 1
+#
+# if conf.get('ENABLE_RESOLVE') == 1
# executable('systemd-resolved',
# systemd_resolved_sources,
# gcrypt_util_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-resolve',
# systemd_resolve_sources,
# gcrypt_util_sources,
# install : true)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_LOGIND') == 1
# executable('systemd-logind',
# systemd_logind_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('loginctl',
# loginctl_sources,
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# exe = executable('systemd-inhibit',
# 'src/login/inhibit.c',
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# if conf.get('HAVE_PAM') == 1
# version_script_arg = join_paths(meson.current_source_dir(), pam_systemd_sym)
# pam_systemd = shared_library(
# link_depends : pam_systemd_sym,
# install : true,
# install_dir : pamlibdir)
-
+#
# test('dlopen-pam_systemd',
# test_dlopen,
# args : [pam_systemd.full_path()]) # path to dlopen must include a slash
#endif // 0
#if 0 /// UNNEEDED by elogind
-# if conf.get('HAVE_PAM') == 1
# executable('systemd-user-sessions',
# 'src/user-sessions/user-sessions.c',
# include_directories : includes,
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('ENABLE_EFI') == 1 and conf.get('HAVE_BLKID') == 1
# exe = executable('bootctl',
# 'src/boot/bootctl.c',
# install : true)
# public_programs += [exe]
# endif
-
+#
# exe = executable('systemd-socket-activate', 'src/activate/activate.c',
# include_directories : includes,
# link_with : [libshared],
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemctl', 'src/systemctl/systemctl.c',
# include_directories : includes,
# link_with : [libshared],
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# if conf.get('ENABLE_BACKLIGHT') == 1
# executable('systemd-backlight',
# 'src/backlight/backlight.c',
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('ENABLE_RFKILL') == 1
# executable('systemd-rfkill',
# 'src/rfkill/rfkill.c',
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# executable('systemd-system-update-generator',
# 'src/system-update-generator/system-update-generator.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# if conf.get('HAVE_LIBCRYPTSETUP') == 1
# executable('systemd-cryptsetup',
# 'src/cryptsetup/cryptsetup.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-cryptsetup-generator',
# 'src/cryptsetup/cryptsetup-generator.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# executable('systemd-veritysetup',
# 'src/veritysetup/veritysetup.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-veritysetup-generator',
# 'src/veritysetup/veritysetup-generator.c',
# include_directories : includes,
# install : true,
# install_dir : systemgeneratordir)
# endif
-
+#
# if conf.get('HAVE_SYSV_COMPAT') == 1
# executable('systemd-sysv-generator',
# 'src/sysv-generator/sysv-generator.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : systemgeneratordir)
-
+#
# executable('systemd-rc-local-generator',
# 'src/rc-local-generator/rc-local-generator.c',
# include_directories : includes,
# install : true,
# install_dir : systemgeneratordir)
# endif
-
+#
# if conf.get('ENABLE_HOSTNAMED') == 1
# executable('systemd-hostnamed',
# 'src/hostname/hostnamed.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('hostnamectl',
# 'src/hostname/hostnamectl.c',
# include_directories : includes,
# install : true)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_LOCALED') == 1
# if conf.get('HAVE_XKBCOMMON') == 1
# # logind will load libxkbcommon.so dynamically on its own
# else
# deps = []
# endif
-
+#
# executable('systemd-localed',
# systemd_localed_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('localectl',
# localectl_sources,
# include_directories : includes,
# install : true)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_TIMEDATED') == 1
# executable('systemd-timedated',
# 'src/timedate/timedated.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('timedatectl',
# 'src/timedate/timedatectl.c',
# include_directories : includes,
# install : true)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_TIMESYNCD') == 1
# executable('systemd-timesyncd',
# systemd_timesyncd_sources,
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('ENABLE_MACHINED') == 1
# executable('systemd-machined',
# systemd_machined_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('machinectl',
# 'src/machine/machinectl.c',
# include_directories : includes,
# install_dir : rootbindir)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_IMPORTD') == 1
# executable('systemd-importd',
# systemd_importd_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# systemd_pull = executable('systemd-pull',
# systemd_pull_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# systemd_import = executable('systemd-import',
# systemd_import_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# systemd_export = executable('systemd-export',
# systemd_export_sources,
# include_directories : includes,
# install_dir : rootlibexecdir)
# public_programs += [systemd_pull, systemd_import, systemd_export]
# endif
-
+#
# if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_LIBCURL') == 1
# exe = executable('systemd-journal-upload',
# systemd_journal_upload_sources,
# install_dir : rootlibexecdir)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_REMOTE') == 1 and conf.get('HAVE_MICROHTTPD') == 1
# s_j_remote = executable('systemd-journal-remote',
# systemd_journal_remote_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# s_j_gatewayd = executable('systemd-journal-gatewayd',
# systemd_journal_gatewayd_sources,
# include_directories : includes,
# install_dir : rootlibexecdir)
# public_programs += [s_j_remote, s_j_gatewayd]
# endif
-
+#
# if conf.get('ENABLE_COREDUMP') == 1
# executable('systemd-coredump',
# systemd_coredump_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('coredumpctl',
# coredumpctl_sources,
# include_directories : includes,
# install : true)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_BINFMT') == 1
# exe = executable('systemd-binfmt',
# 'src/binfmt/binfmt.c',
# install : true,
# install_dir : rootlibexecdir)
# public_programs += [exe]
-
+#
# meson.add_install_script('sh', '-c',
# mkdir_p.format(binfmtdir))
# meson.add_install_script('sh', '-c',
# mkdir_p.format(join_paths(sysconfdir, 'binfmt.d')))
# endif
-
+#
# if conf.get('ENABLE_VCONSOLE') == 1
# executable('systemd-vconsole-setup',
# 'src/vconsole/vconsole-setup.c',
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('ENABLE_RANDOMSEED') == 1
# executable('systemd-random-seed',
# 'src/random-seed/random-seed.c',
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# if conf.get('ENABLE_FIRSTBOOT') == 1
# executable('systemd-firstboot',
# 'src/firstboot/firstboot.c',
# install : true,
# install_dir : rootbindir)
# endif
-
+#
# executable('systemd-remount-fs',
# 'src/remount-fs/remount-fs.c',
# 'src/core/mount-setup.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-machine-id-setup',
# 'src/machine-id-setup/machine-id-setup-main.c',
# 'src/core/machine-id-setup.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootbindir)
-
+#
# executable('systemd-fsck',
# 'src/fsck/fsck.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-sleep',
# 'src/sleep/sleep.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-sysctl',
# 'src/sysctl/sysctl.c',
# include_directories : includes,
# install : true,
# install_dir : rootlibexecdir)
# public_programs += [exe]
-
+#
# executable('systemd-ac-power',
# 'src/ac-power/ac-power.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-detect-virt',
# 'src/detect-virt/detect-virt.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemd-delta',
# 'src/delta/delta.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemd-escape',
# 'src/escape/escape.c',
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# exe = executable('systemd-notify',
# 'src/notify/notify.c',
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# executable('systemd-volatile-root',
# 'src/volatile-root/volatile-root.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-cgroups-agent',
# 'src/cgroups-agent/cgroups-agent.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemd-ask-password',
# 'src/ask-password/ask-password.c',
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# executable('systemd-reply-password',
# 'src/reply-password/reply-password.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-tty-ask-password-agent',
# 'src/tty-ask-password-agent/tty-ask-password-agent.c',
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# exe = executable('systemd-cgls',
# 'src/cgls/cgls.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemd-cgtop',
# 'src/cgtop/cgtop.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# executable('systemd-initctl',
# 'src/initctl/initctl.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('systemd-mount',
# 'src/mount/mount-tool.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# meson.add_install_script(meson_make_symlink,
# 'systemd-mount', join_paths(bindir, 'systemd-umount'))
-
+#
# exe = executable('systemd-run',
# 'src/run/run.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('systemd-stdio-bridge',
# 'src/stdio-bridge/stdio-bridge.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# exe = executable('busctl',
# 'src/busctl/busctl.c',
# 'src/busctl/busctl-introspect.c',
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# if conf.get('ENABLE_SYSUSERS') == 1
# exe = executable('systemd-sysusers',
# 'src/sysusers/sysusers.c',
# install_dir : rootbindir)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_TMPFILES') == 1
# exe = executable('systemd-tmpfiles',
# 'src/tmpfiles/tmpfiles.c',
# install_dir : rootbindir)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_HWDB') == 1
# exe = executable('systemd-hwdb',
# 'src/hwdb/hwdb.c',
# install_dir : rootbindir)
# public_programs += [exe]
# endif
-
+#
# if conf.get('ENABLE_QUOTACHECK') == 1
# executable('systemd-quotacheck',
# 'src/quotacheck/quotacheck.c',
# install : true,
# install_dir : rootlibexecdir)
# endif
-
+#
# exe = executable('systemd-socket-proxyd',
# 'src/socket-proxy/socket-proxyd.c',
# include_directories : includes,
# install : true,
# install_dir : rootlibexecdir)
# public_programs += [exe]
-
+#
# exe = executable('systemd-udevd',
# systemd_udevd_sources,
# include_directories : includes,
# install : true,
# install_dir : rootlibexecdir)
# public_programs += [exe]
-
+#
# exe = executable('udevadm',
# udevadm_sources,
# include_directories : includes,
# install : true,
# install_dir : rootbindir)
# public_programs += [exe]
-
+#
# executable('systemd-shutdown',
# systemd_shutdown_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-update-done',
# 'src/update-done/update-done.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-update-utmp',
# 'src/update-utmp/update-utmp.c',
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# if conf.get('HAVE_KMOD') == 1
# executable('systemd-modules-load',
# 'src/modules-load/modules-load.c',
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# meson.add_install_script('sh', '-c',
# mkdir_p.format(modulesloaddir))
# meson.add_install_script('sh', '-c',
# mkdir_p.format(join_paths(sysconfdir, 'modules-load.d')))
# endif
-
+#
# exe = executable('systemd-nspawn',
# systemd_nspawn_sources,
# 'src/core/mount-setup.c', # FIXME: use a variable?
# install_rpath : rootlibexecdir,
# install : true)
# public_programs += [exe]
-
+#
# if conf.get('ENABLE_NETWORKD') == 1
# executable('systemd-networkd',
# systemd_networkd_sources,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# executable('systemd-networkd-wait-online',
# systemd_networkd_wait_online_sources,
# include_directories : includes,
# install_rpath : rootlibexecdir,
# install : true,
# install_dir : rootlibexecdir)
-
+#
# exe = executable('networkctl',
# networkctl_sources,
# include_directories : includes,
# install_dir : testsdir)
# test('test-libsystemd-sym',
# test_libsystemd_sym)
-
+#
# test_libudev_sym = executable(
# 'test-libudev-sym',
# test_libudev_sym_c,
# ['timesyncd'],
# ['localed'],
# ['networkd'],
-# ['resolved'],
+# ['resolve'],
# ['coredump'],
#endif // 0
['polkit'],
['dbus'],
['glib'],
#if 0 /// UNNEEDED by elogind
-# ['nss-myhostname', conf.get('HAVE_MYHOSTNAME') == 1],
+# ['nss-myhostname', conf.get('ENABLE_MYHOSTNAME') == 1],
# ['hwdb'],
# ['tpm'],
#endif // 0