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 LDIRS
= -L..
-L
${TOP_LIBDIR}
14 LIBS
= ${TOP_LIBDIR}/libcmd.a ..
/librx.a
${TOP_LIBDIR}/liblwp.a \
15 ${TOP_LIBDIR}/util.a
${TOP_LIBDIR}/libsys.a
${XLIBS}
17 MODULE_CFLAGS
=-DRXDEBUG
19 RXTESTOBJS
= testclient.o testserver.o kstest.o kctest.o
21 BASICINCLS
= ..
/rx_clock.h ..
/rx_queue.h ..
/rx_event.h
23 LINK
= $(AFS_LDRULE
) $@.o
${LIBS}
24 MT_LINK
= $(CC
) $(MT_CFLAGS
) $(COMMON_CFLAGS
) $(AFS_LDFLAGS
) -o
$@ \
25 $@.o
$(TOP_LIBDIR
)/libafsrpc.a
$(TOP_LIBDIR
)/libopr.a \
26 $(LIB_hcrypto
) $(LIB_roken
) \
29 TESTS
= testclient testserver kstest kctest testqueue tableGen generator
31 TH_TESTS
= th_testserver th_testclient
38 th_test th_tests
: ${TH_TESTS}
40 testclient
: ..
/librx.a testclient.o
43 testserver
: ..
/librx.a testserver.o
46 kstest
: ..
/librx.a kstest.o
49 kctest
: ..
/librx.a kctest.o
52 rxperf
: rxperf.o ..
/librx.a
55 # th_ versions only have link lines for Solaris now.
56 th_testclient
: th_testclient.o
$(TOP_LIBDIR
)/libafsrpc.a
59 th_testclient.o
: testclient.c
60 $(MT_CC
) $(COMMON_CFLAGS
) $(MT_CFLAGS
) -c
-o th_testclient.o \
61 ${srcdir}/testclient.c
63 th_testserver
: th_testserver.o
$(TOP_LIBDIR
)/libafsrpc.a
66 th_testserver.o
: testserver.c
67 $(MT_CC
) $(COMMON_CFLAGS
) $(MT_CFLAGS
) -c
-o th_testserver.o \
68 ${srcdir}/testserver.c
70 th_rxperf
: th_rxperf.o
${TOP_LIBDIR}/libafsrpc.a
${TOP_LIBDIR}/libopr.a
74 $(MT_CC
) $(COMMON_CFLAGS
) $(MT_CFLAGS
) -c
$(srcdir)/rxperf.c \
77 testqueue
: ..
/librx.a testqueue.o
80 ${RXTESTOBJS}: ${BASICINCLS} ..
/rx.h
83 $(RM
) -f
*.o
*.a
${TESTS} ${TH_TESTS} core