libafsauthent: Add volser and vldb

Add the volser and vldb families of functions to libafsauthent. This
allows applications such as perl-AFS which are building pthreaded
clients to use a single library, rather than trying to mix LWP and
pthreaded code within the same process.

Reviewed-on: http://gerrit.openafs.org/5157
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 55beacdc38)

Change-Id: I60a35b3032f071a0a3ef4dc66221f22166942bfd
Reviewed-on: http://gerrit.openafs.org/8799
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
This commit is contained in:
Simon Wilkinson 2011-08-03 19:08:20 +01:00 committed by Paul Smeddle
parent c4dbf26d03
commit 140fb74331
2 changed files with 46 additions and 2 deletions

View File

@ -590,7 +590,7 @@ libafsrpc: rx rxkad rxstat fsint des
echo Not building MT libafsrpc for ${SYS_NAME} ;; \
esac
libafsauthent: ubik auth kauth libafsrpc
libafsauthent: ubik auth kauth libafsrpc volser vlserver
+case ${SYS_NAME} in \
alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*) \
${COMPILE_PART1} libafsauthent ${COMPILE_PART2} ;; \

View File

@ -25,6 +25,8 @@ UBIK = ../ubik
UTIL = ../util
RXKAD = ../rxkad
PTSERVER = ../ptserver
VOLSER = ../volser
VLSERVER = ../vlserver
SYS = ../sys
AUDITOBJS = audit.o audit-file.o audit-sysvmq.o
@ -89,6 +91,19 @@ PTSERVEROBJS = \
display.o \
pterror.o
VOLSEROBJS = \
vsprocs.o \
vsutils.o \
lockprocs.o \
volint.xdr.o \
volint.cs.o \
volerr.o
VLDBOBJS = \
vldbint.xdr.o \
vldbint.cs.o \
vl_errors.o
LIBOBJS = \
${AUDITOBJS} \
${AUTHOBJS} \
@ -97,7 +112,9 @@ LIBOBJS = \
${UTILOBJS} \
${RXKADOBJS} \
${PTSERVEROBJS} \
${SYSOBJS}
${SYSOBJS} \
${VOLSEROBJS} \
${VLDBOBJS}
all: ${TOP_LIBDIR}/libafsauthent.a
@ -272,6 +289,33 @@ setpag.o: ${SYS}/setpag.c
pioctl.o: ${SYS}/pioctl.c
${CCRULE}
vsprocs.o: $(VOLSER)/vsprocs.c
$(CCRULE) -I../volser
vsutils.o: $(VOLSER)/vsutils.c
$(CCRULE)
lockprocs.o: $(VOLSER)/lockprocs.c
$(CCRULE)
volint.xdr.o: ../volser/volint.xdr.c
$(CCRULE)
volint.cs.o: ../volser/volint.cs.c
$(CCRULE)
volerr.o: $(VOLSER)/volerr.c
$(CCRULE)
vldbint.xdr.o: ../vlserver/vldbint.xdr.c
$(CCRULE)
vldbint.cs.o: ../vlserver/vldbint.cs.c
$(CCRULE)
vl_errors.o: $(VLSERVER)/vl_errors.c
$(CCRULE)
clean:
$(RM) -f *.o *.a libafsauthent*