aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/meson.build47
1 files changed, 47 insertions, 0 deletions
diff --git a/cli/meson.build b/cli/meson.build
new file mode 100644
index 00000000..12dbeb8a
--- /dev/null
+++ b/cli/meson.build
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# Copyright (C) 2021 IƱigo Martinez <inigomartinez@gmail.com>
+
+sources = files(
+ 'mmcli-bearer.c',
+ 'mmcli.c',
+ 'mmcli-call.c',
+ 'mmcli-common.c',
+ 'mmcli-manager.c',
+ 'mmcli-modem-3gpp.c',
+ 'mmcli-modem-3gpp-profile-manager.c',
+ 'mmcli-modem-3gpp-ussd.c',
+ 'mmcli-modem.c',
+ 'mmcli-modem-cdma.c',
+ 'mmcli-modem-firmware.c',
+ 'mmcli-modem-location.c',
+ 'mmcli-modem-messaging.c',
+ 'mmcli-modem-oma.c',
+ 'mmcli-modem-signal.c',
+ 'mmcli-modem-simple.c',
+ 'mmcli-modem-time.c',
+ 'mmcli-modem-voice.c',
+ 'mmcli-output.c',
+ 'mmcli-sim.c',
+ 'mmcli-sms.c',
+)
+
+deps = [
+ gudev_dep,
+ libmm_glib_dep,
+]
+
+executable(
+ 'mmcli',
+ sources: sources,
+ include_directories: top_inc,
+ dependencies: deps,
+ install: true,
+)
+
+if enable_bash_completion
+ install_data(
+ 'mmcli-completion',
+ install_dir: bash_completion_completionsdir,
+ rename: 'mmcli',
+ )
+endif