]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
libafsauthent: Add volser and vldb
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Wed, 3 Aug 2011 18:08:20 +0000 (19:08 +0100)
committerPaul Smeddle <paul.smeddle@gmail.com>
Sat, 22 Dec 2012 12:01:09 +0000 (04:01 -0800)
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>
Makefile.in
src/libafsauthent/Makefile.in

index e3450a3ba104d2a32663d90a4beb4f26b508e9f5..57ea873f66cd9d0a86774012b9f3b1cf350f3d1a 100644 (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} ;; \
index 7bf1f2ecf8ea8eb2a540a5c35b082b2bd237c9d1..dc51f259d89029ce095ef89f746c8d8ef387c032 100644 (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*