summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2020-08-28 17:08:02 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-09-14 12:30:53 -0700
commitf62e1f8d034b9792facd2eb9ad6e2fab3bfbea47 (patch)
tree45373153220d9de3e116e757266fc97bd95e523d /Makefile.tools
parent4c3a3ffbb5235f1f0bba6c403ea50b79cc61bfe2 (diff)
downloadbluez-f62e1f8d034b9792facd2eb9ad6e2fab3bfbea47.tar.gz
tools/btpclientctl: Add btpclient test application
This patch adds a test application for btpclient, which exercises the BTP API.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 9b9236609..07dfbf4e8 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -492,11 +492,15 @@ test_scripts += test/sap_client.py test/bluezutils.py \
test/test-gatt-profile test/test-mesh test/agent.py
if BTPCLIENT
-noinst_PROGRAMS += tools/btpclient
+noinst_PROGRAMS += tools/btpclient tools/btpclientctl
tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
tools_btpclient_LDADD = lib/libbluetooth-internal.la \
src/libshared-ell.la $(ell_ldadd)
tools_btpclient_DEPENDENCIES = lib/libbluetooth-internal.la $(ell_dependencies)
tools/btpclient.$(OBJEXT): src/libshared-ell.la ell/internal
+
+tools_btpclientctl_SOURCES = tools/btpclientctl.c client/display.c
+tools_btpclientctl_LDADD = src/libshared-mainloop.la src/libshared-glib.la \
+ lib/libbluetooth-internal.la -lreadline
endif