1*33511Smckusick#
2*33511Smckusick# Copyright (c) 1988 Regents of the University of California.
3*33511Smckusick# All rights reserved.  The Berkeley software License Agreement
4*33511Smckusick# specifies the terms and conditions for redistribution.
5*33511Smckusick#
6*33511Smckusick#	@(#)Makefile	1.1 (Berkeley) 02/20/88
7*33511Smckusick#
8*33511SmckusickSRCS=	kernmalloc.ms
9*33511SmckusickMACROS=	-ms
10*33511SmckusickPRINTER=Plz
11*33511SmckusickEQN=	deqn -${PRINTER}
12*33511SmckusickTROFF=	ditroff -${PRINTER}
13*33511Smckusick
14*33511Smckusickpaper: ${SRCS}
15*33511Smckusick	${EQN} ${SRCS} | ${TROFF} ${MACROS}
16*33511Smckusick
17*33511Smckusickclean:
18*33511Smckusick	rm -f paper.[PT]* *.spell errs Errs make.out
19*33511Smckusick
20*33511Smckusickspell:	${SRCS}
21*33511Smckusick	@for i in ${SRCS}; do \
22*33511Smckusick		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
23*33511Smckusick	done
24