1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
8 # This is a pthread safe library containing ubikclient, auth, kauth.
11 include @TOP_OBJDIR@/src/config/Makefile.config
14 CFLAGS=${COMMON_CFLAGS} ${MT_CFLAGS} -I../auth -I../kauth -I../ptserver -I../sys
15 CCRULE = ${CC} ${CFLAGS} -c $?
23 PTSERVER = ../ptserver
92 all: ${TOP_LIBDIR}/libafsauthent.a
94 install: ${DESTDIR}${libdir}/libafsauthent.a
96 ${DEST}/lib/libafsauthent.a: libafsauthent.a
99 libafsauthent.a: ${LIBOBJS}
101 $(AR) crv $@ ${LIBOBJS}
104 audit.o: ${AUDIT}/audit.c
107 cellconfig.o: ${AUTH}/cellconfig.c
113 userok.o: ${AUTH}/userok.c
116 writeconfig.o: ${AUTH}/writeconfig.c
119 authcon.o: ${AUTH}/authcon.c
122 ktc_errors.o: ${AUTH}/ktc_errors.c
125 acfg_errors.o: ${AUTH}/acfg_errors.c
128 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
131 kauth.cs.o: ${KAUTH}/kauth.cs.c
134 kaaux.o: ${KAUTH}/kaaux.c
137 client.o: ${KAUTH}/client.c
140 authclient.o: ${KAUTH}/authclient.c
143 token.o: ${KAUTH}/token.c
146 kautils.o: ${KAUTH}/kautils.c
149 kalocalcell.o: ${KAUTH}/kalocalcell.c
152 kaerrors.o: ${KAUTH}/kaerrors.c
155 user.o: ${KAUTH}/user.c
158 read_passwd.o: ${KAUTH}/read_passwd.c
161 ubikclient.o: ${UBIK}/ubikclient.c
164 uinit.o: ${UBIK}/uinit.c
167 uerrors.o: ${UBIK}/uerrors.c
170 ubik_int.cs.o: ${UBIK}/ubik_int.cs.c
173 ubik_int.xdr.o: ${UBIK}/ubik_int.xdr.c
176 get_krbrlm.o: ${UTIL}/get_krbrlm.c
179 dirpath.o: ${UTIL}/dirpath.c
182 fileutil.o: ${UTIL}/fileutil.c
185 casestrcpy.o: ${UTIL}/casestrcpy.c
188 pthread_glock.o: ${UTIL}/pthread_glock.c
191 rxkad_errs.o: ${RXKAD}/rxkad_errs.c
194 ptclient.o: ${PTSERVER}/ptclient.c
197 # The special treatment of this file for hp_ux110 is because of a bug
198 # in version A.11.01.00 of the HP C compiler. This bug appears to be
199 # fixed in version A.11.01.02 of the HP C compiler, however this version
200 # of the compiler is not installed on all of our build machines.
201 # The symptom of the problem is an error when linking the pthread fileserver:
202 # /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
203 # storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
204 ptuser.o: ${PTSERVER}/ptuser.c
206 case ${SYS_NAME} in \
208 set X `echo ${CCRULE} | sed s/-g//`; shift; \
216 display.o: ${PTSERVER}/display.c
219 ptint.cs.o: ${PTSERVER}/ptint.cs.c
222 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
225 pterror.o: ${PTSERVER}/pterror.c
228 rmtsysc.o: ${SYS}/rmtsysc.c
231 rmtsys.xdr.o: ${SYS}/rmtsys.xdr.c
234 rmtsys.cs.o: ${SYS}/rmtsys.cs.c
237 afssyscalls.o: ${SYS}/afssyscalls.c
240 rmtsysnet.o: ${SYS}/rmtsysnet.c
244 $(RM) -f *.o *.a libafsauthent*
246 ${DESTDIR}${libdir}/libafsauthent.a: libafsauthent.a
249 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
252 dest: ${DEST}/lib/libafsauthent.a