Build fixes: prevent unnecessary rebuilding
authorMarc Dionne <marc.c.dionne@gmail.com>
Tue, 21 Jul 2009 22:16:45 +0000 (18:16 -0400)
committerRuss Allbery <rra@stanford.edu>
Wed, 22 Jul 2009 15:24:48 +0000 (08:24 -0700)
commit05ee0932fa3d56193b9cbd235c5faa33fe02876d
treea20fb44ef02afa55d2e89e9728ba5d9858373832
parente35dfdcce9d11607669783844331ad2dbafd2793
Build fixes: prevent unnecessary rebuilding

Fixes to a few Makefiles to prevent needless rebuilding when using make
after a successful build.

Rework dependencies in src/bubasics to prevent needless rebuilding and
fix some remaining parallel build issues.  Multiple targets really
have to be avoided.

Remove dependency on the include/afs directory from the src/config Makefile.
Depending on a directory means that we will rebuild the target if the
timestamp changes, for instance if other files or sub-directories are
installed.  This caused param.h to get re-installed in some cases and
the kernel module source files to be recompiled.  This directory is
created in the top-level Makefile anyway so we shouldn't need an
explicit dependency.

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/171
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/bubasics/Makefile.in
src/config/Makefile.in