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
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
15 # This must be built after inetd has built ta-rauth.o and after rsh
16 # XXX want these to end up in /usr/afsws ...
17 # Note that if afskauthlib.so gets installed on a client
18 # machine then that will be used ..
21 AFSLIBS=${TOP_LIBDIR}/libkauth.a \
22 ${TOP_LIBDIR}/libprot.a \
24 ${TOP_LIBDIR}/libauth.a \
25 ${TOP_LIBDIR}/librxkad.a \
26 ${TOP_LIBDIR}/libsys.a \
28 ${TOP_LIBDIR}/libafsrfc3961.a \
29 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
31 ${TOP_LIBDIR}/libcmd.a \
32 ${TOP_LIBDIR}/libafscom_err.a \
35 KAFSLIBS=${TOP_LIBDIR}/libkauth.krb.a \
36 ${TOP_LIBDIR}/libprot.a \
38 ${TOP_LIBDIR}/libauth.krb.a \
39 ${TOP_LIBDIR}/librxkad.a \
40 ${TOP_LIBDIR}/libsys.a \
42 ${TOP_LIBDIR}/libafsrfc3961.a \
43 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
45 ${TOP_LIBDIR}/libcmd.a \
46 ${TOP_LIBDIR}/libafscom_err.a \
49 AUTHFILES=ta-rauth.o rcmd.o herror.o
50 AUTHLIBS=afsauthlib.so afskauthlib.so
53 all: ${TOP_LIBDIR}/afsauthlib.so ${TOP_LIBDIR}/afskauthlib.so
55 ${TOP_LIBDIR}/afsauthlib.so: afsauthlib.so
58 ${TOP_LIBDIR}/afskauthlib.so: afskauthlib.so
61 install install.noversion: afsauthlib.so afskauthlib.so
62 ${INSTALL} -d ${DESTDIR}${libdir}
63 ${INSTALL_DATA} afsauthlib.so ${DESTDIR}${libdir}/afsauthlib.so
64 ${INSTALL_DATA} afskauthlib.so ${DESTDIR}${libdir}/afskauthlib.so
66 dest: afsauthlib.so afskauthlib.so
67 ${INSTALL} -d ${DEST}/root.client/usr/vice/etc
68 ${INSTALL_DATA} afsauthlib.so \
69 ${DEST}/root.client/usr/vice/etc/afsauthlib.so
70 ${INSTALL_DATA} afskauthlib.so \
71 ${DEST}/root.client/usr/vice/etc/afskauthlib.so
74 $(RM) -f $(AUTHLIBS) $(AUTHFILES)
76 afsauthlib.so: sgi_auth.o ${AFSLIBS} ${AUTHFILES}
77 $(LD) ${AFS_LDFLAGS} -shared -all -o afsauthlib.so sgi_auth.o $(AFSLIBS) ${AUTHFILES}
79 afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
80 $(LD) ${AFS_LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
82 ta-rauth.o: ta-rauth.c
88 sgi_auth.o: sgi_auth.c