Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $Header$
  2. SUF=pr
  3. PRINT=cat
  4. RESFILES=cref.$(SUF) pcref.$(SUF) val.$(SUF) v7bugs.$(SUF) install.$(SUF)\
  5. ack.$(SUF) cg.$(SUF) regadd.$(SUF) peep.$(SUF) toolkit.$(SUF) LLgen.$(SUF)\
  6. basic.$(SUF) 6500.$(SUF) ncg.$(SUF)
  7. NROFF=nroff
  8. MS=-ms
  9. cref.$(SUF): cref.doc
  10. tbl $? | $(NROFF) >$@
  11. v7bugs.$(SUF): v7bugs.doc
  12. $(NROFF) $(MS) $? >$@
  13. ack.$(SUF): ack.doc
  14. $(NROFF) $(MS) $? >$@
  15. cg.$(SUF): cg.doc
  16. $(NROFF) $(MS) $? >$@
  17. ncg.$(SUF): ncg.doc
  18. $(NROFF) $(MS) $? >$@
  19. regadd.$(SUF): regadd.doc
  20. $(NROFF) $(MS) $? >$@
  21. install.$(SUF): install.doc
  22. $(NROFF) $(MS) $? >$@
  23. pcref.$(SUF): pcref.doc
  24. $(NROFF) $? >$@
  25. basic.$(SUF): basic.doc
  26. $(NROFF) $(MS) $? >$@
  27. peep.$(SUF): peep.doc
  28. $(NROFF) $(MS) $? >$@
  29. val.$(SUF): val.doc
  30. $(NROFF) $? >$@
  31. toolkit.$(SUF): toolkit.doc
  32. $(NROFF) $(MS) $? >$@
  33. LLgen.$(SUF): LLgen.doc
  34. eqn $? | $(NROFF) $(MS) >$@
  35. 6500.$(SUF): 6500.doc
  36. $(NROFF) $(MS) $? >$@
  37. install cmp:
  38. distr: install.doc
  39. nroff -Tlp install.doc >install.pr
  40. pr:
  41. @make "SUF="$SUF "NROFF="$NROFF "PRINT="$PRINT $(RESFILES) \
  42. >make.pr.out 2>&1
  43. @$(PRINT) $(RESFILES)
  44. opr:
  45. make pr | opr
  46. clean:
  47. -rm -f *.old $(RESFILES) *.t