OPRF  = /bin/oprf
QPRF  = /bin/qprf
TPRF  = /bin/tprf
NROFF = /bin/nroff
T     = /usr/lib/term/tab

all:    o.ascii o.trend o.mem o.ptx o.q10 \
	o.q3270 o.qline o.tn  o.coi o.q12

o.ascii:	$(OPRF)	n.ascii
	$(OPRF) n.ascii > o.ascii
o.coi:          $(TPRF) n.coi
	$(TPRF) n.coi   > o.coi
o.mem:          $(TPRF) n.mem
	$(TPRF) n.mem   > o.mem
o.ptx:          $(QPRF) n.ptx
	$(QPRF) n.ptx   > o.ptx
o.q10:          $(QPRF) n.q10
	$(QPRF) -h10 n.q10   > o.q10
o.q12:          $(QPRF) n.q12
	$(QPRF) n.q12   > o.q12
o.q3270:        $(TPRF) n.q3270
	$(TPRF) n.q3270 > o.q3270
o.qline:        $(OPRF) n.qline
	$(OPRF) n.qline > o.qline
o.tn:		$(OPRF)	n.tn
	$(OPRF) n.tn    > o.tn
o.trend:	$(OPRF)	n.trend
	$(OPRF) n.trend > o.trend

n.ascii:        $(NROFF) $(T)ascii Input
	$(NROFF) -Tascii Input > n.ascii
n.coi:          $(NROFF) $(T)coi   Input
	$(NROFF) -Tcoi   Input > n.coi
n.mem:          $(NROFF) $(T)mem   Input
	$(NROFF) -Tmem   Input > n.mem
n.ptx:          $(NROFF) $(T)ptx   Input
	$(NROFF) -Tptx   Input > n.ptx
n.q10:          $(NROFF) $(T)q10   Input
	$(NROFF) -Tq10   Input > n.q10
n.q12:          $(NROFF) $(T)q12   Input
	$(NROFF) -Tq12   Input > n.q12
n.q3270:        $(NROFF) $(T)q3270 Input
	$(NROFF) -Tq3270 Input > n.q3270
n.qline:        $(NROFF) $(T)qline Input
	$(NROFF) -Tqline Input > n.qline
n.tn:           $(NROFF) $(T)tn    Input
	$(NROFF) -Ttn    Input > n.tn
n.trend:        $(NROFF) $(T)trend Input
	$(NROFF) -Ttrend Input > n.trend
