diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e6b4a6d55..a51b0f764c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-12-01 Tom Tromey + + * Makefile.in (all_deps_files): New variable. + Include .Po files using all_deps_files. + 2017-12-01 Joel Brobecker * MAINTAINERS: Update list of maintainers, moving those who diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 284559b030..5823098036 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2644,6 +2644,10 @@ endif all_object_files = gdb.o $(LIBGDB_OBS) gdbtk-main.o \ test-cp-name-parser.o +# All the .deps files to include. +all_deps_files = $(foreach dep,$(patsubst %.o,%.Po,$(all_object_files)),\ + $(dir $(dep))/$(DEPDIR)/$(notdir $(dep))) + # Ensure that generated files are created early. Use order-only # dependencies if available. They require GNU make 3.80 or newer, # and the .VARIABLES variable was introduced at the same time. @@ -2654,7 +2658,7 @@ $(all_object_files) : $(generated_files) endif # Dependencies. --include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files)) +-include $(all_deps_files) # Disable implicit make rules. include $(srcdir)/disable-implicit-rules.mk