# 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=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.lwp



SRCDIR=/usr/andy/
LIBRX=${SRCDIR}/lib/librx.a
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a

MODULE_CFLAGS = -DDEBUG

all: bulk_client bulk_server

bulk_client: bulk_client.o bulk_io.o ${LIBS} bulk.cs.o
	$(AFS_LDRULE) bulk_client.o bulk_io.o bulk.cs.o ${LIBS}

bulk_server: bulk_server.o bulk_io.o bulk.ss.o ${LIBS}
	$(AFS_LDRULE) 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
