aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-06-01 08:11:30 -0600
committerTom Tromey <tromey@adacore.com>2021-06-01 08:11:31 -0600
commit906f72d454d159f0a116d0a1039616361d2160cb (patch)
tree1dfdcc0d9a81fe341f478a3da45f6627d395e417 /gdb/Makefile.in
parentba56237dab86cceb53e5b27c56d930ec4055ea35 (diff)
downloadgdb-906f72d454d159f0a116d0a1039616361d2160cb.zip
gdb-906f72d454d159f0a116d0a1039616361d2160cb.tar.gz
gdb-906f72d454d159f0a116d0a1039616361d2160cb.tar.bz2
Remove some gdb/data-directory special cases
I found an odd special case for data-directory in gdb's Makefile. I don't see a reason to have this, so this removes it in favor of having this code work in the most ordinary way for a subdirectory build. gdb/ChangeLog 2021-06-01 Tom Tromey <tromey@adacore.com> * Makefile.in (all-data-directory): Remove. (data-directory/Makefile): Remove.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index f66f437..f664d96 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1886,11 +1886,6 @@ ifneq ($(CODESIGN_CERT),)
$(ECHO_SIGN) $(CODESIGN) -s $(CODESIGN_CERT) gdb$(EXEEXT)
endif
-# Convenience rule to handle recursion.
-.PHONY: all-data-directory
-all-data-directory: data-directory/Makefile
- @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=data-directory subdir_do
-
# This is useful when debugging GDB, because some Unix's don't let you run GDB
# on itself without copying the executable. So "make gdb1" will make
# gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
@@ -1990,9 +1985,6 @@ subdir_do: force
Makefile: Makefile.in config.status
$(SHELL) config.status $@
-data-directory/Makefile: data-directory/Makefile.in config.status
- $(SHELL) config.status $@
-
.PHONY: run
run: Makefile
./gdb$(EXEEXT) --data-directory=`pwd`/data-directory $(GDBFLAGS)