summaryrefslogtreecommitdiff
path: root/src/mbim-proxy
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-04-22 23:57:36 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-05-03 22:18:24 +0200
commita4decd1bd2dbcda163e72abbd68894b2b396e969 (patch)
tree1159bbb5435b1a69d9eeb54156a5633eaff5a3b0 /src/mbim-proxy
parent13883cd5c4d28dbed3c49008430c7dbbae8d5ef0 (diff)
downloadlibmbim-a4decd1bd2dbcda163e72abbd68894b2b396e969.tar.gz
build: port to meson build system
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.
Diffstat (limited to 'src/mbim-proxy')
-rw-r--r--src/mbim-proxy/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mbim-proxy/meson.build b/src/mbim-proxy/meson.build
new file mode 100644
index 0000000..d90e236
--- /dev/null
+++ b/src/mbim-proxy/meson.build
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: GPL-2
+# Copyright (C) 2021 Iñigo Martinez <inigomartinez@gmail.com>
+
+name = 'mbim-proxy'
+
+executable(
+ name,
+ sources: name + '.c',
+ include_directories: top_inc,
+ dependencies: libmbim_glib_dep,
+ install: true,
+ install_dir: mbim_libexecdir,
+)
+
+if enable_mbim_username
+ configure_file(
+ input: '76-mbim-proxy-device-ownership.rules.in',
+ output: '@BASENAME@',
+ configuration: config_h,
+ install_dir: join_paths(udev_udevdir, 'rules.d'),
+ )
+endif