aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/Makefile.am4
-rw-r--r--binutils/Makefile.in4
-rw-r--r--gprof/Makefile.am4
-rw-r--r--gprof/Makefile.in4
4 files changed, 16 insertions, 0 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 16d900f..001bbe5 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -478,6 +478,10 @@ EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
diststuff: $(EXTRA_DIST) info
all: info
+# We extract version from bfd/configure.in, make sure to rerun configure
+# when BFD's version changes.
+CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
+
DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak
MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 420b7d0..5e1cac0 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -544,6 +544,10 @@ EXTRA_DIST = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
syslex.c deflex.c defparse.h defparse.c rcparse.h rcparse.c \
mcparse.h mcparse.c
+
+# We extract version from bfd/configure.in, make sure to rerun configure
+# when BFD's version changes.
+CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
DISTCLEANFILES = sysroff.c sysroff.h site.exp site.bak
MOSTLYCLEANFILES = sysinfo$(EXEEXT_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD) \
binutils.log binutils.sum abcdefgh*
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index 7df059b..a69d06a 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -41,6 +41,10 @@ EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
diststuff: $(BUILT_SOURCES) info $(man_MANS)
+# We extract version from bfd/configure.in, make sure to rerun configure
+# when BFD's version changes.
+CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
+
# This empty rule is a hack against gmake patched by Apple.
%.o:%.m
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index ad89f2a..c1f1a89 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -303,6 +303,10 @@ noinst_HEADERS = \
BUILT_SOURCES = flat_bl.c bsd_callg_bl.c fsf_callg_bl.c
EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
+
+# We extract version from bfd/configure.in, make sure to rerun configure
+# when BFD's version changes.
+CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
POTFILES = $(sources) $(noinst_HEADERS)
MANCONF = -Dman
TEXI2POD = perl $(srcdir)/../etc/texi2pod.pl $(AM_MAKEINFOFLAGS)