about summary refs log tree commit diff
path: root/src/dhcp/meson.build
diff options
context:
space:
mode:
authorIain Lane <iain@orangesquash.org.uk>2018-09-24 09:29:55 +0100
committerIain Lane <iain@orangesquash.org.uk>2018-09-24 09:29:55 +0100
commite152ec7bf4ba252ff9d3eb13eabd417b931dac9a (patch)
treec323cf856ee0bb8e44590670dd54c19653a55748 /src/dhcp/meson.build
parentee9c73a923909e23a649407be77e25235d769e25 (diff)
Import Upstream version 1.12.2
Diffstat (limited to 'src/dhcp/meson.build')
-rw-r--r--src/dhcp/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dhcp/meson.build b/src/dhcp/meson.build
new file mode 100644
index 00000000..289a16ca
--- /dev/null
+++ b/src/dhcp/meson.build
@@ -0,0 +1,22 @@
+name = 'nm-dhcp-helper'
+
+cflags = [
+  '-DG_LOG_DOMAIN="@0@"'.format(name),
+  '-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_GLIB',
+  '-DNMRUNDIR="@0@"'.format(nm_pkgrundir),
+]
+
+executable(
+  name,
+  name + '.c',
+  dependencies: nm_core_dep,
+  c_args: cflags,
+  link_args: ldflags_linker_script_binary,
+  link_depends: linker_script_binary,
+  install: true,
+  install_dir: nm_libexecdir
+)
+
+if enable_tests
+  subdir('tests')
+endif