home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / a / aos-vs.zip / CKDCC.CLI next >
Text File  |  1993-01-24  |  1KB  |  39 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.  
  16. push
  17. prompt pop
  18.  
  19. comment Delete garbage from the last run.
  20. delete/1=warn/2=warn %1%.<er ob>
  21. delete/1=ignore/2=ignore %1%.ls
  22.  
  23. comment Perform the compile.
  24. [!eq %/%x,x]
  25. wr Now doing %1%
  26. [!else]
  27. wr Now doing %1% with compiler options %/%
  28. [!end]
  29. [!neq %2%x,x]
  30. wr Symbols defined: %2-%
  31. [!end]
  32. CC/EXTL/E==%1%.ER%/% %1% UXIII/DEFINE DEBUG/DEFINE TLOG/DEFINE &
  33.         NOANSI/DEFINE PARSENSE/DEFINE TCPSOCKET/DEFINE NETCONN/DEFINE &
  34.         datageneral/DEFINE INADDRX/DEFINE DYNAMIC/DEFINE TIMESTAMP/DEFINE &
  35.         NOJC/DEFINE NOSETBUF/DEFINE aosvs/DEFINE KANJI/DEFINE &
  36.         :USR:INCLUDE/SEARCH :NET:UTIL/SEARCH %2-%
  37. pop
  38.  
  39.