diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-25 20:35:47 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-01 14:37:31 +0200 |
commit | 5371c269335f9d7013d9f25ebe12d036e2bf5d0f (patch) | |
tree | a743196f5a04cdf3839879a0de46c030fa5661a2 /meson.build | |
parent | meson: move declarations of hwdb, sysusers, and tmpfiles (diff) | |
download | systemd-5371c269335f9d7013d9f25ebe12d036e2bf5d0f.tar.xz systemd-5371c269335f9d7013d9f25ebe12d036e2bf5d0f.zip |
meson: move declarations of socket-proxy, udevadm, quotacheck, and shutdown
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 76 |
1 files changed, 6 insertions, 70 deletions
diff --git a/meson.build b/meson.build index afcdb20f02..94555ba91b 100644 --- a/meson.build +++ b/meson.build @@ -2213,7 +2213,6 @@ subdir('src/fundamental') subdir('src/basic') subdir('src/libsystemd') subdir('src/shared') -subdir('src/udev') subdir('src/libudev') libsystemd = shared_library( @@ -2369,6 +2368,8 @@ subdir('src/core') subdir('src/journal') # systemd-networkd requires 'libsystemd_network' subdir('src/libsystemd-network') +# hwdb requires 'udev_link_with' and 'udev_rpath' +subdir('src/udev') subdir('src/ac-power') subdir('src/analyze') @@ -2424,6 +2425,7 @@ subdir('src/partition') subdir('src/path') subdir('src/portable') subdir('src/pstore') +subdir('src/quotacheck') subdir('src/random-seed') subdir('src/rc-local-generator') subdir('src/remount-fs') @@ -2436,6 +2438,7 @@ subdir('src/run-generator') subdir('src/shutdown') subdir('src/sleep') subdir('src/socket-activate') +subdir('src/socket-proxy') subdir('src/stdio-bridge') subdir('src/sysctl') subdir('src/sysext') @@ -2608,10 +2611,6 @@ if conf.get('HAVE_BLKID') == 1 and conf.get('ENABLE_BOOTLOADER') == 1 endif endif -meson.add_install_script(meson_make_symlink, - bindir / 'udevadm', - libexecdir / 'systemd-udevd') - if want_tests != 'false' systemctl = executables_by_name.get('systemctl') systemd_id128 = executables_by_name.get('systemd-id128') @@ -2673,78 +2672,15 @@ if conf.get('ENABLE_HWDB') == 1 endif endif -if conf.get('ENABLE_QUOTACHECK') == 1 - executable( - 'systemd-quotacheck', - 'src/quotacheck/quotacheck.c', - include_directories : includes, - link_with : [libshared], - dependencies : userspace, - install_rpath : pkglibdir, - install : true, - install_dir : libexecdir) -endif - -public_programs += executable( - 'systemd-socket-proxyd', - 'src/socket-proxy/socket-proxyd.c', - include_directories : includes, - link_with : [libshared], - dependencies : [threads, - userspace], - install_rpath : pkglibdir, - install : true, - install_dir : libexecdir) - -udevadm = executable( - 'udevadm', - udevadm_sources, - include_directories : includes, - link_with : [libudevd_core], - dependencies : [libacl, - libblkid, - libidn, - libkmod, - threads, - userspace], - install_rpath : udev_rpath, - install : true) -public_programs += udevadm - if want_tests != 'false' + exe = executables_by_name.get('udevadm') test('udev-rules-check', - udevadm, + exe, suite : 'dist', args : ['verify', '--resolve-names=never', all_rules]) endif executable( - 'systemd-shutdown', - systemd_shutdown_sources, - include_directories : includes, - link_with : [libshared], - dependencies : [libmount, - userspace], - install_rpath : pkglibdir, - install : true, - install_dir : libexecdir) - -executable( - 'systemd-shutdown.standalone', - systemd_shutdown_sources, - include_directories : includes, - c_args : '-DSTANDALONE', - link_with : [libshared_static, - libbasic, - libsystemd_static], - dependencies : [libmount, - userspace], - build_by_default: have_standalone_binaries, - install_rpath : pkglibdir, - install : have_standalone_binaries, - install_dir : libexecdir) - -executable( 'systemd-update-done', 'src/update-done/update-done.c', include_directories : includes, |