home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckc190.zip / ckvker.com < prev    next >
Text File  |  1993-06-30  |  20KB  |  531 lines

  1. $ ! ckvker.com for VMS V5.0 and greater.
  2. $ ! For pre-5.0 versions, use (at your own risk) CKVOLD.COM.
  3. $ ! Lee Tibbert <tibbert@cosby.enet.dec.com>
  4. $ ! 9 October 1992
  5. $ ! Based upon many earlier generations of CKVKER.COM by Terry Kennedy
  6. $ ! and others.
  7. $ ! Network decision-making section redone, fdc, 14 Oct 92.
  8. $ ! See CKVINS.DOC for detailed installation instructions.
  9. $
  10. $ ! Copyright (C) 1985, 1992, Trustees of Columbia University in the City of 
  11. $ ! New York.  Permission is granted to any individual or institution to use
  12. $ ! this software as long as it is not sold for profit.  This copyright
  13. $ ! notice must be retained.  This software may not be included in commercial
  14. $ ! products without written permission of Columbia University.
  15. $ goto begin
  16. $ ! Supports OpenVMS AXP(tm) and VAX(tm) builds:
  17. $
  18. $ ! Notes:
  19. $ !     I have not found a good way to use  one set of CC flags
  20. $ !     for VAX and both AXP paths.  If you change one, remember to 
  21. $ !    change the other two.
  22. $  
  23. $ ! VAX Notes:
  24. $ !     On OpenVMS VAX, supports WINTCP, MULTINET, & DEC TCP/IP Services in
  25. $ !     addition to serial line (DEC TCP/IP file fixes in progress 1992-10-08) 
  26. $ !     VAX Link should really use SYS$LIBRARY:VAXCRTL.EXE shareable but
  27. $ !     I did not change prior practice.
  28. $  
  29. $ ! AXP Notes:
  30. $
  31. $ !     AXP Link uses SYS$LIBRARY:DECC$SHR.EXE shareable (From IMAGELIB.OLB)
  32. $ !     There are two OpenVMS AXP builds possible. The separate compilation
  33. $ !     version is the default in order to keep PAGEFILE Quota down.
  34. $ !     The /Plus_List_Optimize version takes more resources at compile time
  35. $ !     but yields smaller, faster code. Take your pick (by [un]commenting
  36. $ !    call in subroutine Alpha_Build)
  37. $
  38. $ !     AXP build does not support TCP/IP (link command needs to vary.)
  39. $
  40. $ !___________________________________________________________________________
  41. $
  42. $ Begin:
  43. $  On Control_Y Then Goto The_Exit
  44. $  On Warning Then Goto The_Exit
  45. $  axp_cc := "DECC_AXP"    ! LT personal value, not DEC value
  46. $
  47. $
  48. $  hw_arch := "VAX" ! Assume VAX
  49. $  if (f$getsyi("CPU") .eq. 128) ! 128 means "not a VAX"
  50. $   then
  51. $    hw_arch := "''f$getsyi("Arch_Name")'"
  52. $    if ("''hw_arch'" .nes. "Alpha") 
  53. $     then
  54. $     if (f$locate("ALPHA", f$edit("''hw_arch'","UPCASE")) -
  55.          .lt. f$length("''hw_arch'"))
  56. $      then
  57. $       hw_arch := "Alpha" ! Treat as Alpha AXP
  58. $      else
  59. $       write sys$output "Unknown hardware architecture ''hw_arch'"
  60. $       exit %x10000004   
  61. $      endif ! Unknown
  62. $    endif ! String not "Alpha" 
  63. $   endif ! Not VAX
  64. $
  65. $  sys_ver = f$edit(f$getsyi("version"),"compress")
  66. $  if f$extract(0,1,sys_ver) .nes. "V"
  67. $  then
  68. $    type sys$input
  69. You appear to be running a Field Test version of VMS. This script will
  70. assume that the operating system version is at least V5.0.
  71.  
  72. $    sys_ver = "V5.0"
  73. $  endif
  74. $  sys_maj = 0+f$extract(1,1,sys_ver)
  75. $  sys_min = 0+f$extract(3,1,sys_ver)
  76. $  if sys_maj .lt. 5 then if (sys_min/2)*2 .ne. sys_min then -
  77.      sys_min = sys_min - 1
  78. $  vms_ver = "VMS_V''sys_maj'''sys_min'"
  79. $
  80. $  ! Type:
  81. $  !    net_option = "NONET"
  82. $  ! before running this procedure to build C-Kermit without TCP/IP network
  83. $  ! support on a system that has a TCP/IP package installed.
  84. $  !
  85. $  if f$type(net_option) .eqs. "STRING"
  86. $  then
  87. $    write sys$output "Network option override = ''net_option'"
  88. $    goto Net_Done
  89. $  endif
  90. $
  91. $  net_option = "NONET"
  92. $  if f$search("MULTINET:MULTINET_SOCKET_LIBRARY.EXE") .nes. ""
  93. $  then
  94. $    net_option = "MULTINET"
  95. $  else
  96. $  if f$search("TWG$TCP:[NETDIST.LIB]TWGLIB.OLB") .nes. ""
  97. $  then
  98. $    net_option = "WINTCP"
  99. $  else
  100. $  if f$search("SYS$STARTUP:UCX$STARTUP.COM") .nes. ""
  101. $  then
  102. $    net_option = "DEC_TCPIP"
  103. $  endif ! DEC TCP/IP
  104. $  endif ! Wollongong
  105. $  endif ! MultiNet
  106. $
  107. $ Net_Done:
  108. $
  109. $  if f$type(net_option) .eqs. ""
  110. $  then
  111. $    net_option = "NONET"
  112. $    net_name = "no"
  113. $  endif
  114. $
  115. $  if net_option .eqs. "NONET"
  116. $  then
  117. $    net_name = "no"
  118. $  else
  119. $  if net_option .eqs. "MULTINET"
  120. $  then
  121. $    net_name = "MultiNet"
  122. $  else
  123. $  if net_option .eqs. "WINTCP"
  124. $  then
  125. $    net_name = "WIN/TCP"
  126. $    define vaxc$include twg$tcp:[netdist.include],sys$library
  127. $    define sys twg$tcp:[netdist.include.sys]
  128. $  else
  129. $  if net_option .eqs. "DEC_TCPIP"
  130. $  then 
  131. $    net_name = "DEC TCP/IP Services for OpenVMS(tm)"
  132. $  else
  133. $    write sys$output "Unknown net_option: ''net_option'"
  134. $    net_option = "NONET"
  135.     net_name = "no"
  136. $  endif ! None
  137. $  endif ! DEC TCP/IP
  138. $  endif ! Wollongong
  139. $  endif ! MultiNet
  140. $
  141. $  if sys_maj .lt. 5
  142. $  then
  143. $    write sys$output "You are running VMS V''sys_ver'."
  144. $    type sys$input
  145. VMS C-Kermit has not been verified to build properly under this version, 
  146. although pre-built versions should run properly.  Please exercise caution 
  147. until you have verified proper operation. 
  148.  
  149. $ endif
  150. $
  151. $ call 'hw_arch'_Build
  152. $
  153. $ The_Exit:
  154. $  exit $STATUS
  155. $ !___________________________________________________________________________
  156. $ !___________________________________________________________________________
  157. $ AXP_CC: Subroutine
  158. $  On Control_Y Then $exit %x10000004
  159. $  On Warning Then   $exit $status
  160. $
  161. $ write sys$output "        ''P1' at ''f$time()"
  162. $  cc/'debug'/standard='lint_standard'/'optimize' -
  163.     /define=("DEBUG", "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  164.     "''net_option'", "''cc_ver'", "''vms_ver'") 'P1
  165. $  exit 
  166. $ EndSubroutine !AXP_CC
  167. $ !___________________________________________________________________________
  168. $ AXP_Incremental_Wermit: Subroutine
  169. $  On Control_Y Then $exit %x10000004
  170. $  On Warning Then   $exit $status
  171. $
  172. $  write sys$output f$fao("!_  Using separate CC commands.")
  173. $  call axp_cc ckcmai.c
  174. $  call axp_cc ckcfn2.c
  175. $  call axp_cc ckcfn3.c
  176. $  call axp_cc ckcfns.c
  177. $  call axp_cc ckcpro.c
  178. $  call axp_cc ckucmd.c
  179. $  call axp_cc ckudia.c
  180. $  call axp_cc ckuscr.c
  181. $  call axp_cc ckuus2.c
  182. $  call axp_cc ckuus3.c
  183. $  call axp_cc ckuus4.c
  184. $  call axp_cc ckuus5.c
  185. $  call axp_cc ckuus6.c
  186. $  call axp_cc ckuus7.c
  187. $  call axp_cc ckuusr.c
  188. $  call axp_cc ckuusx.c
  189. $  call axp_cc ckuusy.c
  190. $  call axp_cc ckuxla.c
  191. $  call axp_cc ckvcon.c
  192. $  call axp_cc ckcnet.c
  193. $  call axp_cc ckvfio.c
  194. $  call axp_cc ckvtio.c
  195. $  call axp_cc ckvioc.c
  196. $  write sys$output "  Linking WERMIT at ''f$time()"
  197. $  link/'link_debug' /exec=wermit.exe -
  198.      ckcmai, ckcfn2, ckcfn3, ckcfns, ckcpro, ckucmd, ckudia, -
  199.     ckuscr, ckuus2, ckuus3, ckuus4, ckuus5, ckuus6, ckuus7, -
  200.     ckuusr, ckuusx, ckuusy, ckuxla, ckvcon, ckcnet, ckvfio, -
  201.     ckvtio, ckvioc
  202. $  
  203. $  exit 
  204. $ EndSubroutine !AXP_Incremental_Wermit
  205. $ !___________________________________________________________________________
  206. $ AXP_Optimized_Wermit: Subroutine
  207. $  On Control_Y Then $exit %x10000004
  208. $  On Warning Then   $exit $status
  209. $
  210. $  write sys$output f$fao("!_  Using single CC/Plus_List_Optimize command.")
  211. $  write sys$output f$fao("!_        This compilation takes a while.")
  212. $
  213. $  cc/obj=ckcmai/'debug'/standard='lint_standard'/'optimize' -
  214.     /define=("DEBUG", "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  215.     "''net_option'", "''cc_ver'", "''vms_ver'")/plus_list_optimize -
  216.      ckcmai + ckcfn2 + ckcfn3 + ckcfns + ckcpro + ckucmd + ckudia + -
  217.     ckuscr + ckuus2 + ckuus3 + ckuus4 + ckuus5 + ckuus6 + ckuus7 + -
  218.     ckuusr + ckuusx + ckuusy + ckuxla + ckvcon + ckcnet + ckvfio + -
  219.     ckvtio + ckvioc 
  220. $
  221. $    write sys$output "  Linking   WERMIT at ''f$time()"
  222. $    link/'link_debug' /exec=wermit.exe ckcmai.obj
  223. $
  224. $  exit 
  225. $ EndSubroutine !AXP_Optimized_Wermit
  226. $ !___________________________________________________________________________
  227. $ Alpha_Build: Subroutine 
  228. $  On Control_Y Then $exit %x10000004
  229. $  On Warning Then   $exit $status
  230. $
  231. $  cc_ver = "''axp_cc'"
  232. $
  233. $  !debug  := nodebug
  234. $  debug  := debug
  235. $
  236. $  Link_Debug  := nodebug
  237. $
  238. $  ! optimize := optimize=level=0 ! level=0 means NoOptimize
  239. $  optimize := optimize=level=4   ! level=4 means greatest optimization
  240. $
  241. $  !lint_standard := ANSI89 
  242. $  lint_standard := VAXC ! Evil living is its own retribution....
  243. $
  244. $  write sys$output f$fao("!/Operating System: OpenVMS(tm) AXP(tm)!/")
  245. $  write sys$output -
  246.     "Building WERMIT with ''net_name' network support at ''f$time()"
  247. $  write sys$output "  Compiling CKWART at ''f$time()"
  248. $  call axp_cc ckwart.c
  249. $
  250. $  write sys$output "  Linking   CKWART at ''f$time()"
  251. $  link/exec=ckwart ckwart.obj
  252. $  purge ckwart.obj
  253. $  write sys$output "  Running   CKWART at ''f$time()"
  254. $  ckwart = "$" +f$parse("CKWART.EXE",,,"DEVICE") +-
  255.            f$parse("CKWART.EXE",,,"DIRECTORY") + "CKWART"
  256. $  ckwart ckcpro.w ckcpro.c
  257. $  purge ckcpro.c
  258. $
  259. $  write sys$output f$fao("!/  Compiling WERMIT files at ''f$time()")
  260. $
  261. $ ! Incremental build is default. To get /Plus_List_Optimized
  262. $ ! Comment out the incremental_wermit and uncomment the optimized.
  263. $  call AXP_incremental_wermit 
  264. $ !  call AXP_optimized_wermit
  265.  
  266. $  write sys$output "Done building WERMIT at ''f$time()"
  267. $
  268. $  write sys$output f$fao("!/Building CKVCVT at ''f$time()")
  269. $  write sys$output "  Compiling CKVCVT at ''f$time()"
  270. $  call axp_cc ckvcvt.c
  271. $  write sys$output "  Linking   CKVCVT at ''f$time()"
  272. $  link/'link_debug'/exec=ckvcvt ckvcvt.obj
  273. $  set file/protection=(g:re,w:re) ckvcvt.exe
  274. $  purge ckvcvt.obj
  275. $  write sys$output "Done building CKVCVT at ''f$time()"
  276. $
  277. $  exit 
  278. $ EndSubroutine !AXP_Build
  279. $ !___________________________________________________________________________
  280. $ VAX_Build: Subroutine
  281. $ On Control_Y Then $exit %x10000004
  282. $ On Warning Then   $exit $status
  283. $ lint_standard := NoPortable
  284. $
  285. $  write sys$output f$fao("!/Operating System: OpenVMS(tm) VAX(tm)!/")
  286. $   cc_ver = "VAXC023"
  287. $   if f$search("sys$library:fscndef.h") .nes. "" then cc_ver = "VAXC024"
  288. $   if f$search("sys$library:ppl$routines.h") .nes. "" then cc_ver = "VAXC030"
  289. $   if f$search("sys$library:xabrudef.h") .nes. "" then cc_ver = "VAXC031"
  290. $ ! lt 1992-08-14 Could be VAXC032
  291. $
  292. $ if (cc_ver .nes. "VAXC031")
  293. $ then
  294. $ type sys$input
  295. Your system has an older version of the VAX C compiler.  VMS C-Kermit was
  296. designed to be compiled under VAX C V3.1 or newer.  It has not been verified
  297. to build properly under this version, although pre-built versions should run
  298. properly.  Please exercise caution until you have verified proper operation.
  299.  
  300. $ endif
  301. $
  302. $ write sys$output "Building WERMIT with ''net_name' network support"
  303. $ if f$search("wermit.olb") .eqs. "" then libr/create=(Block:1920)/object-
  304.      wermit.olb
  305. $
  306. $ write sys$output "  Compiling CKVIOC"
  307. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  308.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  309.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckvioc.obj ckvioc.c
  310. $ library/replace wermit.olb ckvioc.obj
  311. $ delete ckvioc.obj.*
  312. $
  313. $ write sys$output "  Compiling CKCNET"
  314. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  315.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  316.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcnet.obj ckcnet.c
  317. $ library/replace wermit.olb ckcnet.obj
  318. $ delete ckcnet.obj.*
  319. $
  320. $ write sys$output "  Compiling CKVTIO"
  321. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  322.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  323.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckvtio.obj ckvtio.c
  324. $ library/replace wermit.olb ckvtio.obj
  325. $ delete ckvtio.obj.*
  326. $
  327. $ write sys$output "  Compiling CKVFIO"
  328. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  329.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  330.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckvfio.obj ckvfio.c
  331. $ library/replace wermit.olb ckvfio.obj
  332. $ delete ckvfio.obj.*
  333. $
  334. $ write sys$output "  Compiling CKCFN2"
  335. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  336.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  337.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcfn2.obj ckcfn2.c
  338. $ library/replace wermit.olb ckcfn2.obj
  339. $ delete ckcfn2.obj.*
  340. $ write sys$output "  Compiling CKCFN3"
  341. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  342.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  343.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcfn3.obj ckcfn3.c
  344. $ library/replace wermit.olb ckcfn3.obj
  345. $ delete ckcfn3.obj.*
  346. $ write sys$output "  Compiling CKCFNS"
  347. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  348.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  349.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcfns.obj ckcfns.c
  350. $ library/replace wermit.olb ckcfns.obj
  351. $ delete ckcfns.obj.*
  352. $ write sys$output "  Compiling CKCMAI"
  353. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  354.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  355.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcmai.obj ckcmai.c
  356. $ library/replace wermit.olb ckcmai.obj
  357. $ delete ckcmai.obj.*
  358. $ write sys$output "  Compiling CKWART"
  359. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  360.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  361.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckwart.obj ckwart.c
  362. $ write sys$output "  Linking CKWART"
  363. $ ! no symbol table lt 1992-08-14  
  364. $ link/exec=ckwart ckwart.obj, sys$share:vaxcrtl.olb/library
  365. $ purge ckwart.obj
  366. $ write sys$output "Running CKWART"
  367. $ ckwart = "$" +f$parse("CKWART.EXE",,,"DEVICE") +-
  368.     f$parse("CKWART.EXE",,,"DIRECTORY") + "CKWART"
  369. $ ckwart ckcpro.w ckcpro.c
  370. $ purge ckcpro.c
  371. $ write sys$output "  Compiling CKCPRO"
  372. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  373.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  374.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckcpro.obj ckcpro.c
  375. $ library/replace wermit.olb ckcpro.obj
  376. $ delete ckcpro.obj.*
  377. $ write sys$output "  Compiling CKUCMD"
  378. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  379.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  380.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckucmd.obj ckucmd.c
  381. $ library/replace wermit.olb ckucmd.obj
  382. $ delete ckucmd.obj.*
  383. $ write sys$output "  Compiling CKUDIA"
  384. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  385.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  386.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckudia.obj ckudia.c
  387. $ library/replace wermit.olb ckudia.obj
  388. $ delete ckudia.obj.*
  389. $ write sys$output "  Compiling CKUSCR"
  390. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  391.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  392.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuscr.obj ckuscr.c
  393. $ library/replace wermit.olb ckuscr.obj
  394. $ delete ckuscr.obj.*
  395. $ write sys$output "  Compiling CKUUS2"
  396. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  397.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  398.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus2.obj ckuus2.c
  399. $ library/replace wermit.olb ckuus2.obj
  400. $ delete ckuus2.obj.*
  401. $ write sys$output "  Compiling CKUUS3"
  402. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  403.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  404.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus3.obj ckuus3.c
  405. $ library/replace wermit.olb ckuus3.obj
  406. $ delete ckuus3.obj.*
  407. $ write sys$output "  Compiling CKUUS4"
  408. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  409.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  410.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus4.obj ckuus4.c
  411. $ library/replace wermit.olb ckuus4.obj
  412. $ delete ckuus4.obj.*
  413. $ write sys$output "  Compiling CKUUS5"
  414. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  415.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  416.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus5.obj ckuus5.c
  417. $ library/replace wermit.olb ckuus5.obj
  418. $ delete ckuus5.obj.*
  419. $ write sys$output "  Compiling CKUUS6"
  420. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  421.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  422.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus6.obj ckuus6.c
  423. $ library/replace wermit.olb ckuus6.obj
  424. $ delete ckuus6.obj.*
  425. $ write sys$output "  Compiling CKUUS7"
  426. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  427.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  428.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuus7.obj ckuus7.c
  429. $ library/replace wermit.olb ckuus7.obj
  430. $ delete ckuus7.obj.*
  431. $ write sys$output "  Compiling CKUUSR"
  432. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  433.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  434.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuusr.obj ckuusr.c
  435. $ library/replace wermit.olb ckuusr.obj
  436. $ delete ckuusr.obj.*
  437. $ write sys$output "  Compiling CKUUSX"
  438. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  439.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  440.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuusx.obj ckuusx.c
  441. $ library/replace wermit.olb ckuusx.obj
  442. $ delete ckuusx.obj.*
  443. $ write sys$output "  Compiling CKUUSY"
  444. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  445.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  446.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuusy.obj ckuusy.c
  447. $ library/replace wermit.olb ckuusy.obj
  448. $ delete ckuusy.obj.*
  449. $
  450. $ write sys$output "  Compiling CKUXLA"
  451. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  452.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  453.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckuxla.obj ckuxla.c
  454. $ library/replace wermit.olb ckuxla.obj
  455. $ delete ckuxla.obj.*
  456. $ write sys$output "  Compiling CKVCON"
  457. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  458.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  459.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckvcon.obj ckvcon.c
  460. $ library/replace wermit.olb ckvcon.obj
  461. $ delete ckvcon.obj.*
  462. $
  463. $ write sys$output "  Linking WERMIT"
  464. $ if net_option .eqs. "MULTINET"
  465. $ then
  466. $ ! No symbol table     -lt.  1992-08-14  
  467. $ link wermit.olb/library/include=(ckcfn2, ckcfn3, ckcfns,-
  468.     ckcmai, ckcpro, ckucmd, ckudia, ckuscr, ckuus2, ckuus3, ckuus4, ckuus5,-
  469.     ckuus6, ckuus7, ckuusr, ckuxla, ckvcon, ckcnet, ckvfio, ckvtio),-
  470.     sys$share:vaxcrtl.olb/library/exec=wermit.exe, sys$input:/options
  471. multinet:multinet_socket_library.exe/share 
  472. $ else
  473. $ if net_option .eqs. "WINTCP"
  474. $ then
  475. $ ! No symbol table     -lt.  1992-08-14  
  476. $ link wermit.olb/library/include=(ckcfn2, ckcfn3, ckcfns,-
  477.     ckcmai, ckcpro, ckucmd, ckudia, ckuscr, ckuus2, ckuus3, ckuus4, ckuus5,-
  478.     ckuus6, ckuus7, ckuusr, ckuxla, ckvcon, ckcnet, ckvfio, ckvtio),-
  479.     twg$tcp:[netdist.lib]twglib.olb/library,-
  480.     sys$share:vaxcrtl.olb/library/exec=wermit.exe
  481. $ else
  482. $ if net_option .eqs. "DEC_TCPIP" !    -lt.  1992-09-14  
  483. $ then
  484. $ ! No symbol table     -lt.  1992-08-14  
  485. $ link wermit.olb/exec=wermit.exe/library -
  486.     /include=(ckcfn2, ckcfn3, ckcfns,-
  487.     ckcmai, ckcpro, ckucmd, ckudia, ckuscr, ckuus2, ckuus3, ckuus4, ckuus5,-
  488.     ckuus6, ckuus7, ckuusr, ckuxla, ckvcon, ckcnet, ckvfio, ckvtio, ckvioc),-
  489.     sys$library:ucx$ipc.olb/library, -
  490.     sys$share:vaxcrtl.olb/library 
  491. $ else
  492. $ ! No symbol table     -lt.  1992-08-14  
  493. $ link wermit.olb/exec=wermit.exe/library/include=(ckcfn2, ckcfn3, ckcfns,-
  494.     ckcmai, ckcpro, ckucmd, ckudia, ckuscr, ckuus2, ckuus3, ckuus4, ckuus5,-
  495.     ckuus6, ckuus7, ckuusr, ckuxla, ckvcon, ckcnet, ckvfio, ckvtio),-
  496.     sys$share:vaxcrtl.olb/library 
  497. $ endif
  498. $ endif
  499. $ endif
  500. $ set file/protection=(g:re,w:re) wermit.exe
  501. $ write sys$output "Done building WERMIT"
  502. $ exit 
  503. $ write sys$output "Building CKVCVT"
  504. $ write sys$output "  Compiling CKVCVT"
  505. $ cc/debug/standard='lint_standard'/optimize/define=("DEBUG",-
  506.   "TLOG", "DYNAMIC", "CK_CURSES", "IFDEBUG", "KANJI", -
  507.   "''net_option'", "''cc_ver'", "''vms_ver'")/obj=ckvcvt.obj ckvcvt.c
  508. $ write sys$output "  Linking CKVCVT"
  509. $ ! No symbol table     -lt.  1992-08-14  
  510. $ link/exec=ckvcvt ckvcvt.obj, sys$share:vaxcrtl.olb/library
  511. $ set file/protection=(g:re,w:re) ckvcvt.exe
  512. $ purge ckvcvt.obj
  513. $ write sys$output "Done building CKVCVT"
  514. $ exit
  515. $ EndSubroutine !VAX_Build
  516. $
  517. $ !________________________   End of File   __________________________________
  518.