aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-06-28 11:19:33 -0600
committerTom Tromey <tom@tromey.com>2018-07-17 09:54:17 -0600
commit056dec39ed11e0027ae399018c3fef3a719718b9 (patch)
tree5fb766a67cbe830cd8484ccd85e52b652ad6d873 /gdb/Makefile.in
parent4735f0edf4265e3e260e10a12921baf17987a020 (diff)
downloadgdb-056dec39ed11e0027ae399018c3fef3a719718b9.zip
gdb-056dec39ed11e0027ae399018c3fef3a719718b9.tar.gz
gdb-056dec39ed11e0027ae399018c3fef3a719718b9.tar.bz2
Remove --disable-gdbcli
I think it doesn't really make sense to allow building gdb without the CLI. Perhaps at one time this was a goal, but libgdb is long gone and the CLI is intrinsic to gdb. So, this patch removes the implementation of this configure option. It is still recognized (this is autoconf's default), but does nothing. This simplifies configure.ac and Makefile.in a bit. Tested by rebuilding. gdb/ChangeLog 2018-07-17 Tom Tromey <tom@tromey.com> * configure.ac: Remove --disable-gdbcli. * configure: Rebuild. * Makefile.in (SUBDIR_CLI_DEPS, SUBDIR_CLI_LDFLAGS) (SUBDIR_CLI_CFLAGS): Remove. (SFILES): Use SUBDIR_CLI_SRCS. (COMMON_OBS): Use SUBDIR_CLI_OBS.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b145e51..e68aee2 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -253,10 +253,6 @@ SUBDIR_CLI_SRCS = \
SUBDIR_CLI_OBS = $(patsubst %.c,%.o,$(SUBDIR_CLI_SRCS))
-SUBDIR_CLI_DEPS =
-SUBDIR_CLI_LDFLAGS =
-SUBDIR_CLI_CFLAGS =
-
#
# MI sub directory definitons
#
@@ -1160,6 +1156,7 @@ SFILES = \
symfile-mem.c \
ui-file.h \
mi/mi-common.c \
+ $(SUBDIR_CLI_SRCS) \
$(SUBDIR_TARGET_SRCS) \
$(COMMON_SFILES) \
$(SUBDIR_GCC_COMPILE_SRCS)
@@ -1557,6 +1554,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
version.o \
xml-builtin.o \
$(patsubst %.c,%.o,$(COMMON_SFILES)) \
+ $(SUBDIR_CLI_OBS) \
$(SUBDIR_TARGET_OBS) \
$(SUBDIR_GCC_COMPILE_OBS)