Makefile 825 B

12345678910111213141516171819202122232425262728293031323334
  1. head: doc.pr
  2. NROFF=nroff
  3. TBL=tbl
  4. FILES = macr.nr title.nr intro.nr mem.nr ispace.nr dspace.nr mapping.nr \
  5. types.nr descr.nr env.nr traps.nr mach.nr assem.nr \
  6. app.int.nr app.codes.nr app.exam.nr cont.nr
  7. IOP=../../util/ass/ip_spec.t
  8. doc.pr: $(FILES) itables em.i Makefile
  9. $(TBL) $(FILES) | $(NROFF) >doc.pr
  10. distr: $(FILES) itables em.i
  11. tbl $(FILES) | nroff -Tlp >doc.pr
  12. opr: doc.pr
  13. make pr | opr
  14. pr:
  15. @make "NROFF="$NROFF doc.pr >makepr.out 2>&1
  16. @cat doc.pr
  17. app.t: itables em.i
  18. em.i: int/em.p
  19. @echo Sorry, this copy was edited by hand from int/em.p
  20. itables: $(IOP) ip.awk
  21. awk -f ip.awk $(IOP) | sed 's/-/\\-/g" | $(TBL) >itables
  22. .SUFFIXES : .pr .nr
  23. .nr.pr: ; $(TBL) macr.nr $*.nr | $(NROFF) >$@
  24. cont.t intro.t mem.t ispace.t dspace.t mapping.t succ.t descr.t iotrap.t mach.t assem.t kern.t app.t: macr.nr