aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-11-26 22:25:58 +0000
committerDJ Delorie <dj@redhat.com>2001-11-26 22:25:58 +0000
commitfec501579dbd6dcdcc5ad28e3c1f9c0e0a203a76 (patch)
tree37f8b0b5ca665a909b5face11dc2cc650c729238 /libiberty
parent184d0bc81cf0f61c1c6edeca34952673682b3198 (diff)
downloadgdb-fec501579dbd6dcdcc5ad28e3c1f9c0e0a203a76.zip
gdb-fec501579dbd6dcdcc5ad28e3c1f9c0e0a203a76.tar.gz
gdb-fec501579dbd6dcdcc5ad28e3c1f9c0e0a203a76.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog7
-rw-r--r--libiberty/Makefile.in9
2 files changed, 14 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 40f73b6..4758fc6 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,4 +1,11 @@
2001-11-26 DJ Delorie <dj@redhat.com>
+ Daniel Jacobowitz <drow@mvista.com>
+
+ * Makefile.in (stamp-h): Depend on Makefile for proper
+ serialization.
+ (*-subdir): Depend on config.h for proper serialization.
+
+2001-11-26 DJ Delorie <dj@redhat.com>
* configure.in: Check for alloca.h (for regex.c and putenv.c).
* configure: Regenerate.
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in
index 877e0a9..093c449 100644
--- a/libiberty/Makefile.in
+++ b/libiberty/Makefile.in
@@ -300,17 +300,22 @@ force:
Makefile: $(srcdir)/Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
+# Depending on Makefile makes sure that config.status has been re-run
+# if needed. This prevents problems with parallel builds.
config.h: stamp-h ; @true
-stamp-h: config.in config.status
+stamp-h: config.in config.status Makefile
CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
config.status: $(srcdir)/configure $(srcdir)/config.table
$(SHELL) ./config.status --recheck
+# Depending on config.h makes sure that config.status has been re-run
+# if needed. This prevents problems with parallel builds, in case
+# subdirectories need to run config.status also.
all-subdir check-subdir installcheck-subdir info-subdir \
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
-maintainer-clean-subdir:
+maintainer-clean-subdir: config.h
@subdirs='$(SUBDIRS)'; \
target=`echo $@ | sed -e 's/-subdir//'`; \
for dir in $$subdirs ; do \