aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/Makefile.in3
-rw-r--r--gdb/data-directory/Makefile.in3
-rw-r--r--gdb/disable-implicit-rules.mk27
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/Makefile.in3
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/Makefile.in3
-rw-r--r--gdb/gnulib/Makefile.in3
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/Makefile.in3
11 files changed, 64 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 03e5f0f..85478db 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * disable-implicit-rules.mk: New file.
+ * Makefile.in: Include disable-implicit-rules.mk.
+ * data-directory/Makefile.in: Likewise.
+ * gnulib/Makefile.in: Likewise.
+
2016-11-30 Yao Qi <yao.qi@linaro.org>
* arm-tdep.c (arm_scan_prologue): Read memory as unsigned integer.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 415cca3..2cf1b3d 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2909,4 +2909,7 @@ endif
# Dependencies.
-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
+# Disable implicit make rules.
+include $(srcdir)/disable-implicit-rules.mk
+
### end of the gdb Makefile.in.
diff --git a/gdb/data-directory/Makefile.in b/gdb/data-directory/Makefile.in
index 51b5c2a..d27765e 100644
--- a/gdb/data-directory/Makefile.in
+++ b/gdb/data-directory/Makefile.in
@@ -412,3 +412,6 @@ MAKEOVERRIDES=
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(MAKE) data-directory/Makefile
+
+# Disable implicit make rules.
+include $(srcdir)/../disable-implicit-rules.mk
diff --git a/gdb/disable-implicit-rules.mk b/gdb/disable-implicit-rules.mk
new file mode 100644
index 0000000..b524e44
--- /dev/null
+++ b/gdb/disable-implicit-rules.mk
@@ -0,0 +1,27 @@
+# Copyright (C) 2016 Free Software Foundation, Inc.
+
+# This file is part of GDB.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+# An empty .SUFFIXES target clears the suffixes list, which will skip lookups
+# of many implicit rules, speeding up the execution of make.
+.SUFFIXES:
+
+# Disable some implicit pattern rules.
+%: %,v
+%: RCS/%,v
+%: RCS/%
+%: s.%
+%: SCCS/s.%
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a74b4dd..dc8244c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Likewise.
+
2016-11-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.texinfo (GDB/MI Async Records): Add missing comma after
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 70af0fe..be63c87 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -676,3 +676,6 @@ maintainer-clean realclean: distclean
install: install-info install-man
uninstall: uninstall-info uninstall-man
+
+# Disable implicit make rules.
+include $(srcdir)/../disable-implicit-rules.mk
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 8b83461..fdb1ca2 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Include disable-implicit-rules.mk.
+
2016-11-23 Pedro Alves <palves@redhat.com>
* debug.c: Include <chrono> instead of "gdb_sys_time.h".
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 5316c95..e17cf70 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -1079,4 +1079,7 @@ endif
# Dependencies.
-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
+# Disable implicit make rules.
+include $(srcdir)/../disable-implicit-rules.mk
+
# This is the end of "Makefile.in".
diff --git a/gdb/gnulib/Makefile.in b/gdb/gnulib/Makefile.in
index 743e3a6..932e110 100644
--- a/gdb/gnulib/Makefile.in
+++ b/gdb/gnulib/Makefile.in
@@ -287,4 +287,7 @@ force_update:
# will remove them.
MAKEOVERRIDES=
+# Disable implicit make rules.
+include $(srcdir)/../disable-implicit-rules.mk
+
### end of the libgnu Makefile.in.
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8147091..78b6cf8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * Makefile.in: Include disable-implicit-rules.mk.
+
2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.dwarf2/nonvar-access.exp: Add a test for accessing
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 29897ab..ad1dab2 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -372,3 +372,6 @@ read1.so: lib/read1.c
# Build the read1 machinery.
.PHONY: read1
read1: read1.so expect-read1
+
+# Disable implicit make rules.
+include $(srcdir)/../disable-implicit-rules.mk