OpenAFS Master Repository branch, master, updated. 6d6390338c7b3eadb725f916464ddb7d3b3e7b09
Gerrit Code Review
gerrit@openafs.org
Tue, 14 Jul 2009 20:47:20 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6d6390338c7b3eadb725f916464ddb7d3b3e7b09
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Mon Jul 13 21:24:58 2009 -0400
Improve Windows Build System By Using MT-safe Versions of Libraries
For many years the Windows Build System has incorrectly mixed
some Pthread and LWP code. One of the side effects of this
mixing was the need for the EXT2 extern macro definition in
src/rx/rx_globals.h which permitted the LWP compiled routines
to link with the Pthreaded afsrpc library.
This commit creates or modifies multi-threaded versions of various
libraries including mtafsubik.lib, mtafsutil.lib, mtafsvldb.lib,
and mtafsvol.lib.
All of the threaded servers now make use of these libraries.
This reduces the number of times that many source files were
recompiled for each server directory.
util_GetInt32 was defined in both src/util/volparse.c and
src/WINNT/afsd/fs_utils.c. Now that mtafsutil.lib is being
used within src/WINNT/afsd there is no need to maintain the
duplicate copy.
The export list for afsauthent.def now includes all of the
ubik_PR_xxxx function variants and afsrpc.def now include
rxi_CallError as it is linked to outside the rx library.
The top-level NTMakefile has been modified to permit the
tree to build with the new header and library dependencies.
The threaded volserver which never built before now does.
LICENSE MIT
Reviewed-on: http://gerrit.openafs.org/77
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Verified-by: Asanka Herath <asanka@secure-endpoints.com>
Verified-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/NTMakefile | 34 +++++++++----
src/WINNT/afsd/NTMakefile | 5 +-
src/WINNT/afsd/fs_utils.c | 45 -----------------
src/config/NTMakefile | 3 +
src/libafsauthent/afsauthent.def | 25 +++++++++-
src/libafsrpc/afsrpc.def | 1 +
src/rx/rx_globals.h | 12 ++---
src/tbutc/NTMakefile | 28 ++---------
src/tviced/NTMakefile | 34 +++----------
src/tvolser/NTMakefile | 97 ++++++++++++++++++++++++-------------
src/ubik/NTMakefile | 40 +++++++++++++++-
src/util/NTMakefile | 43 ++++++++++++++++-
src/vol/NTMakefile | 53 ++++++++++++++++++++-
13 files changed, 265 insertions(+), 155 deletions(-)
--
OpenAFS Master Repository