home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / CKPM5X_S.ZIP / CKOKER.MAK < prev    next >
Text File  |  1990-05-30  |  6KB  |  183 lines

  1. # CKOKER.MAK, Version 1.00, 30 June 1988
  2. #           09-Nov-89 C.P.Armstrong Conversion for NMAKE
  3. #           18-Feb-90 C.P.Armstrong Addition of Ver 5A C-kermit files
  4. #           27-Feb-90 C.P.Armstrong Decodes CKOPTR.BOO
  5. #           02-May-90 C.P.Armstrong Mod CL line for 6.00
  6. #
  7. # -- Makefile to build C-Kermit for OS/2 --
  8. #
  9. # Before proceeding, read the instructions below, and also read the file
  10. # ckoker.bwr (the "beware file") if it exists.  Then run MAKE.  Note that
  11. # the MARKEXE program may return an error code -- this can be ignored.
  12. #
  13. #This makefile requires the use of the Microsoft NMAKE.EXE utility
  14. #which is supplied with Fortran 5.0 and C 6.0.  It has been tested
  15. #with MSC 6.0 and 5.1 and the MS Presentation Manager Toolkit v1.2 and
  16. #IBM OS/2 S.E. 1.2.
  17. #
  18. #The NMAKE command line should include the macro definition 
  19. #                        MSC="6.0"
  20. #when compiling with MS C 6.0 (or greater?).
  21. #
  22. #When compiling with MS C 5.1 a definition similar to that
  23. #below must appear in the environment
  24. #        SET INCLUDE=drive:\include\mt;\normal_includes
  25. #as CKOKER uses the multiple thread libraries and must therefore
  26. #reference the multiple thread include files rather than the normal
  27. #includes.  No special references are made to the MT includes in the
  28. #programs.  For compiling under MS C 5.1 it is necessary to have the
  29. #Presentation Manager Toolkit includes and librarys (PM*.H and
  30. #OS2.LIB) available.  These files are supplied with MS C 6.0.
  31. #
  32. #Note that the CKOFON.DLL file produced by this makefile must reside
  33. #in one of the LIBPATH directories for correct operation of Kermit.
  34. #This file is a font file, not a dynamic link library, however the
  35. #.FON extension cannot be used due to an idiosyncracy of the OS/2 font
  36. #loading function. The MS Macro Assembler (or similar) is required to
  37. #build this font file.
  38. #
  39. # The result is a runnable program called "xkoker.exe" in the current directory.
  40. # After satisfactory testing, you can rename xkoker to "kermit.exe" and put it
  41. # in your utilities directory (or wherever).
  42. #
  43. #
  44.  
  45.  
  46. #---------- Macros:
  47.  
  48. # If a debug log is (is not) wanted, comment out the first (second) line below.
  49. #DEBUG=
  50. DEBUG=/DDEBUG
  51.  
  52. # If a transaction log is (is not) wanted, comment out the first 
  53. # (second) line below.
  54. #TLOG=
  55. TLOG=/DTLOG
  56.  
  57. # If Codeview support is (is not) wanted, comment out the first 
  58. # (second) line below.
  59. #CVIEW=/O
  60. CVIEW=/Zi /Od
  61.  
  62. # -Afu /FPc flag removed as not compatible with -Gw required for PM
  63. # /Gt added in attempt to avoid DGROUP bigger than 64k link error
  64. # MSC 5.1 version of the compiler command line - 
  65.  
  66. CMPLFLAGS= \
  67. !if "$(MSC)" == "6.0"
  68. # MSC 6.0 compile command line.
  69. /c /Gt128 /Gsw /MT /W2 $(CVIEW) /DOS2 /DUS_CHAR /UMSDOS $(DEBUG) $(TLOG)
  70. !else
  71. # MSC5.1 compile command line
  72. /Gt128 /Alfw /G2sw /W2 /c /B1 c1l $(CVIEW) /DOS2 /DUS_CHAR /UMSDOS $(DEBUG) $(TLOG)
  73. !endif
  74.  
  75. #---------- Inference rules:
  76.  
  77. .c.obj:
  78.     cl $(CMPLFLAGS) $*.c
  79.  
  80. #---------- Dependencies:
  81. # Conversion to NMAKE
  82. ALL : xkoker.exe ckofon.dll
  83.  
  84. ckodrv.obj : ckodrv.c ckotek.h
  85.  
  86. ckostd.obj : ckostd.c ckcker.h ckofns.h ckopm.h
  87.  
  88. ckotek.obj : ckotek.c ckotek.h ckcker.h ckopm.h
  89.  
  90. ckopm1.obj : ckopm1.c  ckopm.h ckorc.h
  91.  
  92. ckopm2.obj : ckopm2.c  ckopm.h
  93.  
  94. ckopm3.obj : ckopm3.c  ckorc.h ckcker.h ckotek.h
  95.  
  96. ckopm4.obj : ckopm4.c ckcker.h ckopm.h ckorc.h
  97.  
  98. ckopm5.obj : ckopm5.c ckorc.h
  99.  
  100. ckopm6.obj : ckopm6.c ckopm.h ckorc.h
  101.  
  102. ckcmai.obj : ckcmai.c ckcker.h ckcdeb.h ckcsym.h
  103.  
  104. ckuusr.obj : ckuusr.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h
  105.  
  106. ckuus2.obj : ckuus2.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h
  107.  
  108. ckuus3.obj: ckuus3.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h
  109.  
  110. ckuus4.obj: ckuus4.c ckcdeb.h ckcker.h ckucmd.h ckuusr.h ckcxla.h ckoxla.h
  111.  
  112. ckuus5.obj: ckuus5.c ckucmd.h ckcker.h ckuusr.h ckcdeb.h
  113.  
  114. ckucmd.obj: ckucmd.c ckucmd.h ckcdeb.h
  115.  
  116. ckcpro.obj: ckcpro.c ckcker.h ckcdeb.h
  117.  
  118. ckcfns.obj: ckcfns.c ckcker.h ckcdeb.h ckcsym.h
  119.  
  120. ckcfn2.obj: ckcfn2.c ckcker.h ckcdeb.h ckcsym.h
  121.  
  122. ckcfn3.obj: ckcfn3.c ckcdeb.h ckcker.h ckcxla.h ckoxla.h
  123.  
  124. ckofio.obj: ckofio.c ckcker.h ckcdeb.h ckofns.h
  125.  
  126. ckotio.obj: ckotio.c ckcdeb.h ckofns.h
  127.  
  128. ckocon.obj: ckocon.c ckcker.h ckcdeb.h ckofns.h ckopm.h
  129.  
  130. ckudia.obj: ckudia.c ckcker.h ckcdeb.h ckucmd.h
  131.  
  132. ckuscr.obj: ckuscr.c ckcker.h ckcdeb.h
  133.  
  134. ckcxla.obj: ckcxla.c ckcdeb.h ckcker.h ckucmd.h ckcxla.h ckoxla.h
  135.  
  136. #ckoptr.ptr: ckoptr.boo
  137. #        bootoexe ckoptr.boo
  138.  
  139. ckorc.res: ckorc.rc ckoptr.ptr ckorc.h ckoker.icn
  140.         rc -r ckorc.rc
  141.  
  142. xkoker.exe: ckcpro.obj  ckoker.def \
  143.             ckorc.res  \
  144.             ckoptr.ptr \
  145.             ckodrv.obj \
  146.             ckcfn3.obj \
  147.             ckcxla.obj \
  148.             ckostd.obj \
  149.             ckotek.obj \
  150.             ckopm1.obj \
  151.             ckopm2.obj \
  152.             ckopm3.obj \
  153.             ckopm4.obj \
  154.             ckopm5.obj \
  155.             ckopm6.obj \
  156.             ckcmai.obj \
  157.             ckucmd.obj \
  158.             ckuusr.obj \
  159.             ckuus2.obj \
  160.             ckuus3.obj \
  161.             ckuus4.obj \
  162.             ckuus5.obj \
  163.             ckcfns.obj \
  164.             ckcfn2.obj \
  165.             ckocon.obj \
  166.             ckotio.obj \
  167.             ckofio.obj \
  168.             ckudia.obj \
  169.             ckuscr.obj
  170.     link @ckoker.lnk
  171.     rc ckorc.res xkoker.exe
  172.  
  173. ckofon.obj: ckofon.asm
  174.     masm ckofon.asm;
  175.  
  176. ckofon.res: ckofon.rc ckotek.fnt
  177.     rc -r ckofon.rc
  178.  
  179. ckofon.dll: ckofon.obj ckofon.res
  180.     link ckofon.obj,,,,ckofon.def
  181.     rc ckofon.res ckofon.dll
  182.     copy ckofon.dll c:\os2\dll
  183.