home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckiker.lmk < prev    next >
Text File  |  2020-01-01  |  2KB  |  81 lines

  1. # CKIKER.LMK, Version 5A(162)
  2. #
  3. # This test version of C Kermit uses CKUXLA.C as the translation module.
  4. # This isn't quite correct, but will do for testing purposes.  You will
  5. # also need to copy CKUXLA.H onto CKIXLA.H to build from source.
  6. #
  7. # This is a makefile for C Kermit using SAS/C for AmigaDOS  V5.10.  The lint
  8. # line is for Gimpel Lint V3.03 assuming some kind of standard setup.
  9. #
  10. # -cw turns off warnings about int functions that don't return a value.
  11. # -cs makes one copy of identical strings
  12. # -cu makes char declarations unsigned chars.
  13. # -b0 makes us use LARGE data model (there is too much for small model)
  14. # -O invokes the global optimizer
  15. #
  16. # The optimization is set to so, which turns on full optimization.
  17. #
  18. # As of 5A(157), the data had finally become too big for the small
  19. # data model, so we are forced to large.
  20. #
  21.  
  22. CFLAGS = -DAMIGA -cwsu -b0 -O
  23. LFLAGS = 
  24.  
  25. #
  26. # Note the ckuxla.c in the lists belw.  I have not yet written an
  27. # Amiga-specific version of ckuxla.c.  Also, copy ckuxla.h onto a
  28. # new file, ckixla.h.
  29. #
  30.  
  31. OBJS = ckcmai.o ckucmd.o ckuusr.o ckuus2.o ckuus3.o ckuus4.o ckuus5.o \
  32.         ckuusx.o ckuusy.o \
  33.         ckcpro.o ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o ckicon.o \
  34.         ckitio.o ckifio.o ckistu.o ckiutl.o 
  35.  
  36. SRCS = ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
  37.          ckuusx.c ckuusy.c \
  38.          ckcpro.c ckcfns.c ckcfn2.c ckcfn3.c ckuxla.c ckicon.c \
  39.          ckitio.c ckifio.c ckistu.c ckiutl.c mktime.c dos_packet.c
  40.  
  41. #
  42. # These are prototype files.  You can generate them by saying "make ckipro.h"
  43. #
  44.  
  45. PROS = ckcmai.pro ckucmd.pro ckuusr.pro ckuus2.pro ckuus3.pro ckuus4.pro  \
  46.         ckuus5.pro ckcpro.pro ckcfns.pro ckcfn2.pro ckcfn3.pro \
  47.         ckuxla.pro ckicon.pro ckitio.pro ckifio.pro ckistu.pro \
  48.         ckiutl.pro
  49. #
  50. # SAS/C rule for generating a prototype file from a C source file.
  51. #
  52.  
  53. .c.pro:
  54.     lc $(CFLAGS) -pr $*.c
  55.  
  56.  
  57. kermit:    $(OBJS)
  58.     blink <WITH <
  59. $(LFLAGS) 
  60. lib:c.o $(OBJS)
  61. lib lib:lcnb.lib lib:amiga.lib
  62. to kermit
  63. verbose 
  64. map kermit.map fhlsx
  65. <<
  66.  
  67. ckcpro: ckcpro.w wart
  68.     wart ckcpro.w ckcpro.c
  69.     lc $(CFLAGS) -o  ckcpro.o ckcpro
  70.  
  71. wart: ckwart.o
  72.     blink lib:c.o ckwart.o lib lib:lc.lib lib:amiga.lib to wart 
  73.  
  74. lint: $(SRCS)
  75.     lint -DAMIGA std.lnt $(SRCS)
  76.  
  77. ckipro.h: $(PROS)
  78.     join $(PROS) as ckipro.h
  79.