summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2017-08-14 11:24:41 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-08-21 12:54:11 +0200
commit2cbd0d69eb0cffe672c3f94c7b4bf135de54c4fe (patch)
treea477fecd6f005116a0b45dec793c34aef49e61bc /Makefile.tools
parent9b92507843dcaca2b15579553ae1b812e5ecff17 (diff)
downloadbluez-2cbd0d69eb0cffe672c3f94c7b4bf135de54c4fe.tar.gz
mesh: Add mesh to main bluez build
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 15858c0d7..85284399a 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -13,6 +13,29 @@ client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
endif
+if MESH
+bin_PROGRAMS += mesh/meshctl
+
+mesh_meshctl_SOURCES = mesh/main.c \
+ mesh/node.h mesh/node.c \
+ mesh/gatt.h mesh/gatt.c \
+ mesh/crypto.h mesh/crypto.c \
+ mesh/keys.h \
+ mesh/net.h mesh/net.c \
+ mesh/prov.h mesh/prov.c \
+ mesh/util.h mesh/util.c \
+ mesh/agent.h mesh/agent.c \
+ mesh/prov-db.h mesh/prov-db.c \
+ mesh/config-model.h mesh/config-client.c \
+ mesh/config-server.c \
+ mesh/onoff-model.h mesh/onoff-model.c \
+ client/display.h client/display.c \
+ monitor/uuid.h monitor/uuid.c
+mesh_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
+ lib/libbluetooth-internal.la \
+ @GLIB_LIBS@ @DBUS_LIBS@ -ljson-c -lreadline
+endif
+
if MONITOR
bin_PROGRAMS += monitor/btmon