From 588b00f7714648b50b0c4dbc7644022527ed1f63 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Thu, 23 Sep 2010 10:42:25 +0100 Subject: [PATCH] rxperf: Add build rules to build a pthreaded version The pthreaded version of rxperf is much more interesting than the LWP one now, so add some rules so that Unix can play with it too. Reviewed-on: http://gerrit.openafs.org/2841 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit c21c90515ac37862a6002441790a721489fa89a8) Change-Id: Ie8c26191e6d7603dcd6a99ef9938efb33dea1e33 Reviewed-on: http://gerrit.openafs.org/2920 --- src/rx/test/Makefile.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/rx/test/Makefile.in b/src/rx/test/Makefile.in index aa8d46c0b..562d98b84 100644 --- a/src/rx/test/Makefile.in +++ b/src/rx/test/Makefile.in @@ -71,6 +71,14 @@ th_testserver.o: testserver.c ${CC} ${CFLAGS} -DAFS_PTHREAD_ENV -mt -c -o th_testserver.o \ ${srcdir}/testserver.c +th_rxperf: th_rxperf.o ${TOP_LIBDIR}/libafsrpc.a + ${MT_CC} ${MT_CFLAGS} -o th_rxperf th_rxperf.o \ + ${TOP_LIBDIR}/libafsrpc.a ${MT_LIBS} ${XLIBS} + +th_rxperf.o: rxperf.c + ${MT_CC} ${MT_CFLAGS} ${CFLAGS} -c $(srcdir)/rxperf.c \ + -o th_rxperf.o + testqueue: ../librx.a testqueue.o -${LINK} -- 2.39.5