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
13 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
19 # This must be built after inetd has built ta-rauth.o and after rsh
20 # XXX want these to end up in /usr/afsws ...
21 # Note that if afskauthlib.so gets installed on a client
22 # machine then that will be used ..
25 AFSLIBS=${TOP_LIBDIR}/libkauth.a \
26 ${TOP_LIBDIR}/libprot.a \
28 ${TOP_LIBDIR}/libauth.a \
29 ${TOP_LIBDIR}/librxkad.a \
30 ${TOP_LIBDIR}/libsys.a \
32 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
34 ${TOP_LIBDIR}/libcmd.a \
35 ${TOP_LIBDIR}/libcom_err.a \
38 KAFSLIBS=${TOP_LIBDIR}/libkauth.krb.a \
39 ${TOP_LIBDIR}/libprot.a \
41 ${TOP_LIBDIR}/libauth.krb.a \
42 ${TOP_LIBDIR}/librxkad.a \
43 ${TOP_LIBDIR}/libsys.a \
45 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
47 ${TOP_LIBDIR}/libcmd.a \
48 ${TOP_LIBDIR}/libcom_err.a \
51 AUTHFILES=ta-rauth.o rcmd.o herror.o
52 AUTHLIBS=afsauthlib.so afskauthlib.so
55 all: ${TOP_LIBDIR}/afsauthlib.so ${TOP_LIBDIR}/afskauthlib.so
57 ${TOP_LIBDIR}/afsauthlib.so: afsauthlib.so
60 ${TOP_LIBDIR}/afskauthlib.so: afskauthlib.so
63 install install.noversion: afsauthlib.so afskauthlib.so
64 ${INSTALL} -d ${DESTDIR}${libdir}
65 ${INSTALL_DATA} afsauthlib.so ${DESTDIR}${libdir}/afsauthlib.so
66 ${INSTALL_DATA} afskauthlib.so ${DESTDIR}${libdir}/afskauthlib.so
68 dest: afsauthlib.so afskauthlib.so
69 ${INSTALL} -d ${DEST}/root.client/usr/vice/etc
70 ${INSTALL_DATA} afsauthlib.so \
71 ${DEST}/root.client/usr/vice/etc/afsauthlib.so
72 ${INSTALL_DATA} afskauthlib.so \
73 ${DEST}/root.client/usr/vice/etc/afskauthlib.so
76 $(RM) -f $(AUTHLIBS) $(AUTHFILES)
78 afsauthlib.so: sgi_auth.o ${AFSLIBS} ${AUTHFILES}
79 $(LD) ${AFS_LDFLAGS} -shared -all -o afsauthlib.so sgi_auth.o $(AFSLIBS) ${AUTHFILES}
81 afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
82 $(LD) ${AFS_LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
84 ta-rauth.o: ta-rauth.c
90 sgi_auth.o: sgi_auth.c