darwin-x86-and-leopard-20060309
[openafs.git] / src / rx / simple.example / Makefile.in
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=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10
11
12 SRCDIR=/usr/andy/
13 LIBRX=${SRCDIR}/lib/librx.a
14 DESTDIR=/usr/andy/
15 INSTALL=${SRCDIR}/bin/install
16 LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
17 CFLAGS=${DBG} -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS} ${ARCHFLAGS}
18
19 all: sample_client sample_server
20
21 sample_client: sample_client.o ${LIBS} sample.cs.o
22         ${CC} ${CFLAGS} -o sample_client sample_client.o sample.cs.o ${LIBS}
23
24 sample_server: sample_server.o sample.ss.o ${LIBS}
25         ${CC} ${CFLAGS} -o sample_server sample_server.o sample.ss.o ${LIBS}
26
27 sample_client.o:        sample.h
28 sample_server.o:        sample.h
29 sample.cs.c sample.ss.c sample.er.c sample.h: sample.xg
30         rxgen sample.xg