summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-11-30 16:04:05 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-02 11:20:26 -0800
commita4bde19d3bd809337eacead3f2c5922a873cee9d (patch)
treef0065a3f1b2b0e3a31757cf397dd6b9f10c92a0b /Makefile.tools
parentf28433d448fa9ae33305d87f112a1b8abb7c6b17 (diff)
downloadbluez-a4bde19d3bd809337eacead3f2c5922a873cee9d.tar.gz
client: Move common print_* functions to its own file
This move common print_* functions to its own file so they can be properly reused instead of duplicating the code.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 4bc355c34..df4cad065 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -3,6 +3,7 @@ if CLIENT
bin_PROGRAMS += client/bluetoothctl
client_bluetoothctl_SOURCES = client/main.c \
+ client/print.h client/print.c \
client/display.h client/display.c \
client/agent.h client/agent.c \
client/advertising.h \
@@ -494,7 +495,8 @@ tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \
tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la \
src/libshared-glib.la $(GLIB_LIBS)
-tools_bluetooth_player_SOURCES = tools/bluetooth-player.c client/player.c
+tools_bluetooth_player_SOURCES = tools/bluetooth-player.c client/print.c \
+ client/player.c
tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \
src/libshared-glib.la \
$(GLIB_LIBS) $(DBUS_LIBS) -lreadline