# 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 6.1 (Berkeley) %G%
# This makefile assumes that csh is running the figures
TROFF
= ditroff
-${PRINTER}
firstout firstobjout firstobjout2\
bigger2.p bigger3.p bigout1 bigger6.p bigout2 bigout3 bigout4\
digitsout synerrout synerr2out\
mismout clashout sinout1 sinout2\
exprout typequout primeout3\
katout copydataout kat2out katscript xxxxqqqout xxxxqqqout2\
lpr.
${PRINTER}: ${FIGURES}
soelim puman
${SEC}.n |
${TBL} | csh
-cf
'${TROFF} -t >lpr.${PRINTER}'
soelim puman
${SEC}.n |
${TBL} |
${TROFF}
-csh
-cf
'pix -g first.p |& expand | csfix >firstout'
-csh
-cf
'pi -g first.p >& firstobjout ; px >& firstobjout'
-csh
-cf
'pi -g -p first.p >& firstobjout2 ; px >& firstobjout2'
-expand bigger.p
>bigger2.p
bigger3.p
: bigger2.p csfix
cat
-n bigger2.p | expand | csfix
-d
>bigger3.p
-csh
-cf
'pix -g bigger.p |& expand | csfix >bigout1'
bigger6.p
: bigger5.p csfix
cat
-n bigger5.p | expand | csfix
-d
>bigger6.p
-csh
-cf
'pix -g bigger4.p |& expand >bigout2'
-csh
-cf
'pix -g bigger7.p |& expand >bigout3'
-csh
-cf
'(pix -g bigger7.p >/dev/null) |& expand > bigout4'
primeout1
: primes.p csfix
-csh
-cf
'pix -g -l -z primes.p |& expand | csfix - >primeout1'
primeout2
: primes.p csfix
-csh
-cf
'pxp -z primes.p |& expand | csfix - >primeout2'
digitsout
: digits.p csfix
-csh
-cf
'pi -g digits.p |& expand | csfix >digitsout'
synerrout
: synerr.p csfix
-csh
-cf
'pi -g -l synerr.p |& expand | csfix >synerrout'
synerr2out
: synerr2.p csfix
-csh
-cf
'pix -g -l synerr2.p |& expand | csfix >synerr2out'
-csh
-cf
'pi -g -l mism.p |& expand | csfix >mismout'
-csh
-cf
'pi -g clash.p |& expand >clashout'
-csh
-cf
'pi -g sin1.p |& expand >sinout1'
-csh
-cf
'pi -g sin2.p |& expand >sinout2'
-pi
-g
-l expr.p | expand
>exprout
-pi
-g typequ.p
>typequout
primeout3
: primes2.p csfix
-csh
-cf
'pix -g primes2.p |& expand | csfix -d >primeout3'
katout
: kat.p csfix primes
-csh
-cf
'pix -g -l kat.p <primes |& expand | csfix -d >katout'
copydataout
: copydata.p csfix
-csh
-cf
'pix -g -l copydata.p |& expand | csfix -d >copydataout'
-csh
-cf
'pi -g kat2.p ; obj primes |& csfix -d >kat2out'
-csh
-cf
'obj xxxxqqq >& xxxxqqqout'
-csh
-cf
'obj xxxxqqq >& xxxxqqqout2'
-pix
-g
-p primes.p
> primes
csfix
-d
<primes
>primes-d
-csh
-cf
'pi -g kat2.p ; obj katin >& katscript'
-ed
- katscript
< fixkatscript
-expand comments.p
>comments1.p
-csh
-cf
'pxp comments.p |& expand >commentsout'
-ed
- commentsout
< fixcomments
-rm csfix pmon.out obj lpr.
${PRINTER} ${FIGURES} errs Errs