home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / lib / librpc / doc / Makefile next >
Encoding:
Makefile  |  1989-07-11  |  1.8 KB  |  85 lines

  1. #
  2. # @(#)Makefile    2.1 88/08/04 4.0 RPCSRC
  3. #
  4. #
  5. #   The targets all.nroff and all.troff will make monolithic documents
  6. #   with nroff and troff, respectively.  The other *.nroff and *.troff
  7. #   targets will make individual documents
  8. #
  9. TROFF=    ditroff
  10. TOPTS=  -t
  11. NROFF=    nroff
  12. NOPTS=
  13. PIC=    pic
  14. TBL=    tbl
  15. EQN=    eqn
  16.  
  17. SRC=     rpc.prog.ms rpcgen.ms xdr.nts.ms xdr.rfc.ms rpc.rfc.ms nfs.rfc.ms
  18.  
  19. all default: all.nroff
  20.  
  21. install:    all.nroff
  22.     @echo "Nothing installed."
  23.  
  24. all.nroff:    ${SRC}
  25.     ${TBL} ${SRC} | ${EQN} | ${NROFF} ${NOPTS} -ms >all.nroff
  26.  
  27. all.troff:    ${SRC}
  28.     ${TBL} ${SRC} | ${PIC} | ${EQN} | ${TROFF} ${TOPTS} -ms >all.troff
  29.  
  30. #
  31.  
  32. rpc.prog.nroff: rpc.prog.ms
  33.     ${TBL} rpc.prog.ms | ${NROFF} ${NOPTS} -ms >rpc.prog.nroff
  34.  
  35. rpc.prog.troff:    rpc.prog.ms
  36.     ${TBL} rpc.prog.ms | ${PIC} | ${TROFF} ${TOPTS} -ms >rpc.prog.troff
  37.  
  38. #
  39.  
  40. rpcgen.troff:    rpcgen.ms
  41.     ${TBL} rpcgen.ms | ${TROFF} ${TOPTS} -ms >rpcgen.troff
  42.  
  43. rpcgen.nroff:    rpcgen.ms
  44.     ${TBL} rpcgen.ms | ${NROFF} ${NOPTS} -ms >rpcgen.nroff
  45.  
  46. #
  47.  
  48. xdr.nts.troff: xdr.nts.ms
  49.     ${TBL} xdr.nts.ms | ${EQN} | ${TROFF} ${TOPTS} -ms >xdr.nts.troff
  50.  
  51. xdr.nts.nroff: xdr.nts.ms
  52.     ${TBL} xdr.nts.ms | ${EQN} | ${NROFF} ${NOPTS} -ms >xdr.nts.nroff
  53.  
  54. #
  55.  
  56. xdr.rfc.troff: xdr.rfc.ms
  57.     ${TBL} xdr.rfc.ms | ${TROFF} ${TOPTS} -ms >xdr.rfc.troff
  58.  
  59. xdr.rfc.nroff: xdr.rfc.ms
  60.     ${TBL} xdr.rfc.ms | ${NROFF} ${NOPTS} -ms >xdr.rfc.nroff
  61.  
  62. #
  63.  
  64. rpc.rfc.troff: rpc.rfc.ms
  65.     ${TBL} rpc.rfc.ms | ${TROFF} ${TOPTS} -ms >rpc.rfc.troff
  66.  
  67. rpc.rfc.nroff: rpc.rfc.ms
  68.     ${TBL} rpc.rfc.ms | ${NROFF} ${NOPTS} -ms >rpc.rfc.nroff
  69.  
  70. #
  71.  
  72. nfs.rfc.troff: nfs.rfc.ms
  73.     ${TBL} nfs.rfc.ms | ${TROFF} ${TOPTS} -ms >nfs.rfc.troff
  74.  
  75. nfs.rfc.nroff: nfs.rfc.ms
  76.     ${TBL} nfs.rfc.ms | ${NROFF} ${NOPTS} -ms >nfs.rfc.nroff
  77.  
  78. clean:
  79.     rm -f *.nroff *.troff
  80.  
  81. spell:    ${SRC}
  82.     @for i in ${SRC}; do \
  83.         echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
  84.     done
  85.