From: Marc Dionne Date: Wed, 27 Oct 2010 00:33:41 +0000 (-0400) Subject: bucoord: parallel make fix X-Git-Tag: upstream/1.8.0_pre1^2~4604 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0cc3cc9412c232e2ec799ee1f1a9a90f3e56ab66;p=packages%2Fo%2Fopenafs.git bucoord: parallel make fix Fix an instance of a Makefile rule with multiple targets. This can cause a parallel make to fail when two instances of compile_et compete to write the same output files. Spotted by a build failure with a corrupt bc.h header. Change-Id: I4adee125a82d640bc78f15c77494a22157cf7f5d Reviewed-on: http://gerrit.openafs.org/3165 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/bucoord/Makefile.in b/src/bucoord/Makefile.in index beb384400..ce9f57e6c 100644 --- a/src/bucoord/Makefile.in +++ b/src/bucoord/Makefile.in @@ -70,7 +70,9 @@ $(BACKOBJS): bc.h ${TOP_INCDIR}/afs/butc.h backup: $(BACKOBJS) ${LIBS} $(AFS_LDRULE) $(BACKOBJS) ${LIBS} ${XLIBS} -bucoord_errs.c bc.h: bucoord_errs.et bc.p.h +bc.h: bucoord_errs.c + +bucoord_errs.c: bucoord_errs.et bc.p.h $(RM) -f bc.h bucoord_errs.c ${COMPILE_ET} -p ${srcdir} bucoord_errs -h bc