diff --git a/Makefile.am b/Makefile.am
index 8faabf4..02f02a1 100644
--- a/Makefile.am
+++ b/Makefile.am
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 dc2902c..561302f 100644
--- a/Makefile.tools
+++ b/Makefile.tools
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