diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-06-25 20:40:54 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-08-01 14:37:31 +0200 |
commit | 7be6a143da14d44fbdef9c62f19fadaa1cb495cc (patch) | |
tree | f1a96347bcbc0924790641aed3e63621baab9136 /src/network | |
parent | meson: move declarations of modules-load, nspawn, update-done, and update-utmp (diff) | |
download | systemd-7be6a143da14d44fbdef9c62f19fadaa1cb495cc.tar.xz systemd-7be6a143da14d44fbdef9c62f19fadaa1cb495cc.zip |
meson: move declarations of networkd and friends
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/meson.build | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/network/meson.build b/src/network/meson.build index dab77a0d22..23d9cefc26 100644 --- a/src/network/meson.build +++ b/src/network/meson.build @@ -150,6 +150,45 @@ libnetworkd_core = static_library( link_with : networkd_link_with, build_by_default : false) +executables += [ + libexec_template + { + 'name' : 'systemd-networkd', + 'dbus' : true, + 'conditions' : ['ENABLE_NETWORKD'], + 'sources' : systemd_networkd_sources, + 'include_directories' : network_includes, + 'link_with' : [ + libnetworkd_core, + libsystemd_network, + networkd_link_with, + ], + 'dependencies' : threads, + }, + libexec_template + { + 'name' : 'systemd-networkd-wait-online', + 'public' : true, + 'conditions' : ['ENABLE_NETWORKD'], + 'sources' : systemd_networkd_wait_online_sources, + 'link_with' : networkd_link_with, + }, + executable_template + { + 'name' : 'networkctl', + 'public' : true, + 'conditions' : ['ENABLE_NETWORKD'], + 'sources' : networkctl_sources, + 'include_directories' : libsystemd_network_includes, + 'link_with' : [ + libsystemd_network, + networkd_link_with, + ], + }, + libexec_template + { + 'name' : 'systemd-network-generator', + 'sources' : network_generator_sources, + 'link_with' : networkd_link_with, + }, +] + if conf.get('ENABLE_NETWORKD') == 1 install_data('org.freedesktop.network1.conf', install_dir : dbuspolicydir) |