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
8 # Portions Copyright (c) 2003 Apple Computer, Inc.
11 include @TOP_OBJDIR@
/src
/config
/Makefile.config
13 # impermanent build glue
14 #@ENABLE_XCB@include @TOP_OBJDIR@/src/mcas/Makefile.osi
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
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 \
47 LIBOBJS
= ${RTLOBJS} ${FSINTOBJS} ${RXOBJS}
49 LIBS
=${TOP_LIBDIR}/libafsauthent.a
${TOP_LIBDIR}/libafsrpc.a
${TOP_LIBDIR}/util.a
53 rx_pthread.o
: ${RX}/rx_pthread.c
56 rpc_test_main.o
: ${RTL}/rpc_test_main.c
${headers}
59 rpc_test_procs.o
: ${RTL}/rpc_test_procs.c
${headers}
62 rpc_test_cb_procs.o
: ${RTL}/rpc_test_cb_procs.c
${headers}
65 afsaux.o
: ${FSINT}/afsaux.c
68 afscbint.ss.o
: ${FSINT}/afscbint.ss.c
71 afsint.cs.o
: ${FSINT}/afsint.cs.c
74 afsint.ss.o
: ${FSINT}/afsint.ss.c
77 afsint.xdr.o
: ${FSINT}/afsint.xdr.c
80 afscbint.xdr.o
: ${FSINT}/afscbint.xdr.c
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}
89 $(AR
) crv
$@
${LIBOBJS}
97 $(RM
) -f
*.o
*.a
*.gch xmpl_driver core
99 include @TOP_OBJDIR@
/src
/config
/Makefile.version