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
91 all: ${TOP_LIBDIR}/libafsauthent.a
93 install: ${DESTDIR}${libdir}/libafsauthent.a
95 ${DEST}/lib/libafsauthent.a: libafsauthent.a
98 libafsauthent.a: ${LIBOBJS}
100 $(AR) crv $@ ${LIBOBJS}
103 audit.o: ${AUDIT}/audit.c
106 cellconfig.o: ${AUTH}/cellconfig.c
112 userok.o: ${AUTH}/userok.c
115 writeconfig.o: ${AUTH}/writeconfig.c
118 authcon.o: ${AUTH}/authcon.c
121 ktc_errors.o: ${AUTH}/ktc_errors.c
124 acfg_errors.o: ${AUTH}/acfg_errors.c
127 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
130 kauth.cs.o: ${KAUTH}/kauth.cs.c
133 kaaux.o: ${KAUTH}/kaaux.c
136 client.o: ${KAUTH}/client.c
139 authclient.o: ${KAUTH}/authclient.c
142 token.o: ${KAUTH}/token.c
145 kautils.o: ${KAUTH}/kautils.c
148 kalocalcell.o: ${KAUTH}/kalocalcell.c
151 kaerrors.o: ${KAUTH}/kaerrors.c
154 user.o: ${KAUTH}/user.c
157 read_passwd.o: ${KAUTH}/read_passwd.c
160 ubikclient.o: ${UBIK}/ubikclient.c
163 uinit.o: ${UBIK}/uinit.c
166 uerrors.o: ${UBIK}/uerrors.c
169 ubik_int.cs.o: ${UBIK}/ubik_int.cs.c
172 ubik_int.xdr.o: ${UBIK}/ubik_int.xdr.c
175 get_krbrlm.o: ${UTIL}/get_krbrlm.c
178 dirpath.o: ${UTIL}/dirpath.c
181 fileutil.o: ${UTIL}/fileutil.c
184 pthread_glock.o: ${UTIL}/pthread_glock.c
187 rxkad_errs.o: ${RXKAD}/rxkad_errs.c
190 ptclient.o: ${PTSERVER}/ptclient.c
193 # The special treatment of this file for hp_ux110 is because of a bug
194 # in version A.11.01.00 of the HP C compiler. This bug appears to be
195 # fixed in version A.11.01.02 of the HP C compiler, however this version
196 # of the compiler is not installed on all of our build machines.
197 # The symptom of the problem is an error when linking the pthread fileserver:
198 # /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
199 # storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
200 ptuser.o: ${PTSERVER}/ptuser.c
202 case ${SYS_NAME} in \
204 set X `echo ${CCRULE} | sed s/-g//`; shift; \
212 display.o: ${PTSERVER}/display.c
215 ptint.cs.o: ${PTSERVER}/ptint.cs.c
218 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
221 pterror.o: ${PTSERVER}/pterror.c
224 rmtsysc.o: ${SYS}/rmtsysc.c
227 rmtsys.xdr.o: ${SYS}/rmtsys.xdr.c
230 rmtsys.cs.o: ${SYS}/rmtsys.cs.c
233 afssyscalls.o: ${SYS}/afssyscalls.c
236 rmtsysnet.o: ${SYS}/rmtsysnet.c
240 $(RM) -f *.o *.a libafsauthent*
242 ${DESTDIR}${libdir}/libafsauthent.a: libafsauthent.a
245 ${TOP_LIBDIR}/libafsauthent.a: libafsauthent.a
248 dest: ${DEST}/lib/libafsauthent.a