Improve Windows Build System By Using MT-safe Versions of Libraries
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 14 Jul 2009 01:24:58 +0000 (21:24 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 15 Jul 2009 03:46:56 +0000 (21:46 -0600)
commit6d6390338c7b3eadb725f916464ddb7d3b3e7b09
treef8284c6cb4c55f50c0e975c5fe3ee4bfed8f8fe3
parent8a2330a9a6914baf29b94f000848fcca0c331d50
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>
13 files changed:
src/NTMakefile
src/WINNT/afsd/NTMakefile
src/WINNT/afsd/fs_utils.c
src/config/NTMakefile
src/libafsauthent/afsauthent.def
src/libafsrpc/afsrpc.def
src/rx/rx_globals.h
src/tbutc/NTMakefile
src/tviced/NTMakefile
src/tvolser/NTMakefile
src/ubik/NTMakefile
src/util/NTMakefile
src/vol/NTMakefile