From: Marc Dionne Date: Wed, 27 Oct 2010 00:33:41 +0000 (-0400) Subject: bucoord: parallel make fix X-Git-Tag: openafs-devel-1_5_78~10 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1ceab26371030d94c5a837745ae2cebcbd81b93b;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. Reviewed-on: http://gerrit.openafs.org/3165 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 0cc3cc9412c232e2ec799ee1f1a9a90f3e56ab66) Change-Id: I453e6eced8145a0b361ce4a54baf9f7411128d2f Reviewed-on: http://gerrit.openafs.org/3238 Tested-by: BuildBot --- diff --git a/src/bucoord/Makefile.in b/src/bucoord/Makefile.in index 375aacaae..e02ea4b4a 100644 --- a/src/bucoord/Makefile.in +++ b/src/bucoord/Makefile.in @@ -69,7 +69,9 @@ $(BACKOBJS): bc.h ${TOP_INCDIR}/afs/butc.h backup: $(BACKOBJS) ${LIBS} ${CC} ${CFLAGS} -o backup $(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