-#
-# Copyright (c) 1980 Regents of the University of California.
-# All rights reserved. The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-# @(#)Makefile 4.1 (Berkeley) %G%
-#
-# This makefile assumes that csh is running the figures
-#
-DEV = -x
-SEC = ?
-FIGURES=\
- firstout firstobjout firstobjout2\
- bigger2.p bigger3.p bigout1 bigger6.p bigout2 bigout3 bigout4\
- primeout1 primeout2\
- digitsout synerrout synerr2out\
- mismout clashout sinout1 sinout2\
- exprout typequout primeout3\
- katout copydataout kat2out katscript xxxxqqqout xxxxqqqout2\
- primes primes-d\
- comments1.p commentsout
-puman: ${FIGURES}
- soelim puman${SEC}.n | tbl | csh -cf '/usr/ucb/vtroff -t ${DEV} >lpr'
- vpr -t lpr
+# @(#)Makefile 8.2 (Berkeley) %G%
+
+DIR= psd/07.pascal
+SRCS= puman0.n puman1.n puman2.n puman3.n puman4.n puman5.n pumanA.n
+FIGURES=firstout firstobjout firstobjout2 bigger2.p bigger3.p bigout1 \
+ bigger6.p bigout2 bigout3 bigout4 primeout1 primeout2 digitsout \
+ synerrout synerr2out mismout clashout sinout1 sinout2 exprout \
+ typequout primeout3 katout copydataout kat2out katscript \
+ xxxxqqqout xxxxqqqout2 primes primes-d comments1.p commentsout
+CLEANFILES+=csfix ${FIGURES}
+MACROS= -ms
+PXP=/usr/src/usr.bin/pascal/pxp/obj/pxp
+PI=/usr/src/usr.bin/pascal/pi/obj/pi
+PX=/usr/src/usr.bin/pascal/px/obj/px
+PIX=/usr/src/usr.bin/pascal/pix/obj/pix
+
+paper.ps: ${FIGURES} ${SRCS}
+ ${SOELIM} ${SRCS} | ${TBL} | ${ROFF} > ${.TARGET}
+
+.include <bsd.doc.mk>
+