aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2014-02-08 12:36:17 +0100
committerMark Kettenis <kettenis@gnu.org>2014-02-08 12:36:17 +0100
commit0a6bd22df74bb5b6ffa30c3b10243a34d9055c32 (patch)
tree5e640bf31e7366ac38eb775656ba980ed54b42dd
parent6c4664473469811ef5546d4a30917b5f20add169 (diff)
downloadfsf-binutils-gdb-0a6bd22df74bb5b6ffa30c3b10243a34d9055c32.zip
fsf-binutils-gdb-0a6bd22df74bb5b6ffa30c3b10243a34d9055c32.tar.gz
fsf-binutils-gdb-0a6bd22df74bb5b6ffa30c3b10243a34d9055c32.tar.bz2
A phony target should not be a prerequisite of a real target file
gdb/ChangeLog: * Makefile.in (all-lib): Remove. ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in4
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c2c9236..bb64a23 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-08 Mark Kettenis <kettenis@gnu.org>
+
+ * Makefile.in (all-lib): Remove.
+ ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
+
2014-02-07 Doug Evans <dje@google.com>
* extension-priv.h (extension_language_script_ops): Add comment.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index e714550..0976615 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1265,10 +1265,8 @@ gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
# Convenience rule to handle recursion.
-$(LIBGNU) $(GNULIB_H): all-lib
-all-lib: $(GNULIB_BUILDDIR)/Makefile
+$(LIBGNU) $(GNULIB_H): $(GNULIB_BUILDDIR)/Makefile
@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=$(GNULIB_BUILDDIR) subdir_do
-.PHONY: all-lib
# Convenience rule to handle recursion.
.PHONY: all-data-directory