#	BSDI Makefile,v 1.1 1994/12/29 19:58:42 donn Exp

PROG=	ispell
SRCS=   correct.c defmt.c dump.c good.c hash.c ispell.c lookup.c \
	makedent.c term.c tgood.c tree.c xgets.c
CFLAGS+=-I${.CURDIR}/../languages/english
LDADD=	-ltermcap
DPADD=	${LIBTERM}
MAN1=	ispell.0
MLINKS=	ispell.1 buildhash.1 ispell.1 findaffix.1 ispell.1 icombine.1 \
	ispell.1 ijoin.1 ispell.1 munchlist.1 ispell.1 tryaffix.1 

ispell.0: ispell.5.0
CLEANFILES+=ispell.5.0

afterinstall:
	install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ispell.5.0 \
		${DESTDIR}${MANDIR}5/ispell.0

.include <../../Makefile.inc>
.include <bsd.prog.mk>
