From 97e620cf89a1cdb7768f3c9a150531364f3520b4 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 26 Nov 2001 16:24:43 -0500 Subject: Makefile.in (stamp-h): Depend on Makefile for proper serialization. * Makefile.in (stamp-h): Depend on Makefile for proper serialization. (*-subdir): Depend on config.h for proper serialization. Co-Authored-By: Daniel Jacobowitz From-SVN: r47354 --- libiberty/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libiberty/Makefile.in') 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 \ -- cgit v1.1