# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

srcdir=.
include /home/afsbuild/test/sgi_65/sgi_65/src/config/Makefile.config


SRCDIR=/usr/andy/
LIBRX=${SRCDIR}/lib/librx.a
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
CFLAGS=${DBG} -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS} ${ARCHFLAGS}

all: bulk_client bulk_server

bulk_client: bulk_client.o bulk_io.o ${LIBS} bulk.cs.o
	${CC} ${CFLAGS} -o bulk_client bulk_client.o bulk_io.o bulk.cs.o ${LIBS}

bulk_server: bulk_server.o bulk_io.o bulk.ss.o ${LIBS}
	${CC} ${CFLAGS} -o bulk_server bulk_server.o bulk_io.o bulk.ss.o ${LIBS}

bulk_client.o bulk_server.o bulk_io.o:	bulk.h

bulk.cs.c bulk.ss.c bulk.er.c bulk.h: bulk.xg
	rxgen bulk.xg
