From bee3796113196da1b3f56da42fcae4d9bae6695e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 20 Nov 2017 11:10:01 +0200 Subject: [PATCH] build: Move shell.{c,h} to libshared bt_shell instance should be available to any code linked with libshared. --- Makefile.am | 2 +- Makefile.tools | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8faabf44b..02f02a100 100644 --- a/Makefile.am +++ b/Makefile.am @@ -119,7 +119,7 @@ shared_sources = src/shared/io.h src/shared/timeout.h \ src/shared/gatt-server.h src/shared/gatt-server.c \ src/shared/gatt-db.h src/shared/gatt-db.c \ src/shared/gap.h src/shared/gap.c \ - src/shared/tty.h + src/shared/tty.h src/shared/shell.c src/shared/shell.h src_libshared_glib_la_SOURCES = $(shared_sources) \ src/shared/io-glib.c \ diff --git a/Makefile.tools b/Makefile.tools index dc2902cb7..561302fa1 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -8,8 +8,7 @@ client_bluetoothctl_SOURCES = client/main.c \ client/advertising.h \ client/advertising.c \ client/gatt.h client/gatt.c \ - monitor/uuid.h monitor/uuid.c \ - src/shared/shell.h src/shared/shell.c + monitor/uuid.h monitor/uuid.c client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \ @GLIB_LIBS@ @DBUS_LIBS@ -lreadline endif -- 2.47.3