include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
AUDIT= $(srcdir)/../audit
AUTH = $(srcdir)/../auth
UTIL = $(srcdir)/../util
RXKAD = $(srcdir)/../rxkad
PTSERVER = $(srcdir)/../ptserver
+VOLSER = $(srcdir)/../volser
+VLSERVER = $(srcdir)/../vlserver
SYS = $(srcdir)/../sys
AUDITOBJS = audit.o audit-file.o audit-sysvmq.o
AUTHOBJS = \
cellconfig.o \
ktc.o \
+ keys.o \
userok.o \
writeconfig.o \
authcon.o \
kautils.o \
kalocalcell.o \
kaerrors.o \
- user.o \
- read_passwd.o
+ user.o
UBIKOBJS = \
uinit.o \
get_krbrlm.o \
dirpath.o \
serverLog.o \
- snprintf.o \
fileutil.o
RXKADOBJS = \
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
cellconfig.o: ${AUTH}/cellconfig.c
${AFS_CCRULE} -I../auth ${AUTH}/cellconfig.c
+keys.o: ${AUTH}/keys.c
+ ${AFS_CCRULE} -I../auth ${AUTH}/keys.c
+
ktc.o: ${AUTH}/ktc.c
${AFS_CCRULE} -I../auth ${AUTH}/ktc.c
serverLog.o: ${UTIL}/serverLog.c
${AFS_CCRULE} ${UTIL}/serverLog.c
-snprintf.o: ${UTIL}/snprintf.c
- ${AFS_CCRULE} ${UTIL}/snprintf.c
-
fileutil.o: ${UTIL}/fileutil.c
${AFS_CCRULE} ${UTIL}/fileutil.c
ptclient.o: ${PTSERVER}/ptclient.c
${AFS_CCRULE} -I../ptserver ${PTSERVER}/ptclient.c
-# The special treatment of this file for hp_ux110 is because of a bug
-# in version A.11.01.00 of the HP C compiler. This bug appears to be
-# fixed in version A.11.01.02 of the HP C compiler, however this version
-# of the compiler is not installed on all of our build machines.
-# The symptom of the problem is an error when linking the pthread fileserver:
-# /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
-# storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
ptuser.o: ${PTSERVER}/ptuser.c
- set -x; \
- case ${SYS_NAME} in \
- hp_ux11*) \
- set X `echo ${AFS_CCRULE} -I../ptserver ${PTSERVER}/ptuser.c | sed s/-g//`; shift; \
- "$$@" \
- ;; \
- *) \
- ${AFS_CCRULE} -I../ptserver ${PTSERVER}/ptuser.c \
- ;; \
- esac
+ ${AFS_CCRULE} -I../ptserver ${PTSERVER}/ptuser.c
display.o: ${PTSERVER}/display.c
${AFS_CCRULE} -I../ptserver ${PTSERVER}/display.c
pioctl.o: ${SYS}/pioctl.c
${AFS_CCRULE} ${SYS}/pioctl.c
+vsprocs.o: $(VOLSER)/vsprocs.c
+ $(AFS_CCRULE) -I../volser $(VOLSER)/vsprocs.c
+
+vsutils.o: $(VOLSER)/vsutils.c
+ $(AFS_CCRULE) $(VOLSER)/vsutils.c
+
+lockprocs.o: $(VOLSER)/lockprocs.c
+ $(AFS_CCRULE) $(VOLSER)/lockprocs.c
+
+volint.xdr.o: ../volser/volint.xdr.c
+ $(AFS_CCRULE) ../volser/volint.xdr.c
+
+volint.cs.o: ../volser/volint.cs.c
+ $(AFS_CCRULE) ../volser/volint.cs.c
+
+volerr.o: $(VOLSER)/volerr.c
+ $(AFS_CCRULE) $(VOLSER)/volerr.c
+
+vldbint.xdr.o: ../vlserver/vldbint.xdr.c
+ $(AFS_CCRULE) ../vlserver/vldbint.xdr.c
+
+vldbint.cs.o: ../vlserver/vldbint.cs.c
+ $(AFS_CCRULE) ../vlserver/vldbint.cs.c
+
+vl_errors.o: $(VLSERVER)/vl_errors.c
+ $(AFS_CCRULE) $(VLSERVER)/vl_errors.c
+
clean:
$(RM) -f *.o *.a libafsauthent*