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 COMPONENT=libafsauthent
12 include ../config/Makefile.${SYS_NAME}
15 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS}
16 CCRULE = ${CC} ${CFLAGS} -c $?
24 PTSERVER = ../ptserver
92 system install: ${DESTDIR}lib/libafsauthent.a
94 ${DESTDIR}lib/libafsauthent.a: libafsauthent.a
95 ${INSTALL} libafsauthent.a ${DESTDIR}lib/libafsauthent.a
97 libafsauthent.a: ${LIBOBJS}
99 ${AR} -r libafsauthent.a ${LIBOBJS}
100 ${RANLIB} libafsauthent.a
102 audit.o: ${AUDIT}/audit.c
105 cellconfig.o: ${AUTH}/cellconfig.c
111 userok.o: ${AUTH}/userok.c
114 writeconfig.o: ${AUTH}/writeconfig.c
117 authcon.o: ${AUTH}/authcon.c
120 ktc_errors.o: ${AUTH}/ktc_errors.c
123 acfg_errors.o: ${AUTH}/acfg_errors.c
126 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
129 kauth.cs.o: ${KAUTH}/kauth.cs.c
132 kaaux.o: ${KAUTH}/kaaux.c
135 client.o: ${KAUTH}/client.c
138 authclient.o: ${KAUTH}/authclient.c
141 token.o: ${KAUTH}/token.c
144 kautils.o: ${KAUTH}/kautils.c
147 kalocalcell.o: ${KAUTH}/kalocalcell.c
150 kaerrors.o: ${KAUTH}/kaerrors.c
153 user.o: ${KAUTH}/user.c
156 read_passwd.o: ${KAUTH}/read_passwd.c
159 ubikclient.o: ${UBIK}/ubikclient.c
162 uerrors.o: ${UBIK}/uerrors.c
165 ubik_int.cs.o: ${UBIK}/ubik_int.cs.c
168 ubik_int.xdr.o: ${UBIK}/ubik_int.xdr.c
171 get_krbrlm.o: ${UTIL}/get_krbrlm.c
174 dirpath.o: ${UTIL}/dirpath.c
177 fileutil.o: ${UTIL}/fileutil.c
180 casestrcpy.o: ${UTIL}/casestrcpy.c
183 pthread_glock.o: ${UTIL}/pthread_glock.c
186 rxkad_errs.o: ${RXKAD}/rxkad_errs.c
189 ptclient.o: ${PTSERVER}/ptclient.c
192 # The special treatment of this file for hp_ux110 is because of a bug
193 # in version A.11.01.00 of the HP C compiler. This bug appears to be
194 # fixed in version A.11.01.02 of the HP C compiler, however this version
195 # of the compiler is not installed on all of our build machines.
196 # The symptom of the problem is an error when linking the pthread fileserver:
197 # /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
198 # storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
199 ptuser.o: ${PTSERVER}/ptuser.c
201 case ${SYS_NAME} in \
203 set X `echo ${CCRULE} | sed s/-g//`; shift; \
211 display.o: ${PTSERVER}/display.c
214 ptint.cs.o: ${PTSERVER}/ptint.cs.c
217 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
220 pterror.o: ${PTSERVER}/pterror.c
223 rmtsysc.o: ${SYS}/rmtsysc.c
226 rmtsys.xdr.o: ${SYS}/rmtsys.xdr.c
229 rmtsys.cs.o: ${SYS}/rmtsys.cs.c
232 afssyscalls.o: ${SYS}/afssyscalls.c
235 rmtsysnet.o: ${SYS}/rmtsysnet.c
239 rm -f *.o libafsauthent*