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
11 # This set of definitions tests the lwp RX library
12 # include @TOP_OBJDIR@/src/config/Makefile.lwp
13 # LIBS=${TOP_LIBDIR}/librx.a ${TOP_LIBDIR}/liblwp.a
15 # This set of definitions tests the pthread one
16 include @TOP_OBJDIR@
/src
/config
/Makefile.pthread
17 LIBS
=$(TOP_LIBDIR
)/libafsauthent.a
$(TOP_LIBDIR
)/libafsrpc.a \
20 all: sample_client sample_server
22 sample_client
: sample_client.o
${LIBS} sample.cs.o
23 $(AFS_LDRULE
) sample_client.o sample.cs.o
${LIBS}
25 sample_server
: sample_server.o sample.ss.o
${LIBS}
26 $(AFS_LDRULE
) sample_server.o sample.ss.o
${LIBS}
28 sample_client.o
: sample.h
29 sample_server.o
: sample.h
30 sample.cs.c
: sample.xg
31 $(RXGEN
) -A
-x
-C
-o
$@ sample.xg
32 sample.ss.c
: sample.xg
33 $(RXGEN
) -A
-x
-S
-o
$@ sample.xg
35 $(RXGEN
) -A
-x
-h
-o
$@ sample.xg
38 rm -f
*.o sample.cs.c sample.ss.c sample_client sample_server