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
55beacdc385424770c78cf055e8fd426075506f1)
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>
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} ;; \
UTIL = ../util
RXKAD = ../rxkad
PTSERVER = ../ptserver
+VOLSER = ../volser
+VLSERVER = ../vlserver
SYS = ../sys
AUDITOBJS = audit.o audit-file.o audit-sysvmq.o
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} \
${UTILOBJS} \
${RXKADOBJS} \
${PTSERVEROBJS} \
- ${SYSOBJS}
+ ${SYSOBJS} \
+ ${VOLSEROBJS} \
+ ${VLDBOBJS}
all: ${TOP_LIBDIR}/libafsauthent.a
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*