home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume8 / ansitape / part02 / Makefile < prev    next >
Encoding:
Makefile  |  1987-03-02  |  2.1 KB  |  84 lines

  1. # Makefile for ANSITAPE
  2. #
  3. # This program creates, reads, writes, and takes directory listings of
  4. # ANSI-formatted tapes. 
  5. #
  6. # This program was developed at 
  7. #
  8. # HQDA Army Artificial Intelligence Center
  9. # Pentagon Attn: DACS-DMA
  10. # Washington, DC  20310-0200 
  11. #
  12. # Phone: (202) 694-6900
  13. # E-mail:
  14. #    Arpa:        merlin%hqda-ai.uucp@smoke.brl.arpa
  15. #        alternate    dshayes@smoke.brl.arpa
  16. #    UUCP:        ...!seismo!sundc!hqda-ai!merlin
  17. #
  18. # Support?  You want support?  What do I look like, a software house?
  19. # Mail me your gripes, comments, and bugs, and I'll try to keep
  20. # up with them.
  21. #
  22. # THIS PROGRAM IS IN THE PUBLIC DOMAIN.
  23.  
  24.  
  25.  
  26. # Define AT MOST ONE of the following
  27. # Define this if you want debugging.
  28. #CCOPT    = -g
  29. # Define this if you want compiler optimizations.
  30. CCOPT    = -O
  31.  
  32.  
  33. # Define this if you want to handle IBM EBCDIC tapes.
  34. IBM    = -DEBCDIC
  35.  
  36.  
  37. # Define this to be the maximum size of a file you are willing to
  38. # read to determine the record length.  Files smaller than this
  39. # are read twice:  once to find the max record length, and the second
  40. # time when writing the tape.  Files larger than this just assume
  41. # that the recordlength == blocklength.  Probably not a great
  42. # assumption, but we have to assume something.
  43. #
  44. # If this is not defined, the ansitape.c uses 100K by default.
  45. #READMAX    = 100000
  46.  
  47.  
  48. # This is the directory where ansitape will go.
  49. BIN    = /usr/local/bin
  50.  
  51.  
  52. # This is the directory where you put your
  53. # unformatted manual pages for commands.
  54. CMDMAN    = /usr/man/man1
  55.  
  56. # This is the directory where you put your
  57. # unformatted manual pages for file formats.
  58. FILEMAN    = /usr/man/man5
  59.  
  60. # This is the directory where you put your
  61. # FORMATTED manual pages for file formats.
  62. # Define this to be /tmp if you don't keep
  63. # formatted copies of the file format manual pages.
  64. # Cron should clean it out eventually.
  65. FILECAT    = /usr/man/cat5
  66.  
  67.  
  68. all: ansitape man
  69.  
  70. ansitape: ansitape.c ansitape.h tables.o
  71.     cc ${CCOPT} -o ansitape ${IBM} ${READMAX} ansitape.c tables.o
  72.     mv ansitape ${BIN}
  73.  
  74. tables.o: tables.c
  75.  
  76. man: man1 man5
  77.  
  78. man1: ansitape.1
  79.     cp ansitape.1 ${CMDMAN}
  80.  
  81. man5: ansitape.5.tbl
  82.     tbl ansitape.5.tbl > ${FILEMAN}/ansitape.5
  83.     tbl ansitape.5.tbl | nroff -man | colcrt > ${FILECAT}/ansitape.5
  84.