From a4bde19d3bd809337eacead3f2c5922a873cee9d Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 30 Nov 2022 16:04:05 -0800 Subject: 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. --- Makefile.tools | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.tools') 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 -- cgit v1.2.1