From 0cc3cc9412c232e2ec799ee1f1a9a90f3e56ab66 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. Change-Id: I4adee125a82d640bc78f15c77494a22157cf7f5d Reviewed-on: http://gerrit.openafs.org/3165 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- 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 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 -- 2.39.5