From 1ceab26371030d94c5a837745ae2cebcbd81b93b Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 26 Oct 2010 20:33:41 -0400 Subject: [PATCH] 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 --- src/bucoord/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5