]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
bucoord: parallel make fix
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 27 Oct 2010 00:33:41 +0000 (20:33 -0400)
committerDerrick Brashear <shadow@dementia.org>
Wed, 3 Nov 2010 10:59:38 +0000 (03:59 -0700)
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 <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 0cc3cc9412c232e2ec799ee1f1a9a90f3e56ab66)
Change-Id: I453e6eced8145a0b361ce4a54baf9f7411128d2f
Reviewed-on: http://gerrit.openafs.org/3238
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/bucoord/Makefile.in

index 375aacaaead4e01d3368a2c8e42fdba0f819e4a7..e02ea4b4ad9eace8977d9590a5ec29a03b30ef48 100644 (file)
@@ -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