home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff330.lzh / Vt100 / Src.lzh / Src / Makefile < prev    next >
Makefile  |  1990-03-02  |  3KB  |  96 lines

  1. ######################################################################
  2. #                :ts=8
  3. #
  4. # Makefile to build vt100 terminal emulator
  5. #
  6. #    v2.9 ACS - Add newkermit module and AREXX support
  7. #    v2.8a 880331 ACS - Add CFLAGS and LNFLAGS
  8. #    v2.7 870825 ACS - See the README file
  9. #    v2.6 870227 DBW - bug fixes for all the stuff in v2.5
  10. #    v2.5 870214 DBW - more additions (see readme file)
  11. #    v2.4 861214 DBW - lots of fixes/additions (see readme file)
  12. #    v2.3 861101 DBW - minor bug fixes
  13. #    v2.2 861012 DBW    - more of the same
  14. #    v2.1 860915 DBW - new features (see README)
  15. #         860823 DBW - Integrated and rewrote lots of code
  16. #    v2.0 860809 DBW    - Major release.. LOTS of changes
  17. #     v1.1 860720 DBW    - Switches, 80 cols, colors, bug fixes
  18. #     v1.0 860712 DBW    - First version released
  19. #
  20. #
  21. # Don't forget to define the right compiler (MANX or LATTICE) in VT100.H
  22. #
  23. # Say:
  24. #    make CCFLAGS=-n LNFLAGS=-g vt100         -or-
  25. #    make CCFLAGS=-n LNFLAGS=-g vt100-w
  26. # for Manx SDB.
  27. # Say:
  28. #    make vt100nk
  29. # to use the new kermit modules.  Likewise, vt100nk-w, as above, for
  30. # Manx SDB.
  31. #
  32. ######################################################################
  33.  
  34. #   Use the following 2 lines if you want AREXX support included
  35. # AREXX     = -DAREXX
  36. # REXXOBJ = root:arexx/developers/bindings_c/rexxglue.o
  37. #   Use the following line if you don't have AREXX or you don't want AREXX
  38. AREXX    =
  39. REXXOBJ =
  40.  
  41. CFLAGS    = $(CCFLAGS) $(AREXX)
  42.  
  43. OBJS    = vt100.o init.o window.o xmodem.o remote.o \
  44.       kermit.o script.o expand.o rexx.o $(REXXOBJ)
  45.  
  46. NOBJS    = vt100.o init.o window.o xmodem.o remote.o \
  47.       newkermit.o kermitproto.o script.o expand.o rexx.o $(REXXOBJ)
  48.  
  49. vt100    : vt100.syms $(OBJS)
  50.     ln +q -o vt100 $(OBJS) -lc
  51.  
  52. vt100nk : vt100.syms $(NOBJS)
  53.     ln +q -o vt100nk $(NOBJS) -lc
  54.  
  55. vt100-w    : vt100.syms $(OBJS)
  56.     ln +q $(LNFLAGS) -o vt100-w $(OBJS) -lc
  57.  
  58. vt100nk-w : vt100.syms $(NOBJS)
  59.     ln +q $(LNFLAGS) -o vt100nk-w $(NOBJS) -lc
  60.  
  61. vt100.syms : vt100.h
  62.     cc -A +Hvt100.syms $(CFLAGS) vt100.h
  63.  
  64. vt100.o    : vt100.c vt100.syms
  65.     cc +Ivt100.syms $(CFLAGS) vt100.c
  66.  
  67. init.o    : init.c vt100.syms
  68.     cc +Ivt100.syms $(CFLAGS) init.c
  69.  
  70. window.o : window.c vt100.syms
  71.     cc +Ivt100.syms $(CFLAGS) window.c
  72.  
  73. xmodem.o : xmodem.c vt100.syms
  74.     cc +Ivt100.syms $(CFLAGS) xmodem.c
  75.  
  76. remote.o : remote.c vt100.syms
  77.     cc +Ivt100.syms $(CFLAGS) remote.c
  78.  
  79. kermit.o : kermit.c vt100.syms
  80.     cc +Ivt100.syms $(CFLAGS) kermit.c
  81.  
  82. newkermit.o : newkermit.c vt100.syms
  83.     cc +Ivt100.syms $(CFLAGS) newkermit.c
  84.  
  85. kermitproto.o : kermitproto.c kermitproto.h
  86.     cc $(CFLAGS) kermitproto.c
  87.  
  88. script.o : script.c vt100.syms
  89.     cc +Ivt100.syms $(CFLAGS) script.c
  90.  
  91. expand.o : expand.c vt100.syms
  92.     cc +Ivt100.syms $(CFLAGS) expand.c
  93.  
  94. rexx.o : rexx.c vt100.syms
  95.     cc +Ivt100.syms $(CFLAGS) rexx.c
  96.