Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / platform / IRIX / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3 #
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
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 include @TOP_OBJDIR@/src/config/Makefile.lwp
11
12 SHELL=/bin/sh
13
14 #
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 ..
19 #
20 LIBDIR=${TOP_LIBDIR}/
21 AFSLIBS=${TOP_LIBDIR}/libkauth.a \
22 ${TOP_LIBDIR}/libprot.a \
23 ${LIBDIR}/libubik.a \
24 ${TOP_LIBDIR}/libauth.a \
25 ${TOP_LIBDIR}/librxkad.a \
26 ${TOP_LIBDIR}/libsys.a \
27 ${LIBDIR}/librx.a \
28 ${TOP_LIBDIR}/libafsrfc3961.a \
29 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
30 ${LIBDIR}/liblwp.a \
31 ${TOP_LIBDIR}/libcmd.a \
32 ${TOP_LIBDIR}/libafscom_err.a \
33 ${TOP_LIBDIR}/util.a
34
35 KAFSLIBS=${TOP_LIBDIR}/libkauth.krb.a \
36 ${TOP_LIBDIR}/libprot.a \
37 ${LIBDIR}/libubik.a \
38 ${TOP_LIBDIR}/libauth.krb.a \
39 ${TOP_LIBDIR}/librxkad.a \
40 ${TOP_LIBDIR}/libsys.a \
41 ${LIBDIR}/librx.a \
42 ${TOP_LIBDIR}/libafsrfc3961.a \
43 ${TOP_LIBDIR}/libafshcrypto_lwp.a \
44 ${LIBDIR}/liblwp.a \
45 ${TOP_LIBDIR}/libcmd.a \
46 ${TOP_LIBDIR}/libafscom_err.a \
47 ${TOP_LIBDIR}/util.a
48
49 AUTHFILES=ta-rauth.o rcmd.o herror.o
50 AUTHLIBS=afsauthlib.so afskauthlib.so
51 TARGETS=$(AUTHLIBS)
52
53 all: ${TOP_LIBDIR}/afsauthlib.so ${TOP_LIBDIR}/afskauthlib.so
54
55 ${TOP_LIBDIR}/afsauthlib.so: afsauthlib.so
56 ${INSTALL_DATA} $? $@
57
58 ${TOP_LIBDIR}/afskauthlib.so: afskauthlib.so
59 ${INSTALL_DATA} $? $@
60
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
65
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
72
73 clean:
74 $(RM) -f $(AUTHLIBS) $(AUTHFILES)
75
76 afsauthlib.so: sgi_auth.o ${AFSLIBS} ${AUTHFILES}
77 $(LD) ${AFS_LDFLAGS} -shared -all -o afsauthlib.so sgi_auth.o $(AFSLIBS) ${AUTHFILES}
78
79 afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
80 $(LD) ${AFS_LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
81
82 ta-rauth.o: ta-rauth.c
83
84 rcmd.o: rcmd.c
85
86 herror.o: herror.c
87
88 sgi_auth.o: sgi_auth.c