Added use of -T option

This commit is contained in:
ceriel 1988-05-04 10:14:48 +00:00
parent b9943e0ca2
commit d19d409038
5 changed files with 23 additions and 18 deletions

View file

@ -3,6 +3,7 @@
EQN=eqn
REFER=refer
TBL=tbl
TARGET=-Tlp
../LLgen.doc: LLgen.n LLgen.refs
$(REFER) -sA+T -p LLgen.refs LLgen.n | $(EQN) | $(TBL) > $@
$(REFER) -sA+T -p LLgen.refs LLgen.n | $(EQN) $(TARGET) | $(TBL) > $@

View file

@ -8,6 +8,7 @@ EQN=eqn
PIC=pic
REFER=refer
MS=-ms
TARGET=-Tlp
RESFILES= \
toolkit.$(SUF) install.$(SUF) em.$(SUF) ack.$(SUF) v7bugs.$(SUF) \
@ -19,37 +20,37 @@ RESFILES= \
.SUFFIXES: .doc .$(SUF)
.doc.$(SUF):
$(NROFF) $(MS) $< > $@
$(NROFF) $(MS) $(TARGET) $< > $@
crefman.$(SUF): crefman.doc
$(EQN) crefman.doc | $(NROFF) $(MS) >$@
$(EQN) $(TARGET) crefman.doc | $(NROFF) $(MS) $(TARGET) >$@
v7bugs.$(SUF): v7bugs.doc
$(NROFF) v7bugs.doc >$@
$(NROFF) $(TARGET) v7bugs.doc >$@
install.$(SUF): install.doc
$(TBL) install.doc | $(NROFF) $(MS) >$@
$(TBL) $(TARGET) install.doc | $(NROFF) $(MS) $(TARGET) >$@
pcref.$(SUF): pcref.doc
$(TBL) pcref.doc | $(NROFF) >$@
$(TBL) $(TARGET) pcref.doc | $(NROFF) $(TARGET) >$@
val.$(SUF): val.doc
$(NROFF) val.doc >$@
$(NROFF) $(TARGET) val.doc >$@
6500.$(SUF): 6500.doc
$(TBL) 6500.doc | $(NROFF) $(MS) >$@
$(TBL) $(TARGET) 6500.doc | $(NROFF) $(MS) $(TARGET) >$@
ncg.$(SUF): ncg.doc
$(TBL) ncg.doc | $(NROFF) $(MS) >$@
$(TBL) $(TARGET) ncg.doc | $(NROFF) $(MS) $(TARGET) >$@
LLgen.doc: LLgen.X
LLgen.X:
cd LLgen; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER)
cd LLgen; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
top.doc: top.X
top.X:
cd top; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER)
cd top; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
occam.doc: occam.X
occam.X:
cd occam; make "PIC="$(PIC) "TBL="$(TBL) "EQN="$(EQN)
cd occam; make "PIC="$(PIC) "TBL="$(TBL) "EQN="$(EQN) "TARGET="$(TARGET)
ego.doc: ego.X
ego.X:
cd ego; make "REFER="$(REFER)
cd ego; make "REFER="$(REFER) "TARGET="$(TARGET)
em.$(SUF): em.X
em.X:
cd em; make "TBL="$(TBL) "NROFF="$(NROFF) "SUF="$(SUF)
cd em; make "TBL="$(TBL) "NROFF="$(NROFF) "SUF="$(SUF) "TARGET="$(TARGET)
install cmp:
@ -58,7 +59,7 @@ distr: install.doc
pr:
@make "SUF="$(SUF) "NROFF="$(NROFF) "EQN="$(EQN) "TBL="$(TBL) \
"PIC="$(PIC) "MS="$(MS) \
"PIC="$(PIC) "MS="$(MS) "TARGET="$(TARGET) \
$(RESFILES) >make.pr.out 2>&1
@$(PRINT) $(RESFILES)

View file

@ -3,6 +3,7 @@ HOME=../..
TBL=tbl
NROFF=nroff
SUF=pr
TARGET=-Tlp
head: ../em.$(SUF)
@ -13,7 +14,7 @@ FILES = macr.nr title.nr intro.nr mem.nr ispace.nr dspace.nr mapping.nr \
IOP=$(HOME)/etc/ip_spec.t# # to construct itables from
../em.$(SUF): $(FILES) itables dispatdummy em.i Makefile
$(TBL) $(FILES) | $(NROFF) > ../em.$(SUF)
$(TBL) $(FILES) | $(NROFF) $(TARGET) > ../em.$(SUF)
app.codes.pr: app.codes.nr itables dispatdummy

View file

@ -4,8 +4,9 @@ FILES= p0 p1 p2 p3 p4 p5 p6 p7 p8 p9
PIC=pic
EQN=eqn
TBL=tbl
TARGET=-Tlp
../occam.doc: p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 channel.h.t channel.c.t
cat $(FILES) | $(PIC) | $(TBL) | $(EQN) > $@
cat $(FILES) | $(PIC) $(TARGET) | $(TBL) | $(EQN) $(TARGET) > $@
channel.h.t: $(EMHOME)/h/ocm_chan.h
ctot <$(EMHOME)/h/ocm_chan.h >channel.h.t

View file

@ -2,6 +2,7 @@
REFER=refer
TBL=tbl
TARGET=-Tlp
../top.doc: top.n refs.top
$(REFER) -sA+T -l4,2 -p refs.top top.n | $(TBL) > $@
$(REFER) -sA+T -l4,2 -p refs.top top.n | $(TBL) $(TARGET) > $@