about summary refs log tree commit diff
path: root/src/nm-helpers/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-helpers/meson.build')
-rw-r--r--src/nm-helpers/meson.build76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/nm-helpers/meson.build b/src/nm-helpers/meson.build
new file mode 100644
index 00000000..7c148079
--- /dev/null
+++ b/src/nm-helpers/meson.build
@@ -0,0 +1,76 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+# nm-daemon-helper
+
+executable(
+  'nm-daemon-helper',
+  'nm-daemon-helper.c',
+  include_directories : [
+    src_inc,
+    top_inc,
+  ],
+  link_with: [
+    libnm_std_aux,
+  ],
+  link_args: ldflags_linker_script_binary,
+  link_depends: linker_script_binary,
+  install: true,
+  install_dir: nm_libexecdir,
+)
+
+# nm-libnm-helper
+
+executable(
+  'nm-libnm-helper',
+  ['nm-libnm-helper.c'],
+  include_directories : [
+    src_inc,
+    top_inc,
+  ],
+  dependencies: [
+    glib_dep,
+  ],
+  link_with: [
+    libnm_glib_aux,
+    libnm_std_aux,
+  ],
+  install: true,
+  install_dir: nm_libexecdir,
+)
+
+# nm-priv-helper
+
+configure_file(
+  input: 'org.freedesktop.nm_priv_helper.service.in',
+  output: '@BASENAME@',
+  install_dir: dbus_system_bus_services_dir,
+  configuration: data_conf,
+)
+
+install_data(
+  'nm-priv-helper.conf',
+  install_dir: dbus_conf_dir,
+)
+
+executable(
+  'nm-priv-helper',
+  'nm-priv-helper.c',
+  include_directories : [
+    src_inc,
+    top_inc,
+  ],
+  dependencies: [
+    glib_dep,
+  ],
+  link_with: [
+    libnm_base,
+    libnm_log_null,
+    libnm_glib_aux,
+    libnm_std_aux,
+    libc_siphash,
+  ],
+  link_args: ldflags_linker_script_binary,
+  link_depends: linker_script_binary,
+  install: true,
+  install_dir: nm_libexecdir,
+)