# $Header: Makefile,v 1.3 86/07/29 06:36:04 root Exp $
# $Log:	Makefile,v $
# Revision 1.3  86/07/29  06:36:04  root
# add cleanup entry
# 
# Revision 1.2  86/06/29  07:12:54  jqj
# removed ns_ntoa(), since it's not a libc routine.
# 
# Revision 1.1  86/06/27  13:14:34  jqj
# Initial revision
# 
#
#CFLAGS=	-g -DDEBUG
CFLAGS= -O
LDLIB=${DESTDIR}/usr/local/lib
CRLIB=${DESTDIR}/usr/new/lib/xnscourier
RCSREV=
RCSNAME=current
BINDIR=${DESTDIR}/usr/new
SRCS= xnsbfs.c bfsgetdoms.c
OBJS= xnsbfs.o bfsgetdoms.o

xnsbfs: ${OBJS}
	${CC} ${LDFLAGS} -o xnsbfs ${OBJS} -lcourier

xnsbfs.o: pex.h

install: xnsbfs
	install -s -c xnsbfs ${BINDIR}

clean:
	rm -f xnsbfs *.o *.BAK
	rm -f xnsbfs *.o

rcs:
	rcs -l RCS/*
	cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
