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
18 INSTALL_DATA = @INSTALL_DATA@
19 INSTALL_PROGRAM = @INSTALL_PROGRAM@
20 INSTALL_SCRIPT = @INSTALL_SCRIPT@
23 CFLAGS=${COMMON_CFLAGS} ${MT_CFLAGS} ${SHLIB_CFLAGS} -I../auth -I../kauth -I../ptserver -I../sys
24 CCRULE = ${CC} ${CFLAGS} -c $?
32 PTSERVER = ../ptserver
105 LIBAFSAUTHENT = libafsauthent.${SHLIB_SUFFIX}.${LIBAFSAUTHENTMAJOR}.${LIBAFSAUTHENTMINOR}
107 all: ${TOP_LIBDIR}/${LIBAFSAUTHENT}
109 ${TOP_LIBDIR}/${LIBAFSAUTHENT}: ${LIBAFSAUTHENT}
110 ../config/shlib-install -d ${TOP_LIBDIR} \
112 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
114 install: ${LIBAFSAUTHENT}
115 ../config/shlib-install -d ${DESTDIR}${libdir} \
117 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
119 dest: ${LIBAFSAUTHENT}
120 ../config/shlib-install -d ${DEST}/lib \
122 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR}
124 ${LIBAFSAUTHENT}: ${LIBOBJS}
125 ../config/shlib-build -d $(srcdir) -l libafsauthent \
126 -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR} -- \
127 ${LIBOBJS} ${MT_LIBS}
129 audit.o: ${AUDIT}/audit.c
132 cellconfig.o: ${AUTH}/cellconfig.c
138 userok.o: ${AUTH}/userok.c
141 writeconfig.o: ${AUTH}/writeconfig.c
144 authcon.o: ${AUTH}/authcon.c
147 ktc_errors.o: ${AUTH}/ktc_errors.c
150 acfg_errors.o: ${AUTH}/acfg_errors.c
153 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
156 kauth.cs.o: ${KAUTH}/kauth.cs.c
159 kaaux.o: ${KAUTH}/kaaux.c
162 client.o: ${KAUTH}/client.c
165 authclient.o: ${KAUTH}/authclient.c
168 token.o: ${KAUTH}/token.c
171 kautils.o: ${KAUTH}/kautils.c
174 kalocalcell.o: ${KAUTH}/kalocalcell.c
177 kaerrors.o: ${KAUTH}/kaerrors.c
180 user.o: ${KAUTH}/user.c
183 read_passwd.o: ${KAUTH}/read_passwd.c
186 ubikclient.o: ${UBIK}/ubikclient.c
189 uinit.o: ${UBIK}/uinit.c
192 uerrors.o: ${UBIK}/uerrors.c
195 ubik_int.cs.o: ${UBIK}/ubik_int.cs.c
198 ubik_int.xdr.o: ${UBIK}/ubik_int.xdr.c
201 get_krbrlm.o: ${UTIL}/get_krbrlm.c
204 dirpath.o: ${UTIL}/dirpath.c
207 serverLog.o: ${UTIL}/serverLog.c
210 snprintf.o: ${UTIL}/snprintf.c
213 fileutil.o: ${UTIL}/fileutil.c
216 pthread_glock.o: ${UTIL}/pthread_glock.c
219 rxkad_errs.o: ${RXKAD}/rxkad_errs.c
222 ptclient.o: ${PTSERVER}/ptclient.c
225 # The special treatment of this file for hp_ux110 is because of a bug
226 # in version A.11.01.00 of the HP C compiler. This bug appears to be
227 # fixed in version A.11.01.02 of the HP C compiler, however this version
228 # of the compiler is not installed on all of our build machines.
229 # The symptom of the problem is an error when linking the pthread fileserver:
230 # /usr/ccs/bin/ld: TP override with DATA_ONE_SYM fixup for non thread local
231 # storage symbol pr_Initialize in file DEST/lib/libafsauthent.a(ptuser.o)
232 ptuser.o: ${PTSERVER}/ptuser.c
234 case ${SYS_NAME} in \
236 set X `echo ${CCRULE} | sed s/-g//`; shift; \
244 display.o: ${PTSERVER}/display.c
247 ptint.cs.o: ${PTSERVER}/ptint.cs.c
250 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
253 pterror.o: ${PTSERVER}/pterror.c
256 rmtsysc.o: ${SYS}/rmtsysc.c
259 rmtsys.xdr.o: ${SYS}/rmtsys.xdr.c
262 rmtsys.cs.o: ${SYS}/rmtsys.cs.c
265 afssyscalls.o: ${SYS}/afssyscalls.c
268 rmtsysnet.o: ${SYS}/rmtsysnet.c
271 glue.o: ${SYS}/glue.c
274 setpag.o: ${SYS}/setpag.c
277 pioctl.o: ${SYS}/pioctl.c
281 $(RM) -f *.o *.a libafsauthent.a* libafsauthent.sl* libafsauthent.so*