budb: Only have one build rule for budb_errs.c
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 21 Feb 2011 00:29:33 +0000 (00:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 21 Feb 2011 17:11:03 +0000 (09:11 -0800)
commit0d0b5048a5b68d4079b13609775f9234183d1947
treebdd75503a2e6bbeb71d65fba0e188f3faecbc596
parent019a473e576944003acbe3630d0b8bc0bdcce984
budb: Only have one build rule for budb_errs.c

budb had two build rules that could produce budb_errs.c, but only
one of them also produced budb_client.h. This led to problems with
parallel makes, as depending on which rule fired first, budb_client.h
might, or might not, exist.

Rework all of this so that it's cleaner. Instead of producing two
copies of the error table, just make budb_client.h a static file,
and include the dynamically generated budb_errs.h from it. This
reduces code duplication, and means that we have to run compile_et
one less time.

Change-Id: Ib9b982454cc3f1ef3bdeb629c64dbb9901397fdb
Reviewed-on: http://gerrit.openafs.org/4027
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/budb/.gitignore
src/budb/Makefile.in
src/budb/budb_client.h [moved from src/budb/budb_client.p.h with 98% similarity]