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 INSTALL_DATA = @INSTALL_DATA@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15 INSTALL_SCRIPT = @INSTALL_SCRIPT@
19 LIBRX=${SRCDIR}/lib/librx.a
21 INSTALL=${SRCDIR}/bin/install
22 LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
23 CFLAGS=${DBG} -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS} ${ARCHFLAGS}
25 all: sample_client sample_server
27 sample_client: sample_client.o ${LIBS} sample.cs.o
28 $(AFS_LDRULE) sample_client.o sample.cs.o ${LIBS}
30 sample_server: sample_server.o sample.ss.o ${LIBS}
31 $(AFS_LDRULE) sample_server.o sample.ss.o ${LIBS}
33 sample_client.o: sample.h
34 sample_server.o: sample.h
35 sample.cs.c sample.ss.c sample.er.c sample.h: sample.xg