diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-26 21:24:43 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-26 21:24:43 +0000 |
commit | 8e198eb2ecdec9e798c1d95be9d52dd40979a653 (patch) | |
tree | 6fb4678f1d72aa6e400b5efeccc3f1eff9b5ce92 /libiberty/Makefile.in | |
parent | 0af1044a12f6218ccb2003f2418079f5e5737df1 (diff) | |
download | gcc-8e198eb2ecdec9e798c1d95be9d52dd40979a653.tar.gz |
* Makefile.in (stamp-h): Depend on Makefile for proper
serialization.
(*-subdir): Depend on config.h for proper serialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47354 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r-- | libiberty/Makefile.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 877e0a9279f..093c449328c 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 \ |