crypto: return a value from krb5_abortx
[openafs.git] / tests / rpctestlib / 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 # Portions Copyright (c) 2003 Apple Computer, Inc.
9
10 srcdir=@srcdir@
11 include @TOP_OBJDIR@/src/config/Makefile.config
12 include @TOP_OBJDIR@/src/config/Makefile.pthread
13
14 INSTALL = @INSTALL@
15 INSTALL_DATA = @INSTALL_DATA@
16 INSTALL_PROGRAM = @INSTALL_PROGRAM@
17 INSTALL_SCRIPT = @INSTALL_SCRIPT@
18
19 RTL=@TOP_OBJDIR@/tests/rpctestlib
20 RX=@TOP_OBJDIR@/src/rx
21 VICED=@TOP_OBJDIR@/src/viced
22 UTIL=@TOP_OBJDIR@/src/util
23 FSINT=@TOP_OBJDIR@/src/fsint
24 MCAS=@TOP_OBJDIR@/src/mcas
25 OSI=@TOP_OBJDIR@/src/osi
26
27 MODULE_CFLAGS=-DNINTERFACE -DRXDEBUG -DFSSYNC_BUILD_SERVER \
28               -DSALVSYNC_BUILD_CLIENT -I${RX} -I${MCAS} ${OSI_XCFLAGS} \
29               ${MCAS_CFLAGS} -DSUBSYS_LOG_MACRO=RTLLog
30
31 headers= ${RTL}/rpc_test_procs.h
32
33 RTLOBJS= rpc_test_procs.o rpc_test_cb_procs.o
34
35 FSINTOBJS= afsaux.o afscbint.ss.o afsint.cs.o afscbint.xdr.o \
36         afsint.xdr.o
37
38 RXOBJS = rx_pthread.o
39
40 LIBOBJS= ${RTLOBJS} ${FSINTOBJS} ${RXOBJS}
41
42 LIBS=${TOP_LIBDIR}/libafsauthent.a ${TOP_LIBDIR}/libafsrpc.a ${TOP_LIBDIR}/util.a
43
44 all: xmpl_driver
45
46 CFLAGS_rx_pthread.o = -DDPF_FSLOG
47
48 rx_pthread.o: ${RX}/rx_pthread.c
49
50 rpc_test_main.o: ${RTL}/rpc_test_main.c ${headers}
51 rpc_test_procs.o: ${RTL}/rpc_test_procs.c ${headers}
52 rpc_test_cb_procs.o: ${RTL}/rpc_test_cb_procs.c ${headers}
53
54 CFLAGS_afsaux.o = -I{FSINT}
55 afsaux.o: ${FSINT}/afsaux.c
56 afscbint.ss.o: ${FSINT}/afscbint.ss.c
57 afsint.cs.o: ${FSINT}/afsint.cs.c
58 afsint.ss.o: ${FSINT}/afsint.ss.c
59 afsint.xdr.o: ${FSINT}/afsint.xdr.c
60 afscbint.xdr.o: ${FSINT}/afscbint.xdr.c
61
62 xmpl_driver: librpc_test_lib.a rpc_test_main.o ${LIBS}
63         $(AFS_LDRULE) rpc_test_main.o librpc_test_lib.a \
64                 ${LIBS} ${MT_LIBS} ${XLIBS}
65
66 librpc_test_lib.a: ${LIBOBJS}
67         $(RM) -f $@
68         $(AR) crv $@ ${LIBOBJS}
69         $(RANLIB) $@
70
71 install:
72
73 dest:
74
75 clean:
76         $(RM) -f *.o *.a *.gch xmpl_driver core
77
78 include @TOP_OBJDIR@/src/config/Makefile.version