fa56eb7c4d7f8c0d641ef142afd948e25124db43
[openafs.git] / src / rx / multi.example / Makefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 SRCDIR=/usr/andy/
9 LIBRX=${SRCDIR}lib/librx.a
10 DESTDIR=/usr/andy/
11 INSTALL=${SRCDIR}bin/install
12 LIBS=${LIBRX} ${SRCDIR}lib/liblwp.a
13 CFLAGS=-g -I.. -I. -I${SRCDIR}include -DDEBUG ${XCFLAGS}
14
15 all: sample_client sample_server
16
17 sample_client: sample_client.o ${LIBS} sample.cs.o
18         ${CC} ${CFLAGS} -o sample_client sample_client.o sample.cs.o ${LIBS}
19
20 sample_server: sample_server.o sample.ss.o ${LIBS}
21         ${CC} ${CFLAGS} -o sample_server sample_server.o sample.ss.o ${LIBS}
22
23 sample_client.o:        sample.h
24 sample_server.o:        sample.h
25 sample.cs.c sample.ss.c sample.er.c sample.h: sample.xg
26         rxgen sample.xg