1 # API version. When something changes, increment as appropriate.
2 # Ignore at your own risk.
6 # Copyright 2000, International Business Machines Corporation and others.
9 # This software has been released under the terms of the IBM Public
10 # License. For details, see the LICENSE file in the top-level source
11 # directory or online at http://www.openafs.org/dl/license10.html
13 # This is a pthread safe library containing ubikclient, auth, kauth.
16 include @TOP_OBJDIR@/src/config/Makefile.config
19 CFLAGS=${COMMON_CFLAGS} ${MT_CFLAGS} ${SHLIB_CFLAGS} -I../auth -I../kauth -I../ptserver -I../sys
20 CCRULE = ${CC} ${CFLAGS} -c $?
28 PTSERVER = ../ptserver
101 LIBAFSAUTHENT = libafsauthent.${SHLIB_SUFFIX}.${LIBAFSAUTHENTMAJOR}.${LIBAFSAUTHENTMINOR}
103 all: ${TOP_LIBDIR}/${LIBAFSAUTHENT}
105 ${TOP_LIBDIR}/${LIBAFSAUTHENT}: ${LIBAFSAUTHENT}
106 ../config/shlib-install -d ${TOP_LIBDIR} \
108 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
110 install: ${LIBAFSAUTHENT}
111 ../config/shlib-install -d ${DESTDIR}${libdir} \
113 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
115 dest: ${LIBAFSAUTHENT}
116 ../config/shlib-install -d ${DEST}/lib \
118 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
120 ${LIBAFSAUTHENT}: ${LIBOBJS}
121 ../config/shlib-build -d $(srcdir) -l libafsauthent \
122 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR} -- \
123 ${LIBOBJS} ${MT_LIBS}
125 audit.o: ${AUDIT}/audit.c
128 cellconfig.o: ${AUTH}/cellconfig.c
134 userok.o: ${AUTH}/userok.c
137 writeconfig.o: ${AUTH}/writeconfig.c
140 authcon.o: ${AUTH}/authcon.c
143 ktc_errors.o: ${AUTH}/ktc_errors.c
146 acfg_errors.o: ${AUTH}/acfg_errors.c
149 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
152 kauth.cs.o: ${KAUTH}/kauth.cs.c
155 kaaux.o: ${KAUTH}/kaaux.c
158 client.o: ${KAUTH}/client.c
161 authclient.o: ${KAUTH}/authclient.c
164 token.o: ${KAUTH}/token.c
167 kautils.o: ${KAUTH}/kautils.c
170 kalocalcell.o: ${KAUTH}/kalocalcell.c
173 kaerrors.o: ${KAUTH}/kaerrors.c
176 user.o: ${KAUTH}/user.c
179 read_passwd.o: ${KAUTH}/read_passwd.c
182 ubikclient.o: ${UBIK}/ubikclient.c
185 uinit.o: ${UBIK}/uinit.c
188 uerrors.o: ${UBIK}/uerrors.c
191 ubik_int.cs.o: ${UBIK}/ubik_int.cs.c
194 ubik_int.xdr.o: ${UBIK}/ubik_int.xdr.c
197 get_krbrlm.o: ${UTIL}/get_krbrlm.c
200 dirpath.o: ${UTIL}/dirpath.c
203 serverLog.o: ${UTIL}/serverLog.c
206 snprintf.o: ${UTIL}/snprintf.c
209 fileutil.o: ${UTIL}/fileutil.c
212 pthread_glock.o: ${UTIL}/pthread_glock.c
215 rxkad_errs.o: ${RXKAD}/rxkad_errs.c
218 ptclient.o: ${PTSERVER}/ptclient.c
221 # The special treatment of this file for hp_ux110 is because of a bug
222 # in version A.11.01.00 of the HP C compiler. This bug appears to be
223 # fixed in version A.11.01.02 of the HP C compiler, however this version
224 # of the compiler is not installed on all of our build machines.
225 # The symptom of the problem is an error when linking the pthread fileserver:
226 # /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
227 # storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
228 ptuser.o: ${PTSERVER}/ptuser.c
230 case ${SYS_NAME} in \
232 set X `echo ${CCRULE} | sed s/-g//`; shift; \
240 display.o: ${PTSERVER}/display.c
243 ptint.cs.o: ${PTSERVER}/ptint.cs.c
246 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
249 pterror.o: ${PTSERVER}/pterror.c
252 rmtsysc.o: ${SYS}/rmtsysc.c
255 rmtsys.xdr.o: ${SYS}/rmtsys.xdr.c
258 rmtsys.cs.o: ${SYS}/rmtsys.cs.c
261 afssyscalls.o: ${SYS}/afssyscalls.c
264 rmtsysnet.o: ${SYS}/rmtsysnet.c
267 glue.o: ${SYS}/glue.c
270 setpag.o: ${SYS}/setpag.c
273 pioctl.o: ${SYS}/pioctl.c
277 $(RM) -f *.o *.a libafsauthent.a* libafsauthent.sl* libafsauthent.so*