From e4f0c5582f1fe3451d5588243adba9de1ed68b80 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 29 Jul 2015 20:51:22 +0300 Subject: [PATCH] Makefile.tools: Move btmgmt to common READLINE section --- Makefile.tools | 13 +++++-------- 1 file 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 -- 2.47.3