mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
Makefile.tools: Move btmgmt to common READLINE section
This commit is contained in:
parent
789be3cb2f
commit
e4f0c5582f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user