home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckdcc.cli < prev    next >
Text File  |  2020-01-01  |  1KB  |  43 lines

  1. comment
  2. comment This CLI macro compiles C-Kermit for AOS/VS source files.  It is
  3. comment called by ckdmak.cli.
  4. comment
  5. comment %1%.ob      is        the object module
  6. comment %1%.er      is        the error and status file
  7. comment %1%.ls      is        the compiler listing if /ls was used
  8. comment
  9. comment If you are building Kermit on a system that is not running
  10. comment AOS/VS II and AOS/VS II TCP/IP, you should remove the
  11. comment DEFINE switches for TCPSOCKET and NETCONN.  You may also
  12. comment remove the DEFINE switch for INADDRX and the SEARCH
  13. comment switches for :USR:LIB and :NET:UTIL.
  14. comment
  15. comment  It is assumed that the appropriate C compiler, linker, and libraries
  16. comment  can be found in :C.  If not, alter the following command as needed:
  17.  
  18. searchlist :c [!sea]
  19.  
  20. push
  21. prompt pop
  22.  
  23. comment Delete garbage from the last run.
  24. delete/1=warn/2=warn %1%.<er ob>
  25. delete/1=ignore/2=ignore %1%.ls
  26.  
  27. comment Perform the compile.
  28. [!eq %/%x,x]
  29. wr Compiling %1%
  30. [!else]
  31. wr Compiling %1% with options %/%
  32. [!end]
  33. [!neq %2%x,x]
  34. wr Symbols defined: %2-%
  35. [!end]
  36. CC/EXTL/E==%1%.ER%/% %1% UXIII/DEFINE DEBUG/DEFINE TLOG/DEFINE &
  37.         NOANSI/DEFINE PARSENSE/DEFINE TCPSOCKET/DEFINE NETCONN/DEFINE &
  38.         datageneral/DEFINE INADDRX/DEFINE DYNAMIC/DEFINE TIMESTAMP/DEFINE &
  39.         NOJC/DEFINE NOSETBUF/DEFINE aosvs/DEFINE KANJI/DEFINE &
  40.         :USR:INCLUDE/SEARCH :NET:UTIL/SEARCH %2-%
  41. pop
  42.  
  43.