summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-07-29 20:51:22 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2015-07-29 20:51:22 +0300
commite4f0c5582f1fe3451d5588243adba9de1ed68b80 (patch)
tree2ee31129be317db62780da6b4dc4a9d9a27e8205 /Makefile.tools
parent789be3cb2f4573d1970a0b61df45a28a7db3faf6 (diff)
downloadbluez-e4f0c5582f1fe3451d5588243adba9de1ed68b80.tar.gz
Makefile.tools: Move btmgmt to common READLINE section
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 1ddfeb1af..e193be9f3 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -273,13 +273,6 @@ tools_hwdb_LDADD = lib/libbluetooth-internal.la
tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
-if READLINE
-noinst_PROGRAMS += tools/btmgmt
-tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
-tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
- -lreadline
-endif
-
tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h
tools_btinfo_LDADD = src/libshared-mainloop.la
@@ -337,7 +330,7 @@ EXTRA_DIST += tools/bdaddr.1
endif
if READLINE
-noinst_PROGRAMS += attrib/gatttool \
+noinst_PROGRAMS += attrib/gatttool tools/btmgmt \
tools/obex-client-tool tools/obex-server-tool \
tools/bluetooth-player tools/obexctl
@@ -367,6 +360,10 @@ tools_obexctl_SOURCES = tools/obexctl.c \
client/display.h client/display.c
tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
+
+tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
+tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
+ -lreadline
endif
if EXPERIMENTAL