1984-07-27 10:28:48 +00:00
|
|
|
# $Header$
|
|
|
|
|
1984-06-29 11:21:50 +00:00
|
|
|
SUF=pr
|
|
|
|
PRINT=cat
|
|
|
|
NROFF=nroff
|
1986-02-28 18:02:00 +00:00
|
|
|
TBL=tbl
|
|
|
|
EQN=eqn
|
1987-03-12 23:46:19 +00:00
|
|
|
PIC=pic
|
|
|
|
REFER=refer
|
1984-06-29 14:50:23 +00:00
|
|
|
MS=-ms
|
1988-05-04 10:14:48 +00:00
|
|
|
TARGET=-Tlp
|
1984-06-29 11:21:50 +00:00
|
|
|
|
1986-02-28 18:02:00 +00:00
|
|
|
RESFILES= \
|
1987-03-12 23:46:19 +00:00
|
|
|
toolkit.$(SUF) install.$(SUF) em.$(SUF) ack.$(SUF) v7bugs.$(SUF) \
|
1986-02-28 18:02:00 +00:00
|
|
|
peep.$(SUF) cg.$(SUF) ncg.$(SUF) regadd.$(SUF) LLgen.$(SUF) \
|
1987-03-12 23:46:19 +00:00
|
|
|
basic.$(SUF) crefman.$(SUF) pcref.$(SUF) val.$(SUF) \
|
|
|
|
6500.$(SUF) i80.$(SUF) z80.$(SUF) top.$(SUF) ego.$(SUF) \
|
1988-04-11 13:03:14 +00:00
|
|
|
m68020.$(SUF) occam.$(SUF) m2ref.$(SUF)
|
1986-02-28 18:02:00 +00:00
|
|
|
|
1987-03-12 23:46:19 +00:00
|
|
|
.SUFFIXES: .doc .$(SUF)
|
|
|
|
|
|
|
|
.doc.$(SUF):
|
1988-05-04 10:14:48 +00:00
|
|
|
$(NROFF) $(MS) $(TARGET) $< > $@
|
1987-03-12 23:46:19 +00:00
|
|
|
|
|
|
|
crefman.$(SUF): crefman.doc
|
1988-05-04 10:14:48 +00:00
|
|
|
$(EQN) $(TARGET) crefman.doc | $(NROFF) $(MS) $(TARGET) >$@
|
1987-03-12 23:46:19 +00:00
|
|
|
v7bugs.$(SUF): v7bugs.doc
|
1988-05-04 10:14:48 +00:00
|
|
|
$(NROFF) $(TARGET) v7bugs.doc >$@
|
1987-03-12 23:46:19 +00:00
|
|
|
install.$(SUF): install.doc
|
1988-05-04 10:14:49 +00:00
|
|
|
$(TBL) install.doc | $(NROFF) $(MS) $(TARGET) >$@
|
1987-03-12 23:46:19 +00:00
|
|
|
pcref.$(SUF): pcref.doc
|
1988-05-04 10:14:49 +00:00
|
|
|
$(TBL) pcref.doc | $(NROFF) $(TARGET) >$@
|
1987-03-12 23:46:19 +00:00
|
|
|
val.$(SUF): val.doc
|
1988-05-04 10:14:48 +00:00
|
|
|
$(NROFF) $(TARGET) val.doc >$@
|
1984-12-17 11:38:36 +00:00
|
|
|
6500.$(SUF): 6500.doc
|
1988-05-04 10:14:49 +00:00
|
|
|
$(TBL) 6500.doc | $(NROFF) $(MS) $(TARGET) >$@
|
1988-04-11 13:03:14 +00:00
|
|
|
ncg.$(SUF): ncg.doc
|
1988-05-04 10:14:49 +00:00
|
|
|
$(TBL) ncg.doc | $(NROFF) $(MS) $(TARGET) >$@
|
1987-03-12 23:46:19 +00:00
|
|
|
LLgen.doc: LLgen.X
|
|
|
|
LLgen.X:
|
1988-05-04 10:14:48 +00:00
|
|
|
cd LLgen; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
|
1987-03-12 23:46:19 +00:00
|
|
|
top.doc: top.X
|
|
|
|
top.X:
|
1988-05-04 10:14:48 +00:00
|
|
|
cd top; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
|
1987-03-12 23:46:19 +00:00
|
|
|
occam.doc: occam.X
|
|
|
|
occam.X:
|
1988-05-04 10:14:48 +00:00
|
|
|
cd occam; make "PIC="$(PIC) "TBL="$(TBL) "EQN="$(EQN) "TARGET="$(TARGET)
|
1987-03-12 23:46:19 +00:00
|
|
|
ego.doc: ego.X
|
|
|
|
ego.X:
|
1988-05-04 10:14:48 +00:00
|
|
|
cd ego; make "REFER="$(REFER) "TARGET="$(TARGET)
|
1987-03-12 23:46:19 +00:00
|
|
|
em.$(SUF): em.X
|
|
|
|
em.X:
|
1988-05-04 10:14:48 +00:00
|
|
|
cd em; make "TBL="$(TBL) "NROFF="$(NROFF) "SUF="$(SUF) "TARGET="$(TARGET)
|
1984-06-29 11:21:50 +00:00
|
|
|
|
|
|
|
install cmp:
|
|
|
|
|
1985-01-25 11:28:55 +00:00
|
|
|
distr: install.doc
|
1985-12-04 16:08:21 +00:00
|
|
|
tbl install.doc | nroff -Tlp $(MS) >install.pr
|
1986-02-28 18:02:00 +00:00
|
|
|
|
1984-06-29 11:21:50 +00:00
|
|
|
pr:
|
1987-03-12 23:46:19 +00:00
|
|
|
@make "SUF="$(SUF) "NROFF="$(NROFF) "EQN="$(EQN) "TBL="$(TBL) \
|
1988-05-04 10:14:48 +00:00
|
|
|
"PIC="$(PIC) "MS="$(MS) "TARGET="$(TARGET) \
|
1986-02-28 18:02:00 +00:00
|
|
|
$(RESFILES) >make.pr.out 2>&1
|
1984-06-29 11:21:50 +00:00
|
|
|
@$(PRINT) $(RESFILES)
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr | opr
|
|
|
|
|
|
|
|
clean:
|
1987-03-25 22:48:25 +00:00
|
|
|
-rm -f *.old $(RESFILES) *.t *.out LLgen.doc top.doc \
|
|
|
|
occam.doc ego.doc
|