]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
A phony target should not be a prerequisite of a real target file
authorMark Kettenis <kettenis@gnu.org>
Sat, 8 Feb 2014 11:36:17 +0000 (12:36 +0100)
committerMark Kettenis <kettenis@gnu.org>
Sat, 8 Feb 2014 11:36:17 +0000 (12:36 +0100)
gdb/ChangeLog:

* Makefile.in (all-lib): Remove.
($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.

gdb/ChangeLog
gdb/Makefile.in

index c2c9236fb26c28d3303fe7fd889df49780e0f54a..bb64a2334f869ebb6eb2bf52323b056fbacdb1a0 100644 (file)
@@ -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.
index e71455060c8eb5ed1d2ecb1de88fb3e1cc7f92e9..09766150946002818e789e8825840f76d73e3937 100644 (file)
@@ -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