Pull in patch that properly includes stdint.h
[pkg-k5-afs_openafs.git] / tests / rpctestlib / Makefile.in
blob934825e0b7a5f4e9ed9ac7e4603436903f8e1148
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
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
8 # Portions Copyright (c) 2003 Apple Computer, Inc.
10 srcdir=@srcdir@
11 include @TOP_OBJDIR@/src/config/Makefile.config
13 # impermanent build glue
14 #@ENABLE_XCB@include @TOP_OBJDIR@/src/mcas/Makefile.osi
16 INSTALL = @INSTALL@
17 INSTALL_DATA = @INSTALL_DATA@
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
19 INSTALL_SCRIPT = @INSTALL_SCRIPT@
21 RTL=@TOP_OBJDIR@/tests/rpctestlib
22 RX=@TOP_OBJDIR@/src/rx
23 VICED=@TOP_OBJDIR@/src/viced
24 UTIL=@TOP_OBJDIR@/src/util
25 FSINT=@TOP_OBJDIR@/src/fsint
26 MCAS=@TOP_OBJDIR@/src/mcas
27 OSI=@TOP_OBJDIR@/src/osi
29 CC=${MT_CC}
30 CFLAGS=${COMMON_CFLAGS} -DNINTERFACE ${MT_CFLAGS} -DRXDEBUG \
31 -DFSSYNC_BUILD_SERVER -DSALVSYNC_BUILD_CLIENT \
32 -I${TOP_SRCDIR} -I${RX} -I${MCAS} ${OSI_XCFLAGS} ${MCAS_CFLAGS} \
33 -DSUBSYS_LOG_MACRO=RTLLog
35 CCRULE=${CC} ${CFLAGS} -c $?
36 CCRULE2=${CC} ${CFLAGS} -c $? -o $@
38 headers= ${RTL}/rpc_test_procs.h
40 RTLOBJS= rpc_test_procs.o rpc_test_cb_procs.o
42 FSINTOBJS= afsaux.o afscbint.ss.o afsint.cs.o afscbint.xdr.o \
43 afsint.xdr.o
45 RXOBJS = rx_pthread.o
47 LIBOBJS= ${RTLOBJS} ${FSINTOBJS} ${RXOBJS}
49 LIBS=${TOP_LIBDIR}/libafsauthent.a ${TOP_LIBDIR}/libafsrpc.a ${TOP_LIBDIR}/util.a
51 all: xmpl_driver
53 rx_pthread.o: ${RX}/rx_pthread.c
54 ${CCRULE} -DDPF_FSLOG
56 rpc_test_main.o: ${RTL}/rpc_test_main.c ${headers}
57 ${CCRULE}
59 rpc_test_procs.o: ${RTL}/rpc_test_procs.c ${headers}
60 ${CCRULE}
62 rpc_test_cb_procs.o: ${RTL}/rpc_test_cb_procs.c ${headers}
63 ${CCRULE}
65 afsaux.o: ${FSINT}/afsaux.c
66 ${CCRULE} -I{FSINT}
68 afscbint.ss.o: ${FSINT}/afscbint.ss.c
69 ${CCRULE}
71 afsint.cs.o: ${FSINT}/afsint.cs.c
72 ${CCRULE}
74 afsint.ss.o: ${FSINT}/afsint.ss.c
75 ${CCRULE}
77 afsint.xdr.o: ${FSINT}/afsint.xdr.c
78 ${CCRULE}
80 afscbint.xdr.o: ${FSINT}/afscbint.xdr.c
81 ${CCRULE}
83 xmpl_driver: librpc_test_lib.a rpc_test_main.o ${LIBS}
84 ${CC} ${LDFLAGS} -o $@ rpc_test_main.o \
85 librpc_test_lib.a ${LIBS} ${MT_LIBS} ${XLIBS}
87 librpc_test_lib.a: ${LIBOBJS}
88 $(RM) -f $@
89 $(AR) crv $@ ${LIBOBJS}
90 $(RANLIB) $@
92 install:
94 dest:
96 clean:
97 $(RM) -f *.o *.a *.gch xmpl_driver core
99 include @TOP_OBJDIR@/src/config/Makefile.version