Makefile.tools: Move btmgmt to common READLINE section

This commit is contained in:
Johan Hedberg 2015-07-29 20:51:22 +03:00
parent 789be3cb2f
commit e4f0c5582f

View File

@ -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