1# 2# Copyright (c) 1989 Regents of the University of California. 3# All rights reserved. The Berkeley software License Agreement 4# specifies the terms and conditions for redistribution. 5# 6# @(#)Makefile 1.5 (Berkeley) 11/05/92 7# 8V1SRCS= cover.t A.t B.t C.t D.t E.t F.t G.t H.t I.t J.t 9V2SRCS= V2A.t V2B.t 10MACROS= -ms 11TYPE=psc 12PS=ps 13PRINTER=lz 14TBL= dtbl -P${TYPE} 15TROFF= ditroff -T${TYPE} 16NROFF= nroff 17NTBL= tbl 18 19all: V1.${PS} V2.${PS} 20 21V1.${PS}: ${V1SRCS} 22 ${TROFF} ${PAGES} ${MACROS} -t ${V1SRCS} | psdit >$@ 23 24V2.${PS}: ${V2SRCS} 25 ${TBL} ${V2SRCS} | ${TROFF} ${PAGES} ${MACROS} -t | psdit >$@ 26 27print: V1.${PS} V2.${PS} 28 lpr -P${PRINTER} V1.ps V2.ps 29 30nroff.out: ${V1SRCS} ${V2SRCS} 31 ${NTBL} ${V1SRCS} ${V2SRCS} | ${NROFF} ${PAGES} ${MACROS} >$@ 32 33clean: 34 rm -f *.spell errs Errs make.out V1.${PS} V2.${PS} 35 36spell: ${V1SRCS} ${V2SRCS} 37 @for i in ${V1SRCS} ${V2SRCS}; do \ 38 echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \ 39 done 40