home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ck9197.zip / ckuver.h < prev    next >
C/C++ Source or Header  |  2000-01-30  |  21KB  |  1,074 lines

  1. /* ckuver.h -- C-Kermit UNIX Version heralds */
  2. /*
  3.   Author: Frank da Cruz <fdc@columbia.edu>,
  4.   Columbia University Academic Information Systems, New York City.
  5.  
  6.   Copyright (C) 1985, 2000,
  7.     Trustees of Columbia University in the City of New York.
  8.     All rights reserved.  See the C-Kermit COPYING.TXT file or the
  9.     copyright text in the ckcmai.c module for disclaimer and permissions.
  10. */
  11.  
  12. #ifndef CKUVER_H
  13. #define CKUVER_H
  14.  
  15. /* Arranged more or less alphabetically by compiler symbol */
  16. /* Must be included AFTER ckcdeb.h. */
  17.  
  18. #ifdef BEOS
  19. #ifdef BEOS45
  20. #define HERALD " BeOS 4.5"
  21. #else
  22. #define HERALD " BeOS"
  23. #endif /* BEOS45 */
  24. #else
  25. #ifdef BEBOX
  26. #ifdef BE_DR_7
  27. #define HERALD " BeBox DR7"
  28. #else
  29. #define HERALD " BeBox"
  30. #endif /* BE_DR_7 */
  31. #endif /* BEBOX */
  32. #endif /* BEOX */
  33.  
  34. #ifdef BELLV10
  35. #define HERALD " Bell Labs Research UNIX V10"
  36. #endif /* BELLV10 */
  37.  
  38. #ifdef APOLLOSR10
  39. #define HERALD " Apollo SR10"
  40. #endif /* APOLLOSR10 */
  41.  
  42. #ifdef MAC
  43. #define HERALD " Apple Macintosh"
  44. #endif /* MAC */
  45.  
  46. #ifdef A986
  47. #define HERALD " Altos 986 / Xenix 3.0"
  48. #endif /* A986 */
  49.  
  50. #ifdef AS400
  51. #define HERALD " AS/400"
  52. #endif /* AS400 */
  53.  
  54. #ifdef aegis
  55. #ifdef BSD4
  56. #define HERALD " Apollo DOMAIN/IX 4.2 BSD"
  57. #else
  58. #ifdef ATTSV
  59. #define HERALD " Apollo DOMAIN/IX System V"
  60. #else
  61. #define HERALD " Apollo Aegis"
  62. #endif /* BSD4  */
  63. #endif /* ATTSV */
  64. #endif /* aegis */
  65.  
  66. #ifndef HERALD
  67.  
  68. #ifdef AIXRS
  69. #ifdef AIX45
  70. #define HERALD " IBM AIX 4.5"
  71. #else
  72. #ifdef AIX44
  73. #define HERALD " IBM AIX 4.4"
  74. #else
  75. #ifdef AIX43
  76. #define HERALD " IBM AIX 4.3"
  77. #else
  78. #ifdef AIX42
  79. #define HERALD " IBM AIX 4.2"
  80. #else
  81. #ifdef SVR4
  82. #ifdef AIX41
  83. #define HERALD " IBM AIX 4.1"
  84. #else
  85. #define HERALD " IBM RS/6000 AIX 3.2"
  86. #endif /* AIX41 */
  87. #else
  88. #define HERALD " IBM RS/6000 AIX 3.0/3.1"
  89. #endif /* SVR4 */
  90. #endif /* AIX42 */
  91. #endif /* AIX43 */
  92. #endif /* AIX44 */
  93. #endif /* AIX45 */
  94. #endif /* AIXRS */
  95.  
  96. #ifdef PS2AIX10
  97. #define HERALD " IBM PS/2 AIX 1.x"
  98. #endif /* PS2AIX10 */
  99.  
  100. #ifdef AIXPS2
  101. #define HERALD " IBM PS/2 AIX 3.x"
  102. #endif /* AIXPS2 */
  103.  
  104. #ifdef AIX370
  105. #ifndef HERALD
  106. #define HERALD " IBM System/370 AIX/370"
  107. #endif
  108. #endif /* AIX370 */
  109.  
  110. #ifdef AIXESA
  111. #ifndef HERALD
  112. #define HERALD " IBM AIX/ESA version 2.1"
  113. #endif
  114. #endif /* AIXESA */
  115.  
  116. #ifdef ATT6300
  117. #define HERALD " AT&T 6300"
  118. #endif /* ATT6300 */
  119.  
  120. #ifdef ATT7300
  121. #ifdef UNIX351M
  122. #define HERALD " AT&T 7300 UNIX PC UNIX 3.51m"
  123. #else
  124. #define HERALD " AT&T 7300 UNIX PC"
  125. #endif /* UNIX351M */
  126. #endif /* ATT7300 */
  127.  
  128. #ifdef AUX
  129. #define HERALD " Apple Macintosh AUX"
  130. #endif /* AUX */
  131.  
  132. #ifdef BSD44
  133. #ifdef MACOSX
  134. #ifdef MACOSX10
  135. #define HERALD " Mac OS X 1.0"
  136. #else
  137. #define HERALD " Mac OS X"
  138. #endif /* MACOSX10 */
  139. #else
  140. #ifdef OPENBSD
  141. #define HERALD " OpenBSD"
  142. #else
  143. #ifdef __bsdi__
  144. #ifdef BSDI4
  145. #define HERALD " BSDI BSD/OS 4.0"
  146. #else
  147. #ifdef BSDI3
  148. #define HERALD " BSDI BSD/OS 3.0"
  149. #else
  150. #ifdef BSDI2
  151. #define HERALD " BSDI BSD/OS 2.0"    /* 1.1++ name... */
  152. #else
  153. #define HERALD " BSDI BSD/386"        /* Original 1.0 name */
  154. #endif /* BSDI2 */
  155. #endif /* BSDI3 */
  156. #endif /* BSDI4 */
  157. #else  /* __bsdi__ */
  158. #ifdef __NetBSD__
  159. #define HERALD " NetBSD"
  160. #else
  161. #ifdef __FreeBSD__
  162. #ifdef FREEBSD3
  163. #define HERALD " FreeBSD 3.0"
  164. #else
  165. #ifdef FREEBSD2
  166. #define HERALD " FreeBSD 2.0"
  167. #else
  168. #define HERALD " FreeBSD"
  169. #endif /* FREEBSD2 */
  170. #endif /* FREEBSD3 */
  171. #else
  172. #ifdef __386BSD__
  173. #define HERALD " 386BSD"
  174. #else
  175. #define HERALD " 4.4BSD"
  176. #endif /* __386BSD__ */
  177. #endif /* __FreeBSD__ */
  178. #endif /* __NetBSD__ */
  179. #endif /* __bsdi__ */
  180. #endif /* OPENBSD */
  181. #endif /* MACOSX */
  182. #endif /* BSD44 */
  183.  
  184. #ifdef ENCORE
  185. #ifdef BSD43
  186. #define HERALD " Encore Multimax UMAX 4.3"
  187. #else
  188. #define HERALD " Encore Multimax UMAX 4.2"
  189. #endif
  190. #endif /* ENCORE */
  191.  
  192. #ifdef BSD29
  193. #define HERALD " 2.9 BSD"
  194. #endif /* BSD29 */
  195.  
  196. #ifdef BSD41
  197. #define HERALD " 4.1 BSD"
  198. #endif /* BSD41 */
  199.  
  200. #ifdef C70
  201. #define HERALD " BBN C/70"
  202. #endif /* c70 */
  203.  
  204. #ifdef CIE
  205. #define HERALD " CIE Systems 680/20 Regulus"
  206. #endif /* CIE */
  207.  
  208. #ifdef COHERENT
  209. #ifdef _I386
  210. #define HERALD " MWC Coherent 386 4.x"
  211. #ifndef i386
  212. #define i386
  213. #endif /* i386 */
  214. #else
  215. #define HERALD " PC/AT MWC Coherent 286 3.x"
  216. #ifndef i286
  217. #define i286
  218. #endif /* i286 */
  219. #endif /* _I386 */
  220. #endif /* COHERENT */
  221.  
  222. #ifdef CONVEX9
  223. #define HERALD " Convex/OS"
  224. #endif /* CONVEX9 */
  225.  
  226. #ifdef CONVEX10
  227. #define HERALD " Convex/OS 10.1"
  228. #endif /* CONVEX10 */
  229.  
  230. #ifdef _CRAY
  231. #ifdef _CRAYCOM
  232. #define HERALD " Cray CSOS"
  233. #else /* _CRAYCOM */
  234. #define HERALD " Cray UNICOS"
  235. #endif /* _CRAYCOM */
  236. #endif /* _CRAY */
  237.  
  238. #ifdef DGUX
  239. #ifdef DGUX54420
  240. #define HERALD " Data General DG/UX R4.20"
  241. #else
  242. #ifdef DGUX54411
  243. #define HERALD " Data General DG/UX R4.11"
  244. #else
  245. #ifdef DGUX54410
  246. #define HERALD " Data General DG/UX R4.10"
  247. #else
  248. #ifdef DGUX54310
  249. #define HERALD " Data General DG/UX 5.4R3.10"
  250. #else
  251. #ifdef DGUX543
  252. #define HERALD " Data General DG/UX 5.4R3.00"
  253. #else
  254. #ifdef DGUX540
  255. #define HERALD " Data General DG/UX 5.4"
  256. #else
  257. #ifdef DGUX430
  258. #define HERALD " Data General DG/UX 4.30"
  259. #else
  260. #define HERALD " Data General DG/UX"
  261. #endif /* DGUX430 */
  262. #endif /* DGUX540 */
  263. #endif /* DGUX543 */
  264. #endif /* DGUX54310 */
  265. #endif /* DGUX54410 */
  266. #endif /* DGUX54411 */
  267. #endif /* DGUX54420 */
  268. #endif /* DGUX */
  269.  
  270. #ifdef datageneral
  271. #ifndef HERALD
  272. #define HERALD " Data General AOS/VS"
  273. #endif /* HERALD */
  274. #endif /* datageneral */
  275.  
  276. #ifdef SINIX
  277. #ifdef SNI544
  278. #define HERALD " Siemens Nixdorf Reliant UNIX V5.44"
  279. #else
  280. #ifdef SNI543
  281. #define HERALD " Siemens Nixdorf Reliant UNIX V5.43"
  282. #else
  283. #ifdef SNI541
  284. #define HERALD " Siemens Nixdorf SINIX V5.41"
  285. #else
  286. #define HERALD " Siemens Nixdorf SINIX V5.42"
  287. #endif /* SNI541 */
  288. #endif /* SNI543 */
  289. #endif /* SNI544 */
  290. #endif /* SINIX */
  291.  
  292. #ifdef DELL_SVR4
  293. #define HERALD " Dell System V R4"
  294. #endif /* DELL_SVR4 */
  295.  
  296. #ifdef NCRMPRAS
  297. #define HERALD " NCR MP-RAS"
  298. #endif /* NCRMPRAS */
  299.  
  300. #ifdef UNIXWARE
  301. #define HERALD " UnixWare"
  302. #else
  303. #ifdef OLD_UNIXWARE
  304. #define HERALD " UnixWare"
  305. #endif /* OLD_UNIXWARE */
  306. #endif /* UNIXWARE */
  307.  
  308. #ifdef ICL_SVR4
  309. #define HERALD " ICL System V R4 DRS N/X"
  310. #endif /* ICL_SVR4 */
  311.  
  312. #ifdef FT18
  313. #ifdef FT21
  314. #define HERALD " Fortune For:Pro 2.1"
  315. #else
  316. #define HERALD " Fortune For:Pro 1.8"
  317. #endif /* FT21 */
  318. #endif /* FT18 */
  319.  
  320. #ifdef GEMDOS
  321. #define HERALD " Atari ST GEM 1.0"
  322. #endif /* GEMDOS */
  323.  
  324. #ifdef XF68R3V6
  325. #define HERALD " Motorola UNIX System V/68 R3V6"
  326. #endif /* XF68R3V6 */
  327.  
  328. #ifdef XF88R32
  329. #define HERALD " Motorola UNIX System V/88 R32"
  330. #endif /* XF88R32 */
  331.  
  332. #ifdef I386IX
  333. #ifdef SVR3JC
  334. #define HERALD " Interactive UNIX System V/386 R3.2"
  335. #else
  336. #define HERALD " Interactive Systems Corp 386/ix"
  337. #endif /* SVR3JC */
  338. #endif /* I386IX */
  339.  
  340. #ifdef IRIX65
  341. #define HERALD " Silicon Graphics IRIX 6.5"
  342. #else
  343. #ifdef IRIX64
  344. #define HERALD " Silicon Graphics IRIX 6.4"
  345. #else
  346. #ifdef IRIX63
  347. #define HERALD " Silicon Graphics IRIX 6.3"
  348. #else
  349. #ifdef IRIX62
  350. #define HERALD " Silicon Graphics IRIX 6.2"
  351. #else
  352. #ifdef IRIX60
  353. #define HERALD " Silicon Graphics IRIX 6.0"
  354. #else
  355. #ifdef IRIX53
  356. #define HERALD " Silicon Graphics IRIX 5.3"
  357. #else
  358. #ifdef IRIX52
  359. #define HERALD " Silicon Graphics IRIX 5.2"
  360. #else
  361. #ifdef IRIX51
  362. #define HERALD " Silicon Graphics IRIX 5.1"
  363. #else
  364. #ifdef IRIX40
  365. #define HERALD " Silicon Graphics IRIX 4.0"
  366. #endif /* IRIX40 */
  367. #endif /* IRIX51 */
  368. #endif /* IRIX52 */
  369. #endif /* IRIX53 */
  370. #endif /* IRIX60 */
  371. #endif /* IRIX62 */
  372. #endif /* IRIX63 */
  373. #endif /* IRIX64 */
  374. #endif /* IRIX65 */
  375.  
  376. #ifdef ISIII
  377. #define HERALD " Interactive Systems Corp System III"
  378. #endif /* ISIII */
  379.  
  380. #ifdef IX370
  381. #define HERALD " IBM IX/370"
  382. #endif /* IX370 */
  383.  
  384. #ifdef HPUX
  385. #ifdef HPUX5
  386. #define HERALD " HP-UX 5.00"
  387. #else
  388. #ifdef HPUX6
  389. #define HERALD " HP-UX 6.00"
  390. #else
  391. #ifdef HPUX7
  392. #define HERALD " HP-UX 7.00"
  393. #else
  394. #ifdef HPUX8
  395. #define HERALD " HP-UX 8.00"
  396. #else
  397. #ifdef HPUX9
  398. #define HERALD " HP-UX 9.00"
  399. #else
  400. #ifdef HPUX1100
  401. #define HERALD " HP-UX 11.00"
  402. #else
  403. #ifdef HPUX10
  404. #ifdef HPUX1030
  405. #define HERALD " HP-UX 10.30"
  406. #else
  407. #ifdef HPUX1020
  408. #define HERALD " HP-UX 10.20"
  409. #else
  410. #ifdef HPUX1010
  411. #define HERALD " HP-UX 10.10"
  412. #else
  413. #ifdef HPUX10xx
  414. #define HERALD " HP-UX 10.xx"
  415. #else
  416. #define HERALD " HP-UX 10.00"
  417. #endif /* HPUX10XX */
  418. #endif /* HPUX1010 */
  419. #endif /* HPUX1020 */
  420. #endif /* HPUX1030 */
  421. #else
  422. #define HERALD " HP-UX"
  423. #endif /* HPUX10 */
  424. #endif /* HPUX1100 */
  425. #endif /* HPUX9  */
  426. #endif /* HPUX8  */
  427. #endif /* HPUX7  */
  428. #endif /* HPUX6  */
  429. #endif /* HPUX5  */
  430. #endif /* HPUX   */
  431.  
  432. #ifdef MINIX
  433. #ifdef MINIX2
  434. #define HERALD " Minix 2.0"
  435. #else
  436. #define HERALD " Minix 1.x"
  437. #endif /* MINIX2 */
  438. #endif /* MINIX */
  439.  
  440. #ifdef MIPS
  441. #define HERALD " MIPS RISC/OS SVR3"
  442. #endif /* MIPS */
  443.  
  444. #ifdef NEXT
  445. #ifdef OPENSTEP42
  446. #define HERALD " OPENSTEP 4.2"
  447. #else
  448. #ifdef NEXT33
  449. #define HERALD " NeXTSTEP 3.3"
  450. #else
  451. #define HERALD " NeXTSTEP"
  452. #endif /* NEXT33 */
  453. #endif /* OPENSTEP42 */
  454. #endif /* NEXT */
  455.  
  456. #ifdef OSF
  457. #ifdef i386
  458. #define HERALD " DECpc OSF/1"
  459. #ifdef __GNUC
  460. #define OSFPC
  461. #endif /* __GNUC */
  462. #else
  463. #ifdef __alpha
  464. #ifdef OSF50
  465. #define HERALD " Compaq Tru64 UNIX 5.0"
  466. #else
  467. #ifdef OSF40
  468. #ifdef TRU64
  469. #ifdef OSF40G
  470. #define HERALD " Compaq Tru64 UNIX 4.0G"
  471. #else
  472. #define HERALD " Compaq Tru64 UNIX 4.0E"
  473. #endif /* OSF40G */
  474. #else
  475. #define HERALD " Digital UNIX 4.0"
  476. #endif /* TRU64 */
  477. #else
  478. #ifdef OSF32
  479. #define HERALD " Digital UNIX 3.2"
  480. #else
  481. #define HERALD " DEC OSF/1 Alpha"
  482. #endif /* OSF50 */
  483. #endif /* OSF40 */
  484. #endif /* OSF32 */
  485. #else
  486. #define HERALD " DEC OSF/1"
  487. #endif /* __alpha */
  488. #endif /* i386 */
  489. #endif /* OSF */
  490.  
  491. #ifdef PCIX
  492. #define HERALD " PC/IX"
  493. #endif /* PCIX */
  494.  
  495. #ifdef sxaE50
  496. #define HERALD " PFU SX/A V10/L50"
  497. #endif /* sxaE50 */
  498.  
  499. #ifdef PROVX1
  500. #define HERALD " DEC Professional 300 (Venix 1.0)"
  501. #endif /* PROVX1 */
  502.  
  503. #ifdef PYRAMID
  504. #ifdef SVR4
  505. #define HERALD " Pyramid DC/OSx"
  506. #else
  507. #define HERALD " Pyramid Dual Port OSx"
  508. #endif /* SVR4 */
  509. #endif /* PYRAMID */
  510.  
  511. #ifdef RTAIX
  512. #define HERALD " IBM RT PC (AIX 2.2)"
  513. #endif /* RTAIX */
  514.  
  515. #ifdef RTU
  516. #define HERALD " Masscomp/Concurrent RTU"
  517. #endif /* RTU */
  518.  
  519. #ifdef sony_news
  520. #define HERALD " SONY NEWS"
  521. #endif /* sony_news */
  522.  
  523. #ifdef SOLARIS24
  524. #define HERALD " Solaris 2.4"
  525. #else
  526. #ifdef SOLARIS23
  527. #define HERALD " Solaris 2.3"
  528. #else
  529. #ifdef SOLARIS
  530. #define HERALD " Solaris 2.x"
  531. #endif /* SOLARIS */
  532. #endif /* SOLARIS23 */
  533. #endif /* SOLARIS24 */
  534.  
  535. #ifdef SUNOS4
  536. #ifdef BSD4
  537. #ifdef SUNOS41
  538. #define HERALD " SunOS 4.1"
  539. #else
  540. #define HERALD " SunOS 4.0"
  541. #endif /* SUNOS41 */
  542. #endif /* BSD4 */
  543. #endif /* SUNOS4 */
  544.  
  545. #ifdef SUN4S5
  546. #ifdef HDBUUCP
  547. #define HERALD " SunOS 4.1 (SVR3)"
  548. #else
  549. #define HERALD " SunOS 4.0 (SVR3)"
  550. #endif /* HDBUUCP */
  551. #endif /* SUN4S5 */
  552.  
  553. #ifdef STRATUS
  554. #define HERALD " Stratus VOS"
  555. #endif /* STRATUS */
  556.  
  557. #ifdef TOWER1
  558. #define HERALD " NCR Tower 1632 OS 1.02"
  559. #endif /* TOWER1 */
  560.  
  561. #ifdef TRS16
  562. #define HERALD " Tandy 16/6000 Xenix 3.0"
  563. #ifndef CKCPU
  564. #define CKCPU "mc68000"
  565. #endif /* CKCPU */
  566. #endif /* TRS16 */
  567.  
  568. #ifdef u3b2
  569. #ifndef HERALD
  570. #ifdef SVR3
  571. #define HERALD " AT&T 3B2 System V R3"
  572. #else
  573. #define HERALD " AT&T 3B2 System V"
  574. #endif /* SVR3 */
  575. #endif /* HERALD */
  576. #endif /* u3b2 */
  577.  
  578. #ifdef ultrix
  579. #ifdef vax
  580. #define HERALD " VAX/ULTRIX"
  581. #else
  582. #ifdef mips
  583. #ifdef ULTRIX43
  584. #define HERALD " DECstation/ULTRIX 4.3"
  585. #else
  586. #ifdef ULTRIX44
  587. #define HERALD " DECstation/ULTRIX 4.4"
  588. #else
  589. #ifdef ULTRIX45
  590. #define HERALD " DECstation/ULTRIX 4.5"
  591. #else
  592. #define HERALD " DECstation/ULTRIX"
  593. #endif /* ULTRIX45 */
  594. #endif /* ULTRIX44 */
  595. #endif /* ULTRIX43 */
  596. #else
  597. #define HERALD " ULTRIX"
  598. #endif /* mips */
  599. #endif /* vax */
  600. #endif /* ultrix */
  601.  
  602. #ifdef OXOS
  603. #define HERALD " Olivetti X/OS"
  604. #endif /* OXOS */
  605.  
  606. #ifdef _386BSD
  607. #define HERALD " 386BSD"
  608. #endif /* _386BSD */
  609.  
  610. #ifdef POSIX
  611. #ifdef PTX
  612. #ifdef PTX4
  613. #define HERALD " DYNIX/ptx V4"
  614. #else
  615. #define HERALD " DYNIX/ptx"
  616. #endif /* PTX4 */
  617. #else
  618. #ifdef HERALD
  619. #undef HERALD
  620. #endif /* HERALD */
  621. #ifdef UW7
  622. #define HERALD " Unixware 7"
  623. #else
  624. #ifdef QNX
  625. #ifdef QNX16
  626. #define HERALD " QNX 16-bit"
  627. #else
  628. #define HERALD " QNX 32-bit"
  629. #endif /* QNX16 */
  630. #else
  631. #ifdef __linux__
  632. #define HERALD " Linux"
  633. #else
  634. #ifdef _386BSD                /* 386BSD Jolix */
  635. #define HERALD " 386BSD"
  636. #else
  637. #ifdef LYNXOS                /* Lynx OS 2.2 */
  638. #define HERALD " Lynx OS"
  639. #else
  640. #ifdef Plan9
  641. #define HERALD " Plan 9 from Bell Labs"
  642. #else
  643. #ifdef SOLARIS8
  644. #define HERALD " Solaris 8"
  645. #else
  646. #ifdef SOLARIS7
  647. #define HERALD " Solaris 7"
  648. #else
  649. #ifdef SOLARIS26
  650. #define HERALD " Solaris 2.6"
  651. #else
  652. #ifdef SOLARIS25
  653. #define HERALD " Solaris 2.5"
  654. #else
  655. #ifdef SOLARIS24
  656. #define HERALD " Solaris 2.4"
  657. #else
  658. #ifdef SOLARIS
  659. #define HERALD " Solaris 2.x"
  660. #endif /* SOLARIS */
  661. #endif /* SOLARIS24 */
  662. #endif /* SOLARIS25 */
  663. #endif /* SOLARIS26 */
  664. #endif /* SOLARIS7 */
  665. #endif /* SOLARIS8 */
  666. #endif /* Plan9 */
  667. #endif /* LYNXOS */
  668. #endif /* _386BSD */
  669. #endif /* __linux__ */
  670. #endif /* QNX */
  671. #endif /* UW7 */
  672. #endif /* PTX */
  673. #endif /* POSIX */
  674.  
  675. #ifdef UTS24
  676. #define HERALD " Amdahl UTS 2.4"
  677. #endif /* UTS24 */
  678.  
  679. #ifdef UTSV
  680. #define HERALD " Amdahl UTS V"
  681. #endif /* UTSV */
  682.  
  683. #ifdef VXVE
  684. #define HERALD " CDC VX/VE 5.2.1 System V"
  685. #endif /* VXVE */
  686.  
  687. #ifdef SCO234
  688. #ifdef HERALD
  689. #undef HERALD
  690. #endif /* HERALD */
  691. #define HERALD " SCO XENIX 2.3.4"
  692. #else
  693. #ifdef CK_SCO32V4
  694. #ifdef HERALD
  695. #undef HERALD
  696. #endif /* HERALD */
  697. #ifdef ODT30
  698. #define HERALD " SCO ODT 3.0"
  699. #else
  700. #define HERALD " SCO UNIX/386 V4"
  701. #endif /* ODT30 */
  702. #else
  703. #ifdef CK_SCOV5
  704. #ifdef HERALD
  705. #undef HERALD
  706. #endif /* HERALD */
  707. #ifdef SCO_OSR505
  708. #define HERALD " SCO OpenServer R5.0.5"
  709. #else
  710. #ifdef SCO_OSR504
  711. #define HERALD " SCO OpenServer R5.0.4"
  712. #else
  713. #ifdef SCO_OSR502
  714. #define HERALD " SCO OpenServer R5.0.2"
  715. #else
  716. #define HERALD " SCO OpenServer R5.0"
  717. #endif /* SCO_OSR502 */
  718. #endif /* SCO_OSR504 */
  719. #endif /* SCO_OSR505 */
  720. #else
  721. #ifdef XENIX
  722. #ifdef HERALD
  723. #undef HERALD
  724. #endif /* HERALD */
  725. #ifdef M_UNIX
  726. #define HERALD " SCO UNIX/386"
  727. #else
  728. #ifdef M_I386
  729. #define HERALD " Xenix/386"
  730. #else
  731. #ifdef M_I286
  732. #define HERALD " Xenix/286"
  733. #else
  734. #define HERALD " Xenix"
  735. #endif /* M_I286 */
  736. #endif /* M_I386 */
  737. #endif /* M_UNIX */
  738. #endif /* XENIX  */
  739. #endif /* CK_SCOV5 */
  740. #endif /* CK_SCOV32V4 */
  741. #endif /* SCO234 */
  742.  
  743. #ifdef ZILOG
  744. #define HERALD " Zilog S8000 Zeus 3.21+"
  745. #endif /* ZILOG */
  746.  
  747. #ifdef UTEK
  748. #define HERALD " UTek"
  749. #endif /* UTEK */
  750.  
  751. /* Catch-alls for anything not defined explicitly above */
  752.  
  753. #ifndef HERALD
  754. #ifdef SVR4
  755. #ifdef i386
  756. #define HERALD " AT&T System V/386 R4"
  757. #else
  758. #ifdef AMIX
  759. #define HERALD " Commodore Amiga System V/m68k R4"
  760. #else
  761. #define HERALD " AT&T System V R4"
  762. #endif /* AMIX */
  763. #endif /* i386 */
  764. #else
  765. #ifdef SVR3
  766. #define HERALD " AT&T System V R3"
  767. #else
  768. #ifdef ATTSV
  769. #define HERALD " AT&T System III / System V"
  770. #else
  771. #ifdef BSD43
  772. #ifdef pdp11
  773. #define HERALD " PDP-11 2.10 BSD"
  774. #else
  775. #ifdef vax
  776. #define HERALD " VAX 4.3 BSD"
  777. #else
  778. #define HERALD " 4.3 BSD"
  779. #endif /* vax */
  780. #endif /* pdp11 */
  781. #else
  782. #ifdef BSD4
  783. #ifdef vax
  784. #define HERALD " VAX 4.2 BSD"
  785. #else
  786. #define HERALD " 4.2 BSD"
  787. #endif /* vax */
  788. #else
  789. #ifdef V7
  790. #define HERALD " UNIX Version 7"
  791. #endif /* V7 */
  792. #endif /* BSD4 */
  793. #endif /* BSD43 */
  794. #endif /* ATTSV */
  795. #endif /* SVR3 */
  796. #endif /* SVR4 */
  797. #endif /* HERALD */
  798. #endif /* HERALD */
  799.  
  800. #ifdef OS2
  801. #ifdef HERALD
  802. #undef HERALD
  803. #endif /* HERALD */
  804. #ifdef NT
  805. #define HERALD " 32-bit Windows"
  806. #else /* NT */
  807. #define HERALD " 32-bit OS/2"
  808. #endif /* NT */
  809. #endif /* OS/2 */
  810.  
  811. #ifndef HERALD
  812. #define HERALD " Unknown Version"
  813. #endif /* HERALD */
  814.  
  815. /* Hardware type */
  816.  
  817. #ifdef vax                /* DEC VAX */
  818. #ifndef CKCPU
  819. #define CKCPU "vax"
  820. #endif /* CKCPU */
  821. #endif /*  vax */
  822. #ifdef pdp11                /* DEC PDP-11 */
  823. #ifndef CKCPU
  824. #define CKCPU "pdp11"
  825. #endif /* CKCPU */
  826. #endif /* pdp11 */
  827.  
  828. #ifdef __ALPHA                /* DEC Alpha */
  829. #ifndef CKCPU
  830. #define CKCPU "Alpha"
  831. #endif /* CKCPU */
  832. #endif /* __ALPHA */
  833.  
  834. #ifdef __alpha                /* OSF/1 uses lowercase... */
  835. #ifndef CKCPU
  836. #define CKCPU "Alpha"
  837. #endif /* CKCPU */
  838. #endif /* __alpha */
  839.  
  840. #ifdef DGUX                /* Override Motorola 88k assumption */
  841. #ifndef CKCPU                /* New AViiONs are Intel based... */
  842. #ifdef i586
  843. #define CKCPU "i586"
  844. #else
  845. #ifdef i486
  846. #define CKCPU "i486"
  847. #else
  848. #ifdef i386
  849. #define CKCPU "i386"
  850. #endif /* i386 */
  851. #endif /* i486 */
  852. #endif /* i586 */
  853. #endif /* CKCPU */
  854. #endif /* DGUX */
  855.  
  856. /* HP 9000 */
  857.  
  858. #ifdef __hp9000s700
  859. #ifndef CKCPU
  860. #define CKCPU "hp9000s700"
  861. #endif /* CKCPU */
  862. #endif /* __hp9000s700 */
  863.  
  864. #ifdef __hp9000s800
  865. #ifndef CKCPU
  866. #define CKCPU "hp9000s800"
  867. #endif /* CKCPU */
  868. #endif /* __hp9000s800 */
  869.  
  870. #ifdef __hp9000s500
  871. #ifndef CKCPU
  872. #define CKCPU "hp9000s500"
  873. #endif /* CKCPU */
  874. #endif /* __hp9000s500 */
  875.  
  876. #ifdef __hp9000s400
  877. #ifndef CKCPU
  878. #define CKCPU "hp9000s400"
  879. #endif /* CKCPU */
  880. #endif /* __hp9000s400 */
  881.  
  882. #ifdef __hp9000s300
  883. #ifndef CKCPU
  884. #define CKCPU "hp9000s300"
  885. #endif /* CKCPU */
  886. #endif /* __hp9000s300 */
  887.  
  888. #ifdef __hp9000s200
  889. #ifndef CKCPU
  890. #define CKCPU "hp9000s200"
  891. #endif /* CKCPU */
  892. #endif /* __hp9000s200 */
  893.  
  894. #ifdef m88000                /* Motorola 88000 */
  895. #ifndef CKCPU
  896. #define CKCPU "mc88000"
  897. #endif /* CKCPU */
  898. #endif /* m88000 */
  899. #ifdef __using_M88KBCS            /* DG symbol for Motorola 88000 */
  900. #ifndef CKCPU
  901. #define CKCPU "mc88000"
  902. #endif /* CKCPU */
  903. #endif /* __using_M88KBCS */
  904. #ifdef m88k                /* Motorola symbol for 88000 */
  905. #ifndef CKCPU
  906. #define CKCPU "mc88000"
  907. #endif /* CKCPU */
  908. #endif /* m88k */
  909. #ifdef mc68040                /* Motorola 68040 */
  910. #ifndef CKCPU
  911. #define CKCPU "mc68040"
  912. #endif /* CKCPU */
  913. #endif /* mc68040 */
  914. #ifdef mc68030                /* Motorola 68030 */
  915. #ifndef CKCPU
  916. #define CKCPU "mc68030"
  917. #endif /* CKCPU */
  918. #endif /* mc68030 */
  919. #ifdef mc68020                /* Motorola 68020 */
  920. #ifndef CKCPU
  921. #define CKCPU "mc68020"
  922. #endif /* CKCPU */
  923. #endif /* mc68020 */
  924. #ifdef mc68010                /* Motorola 68010 */
  925. #ifndef CKCPU
  926. #define CKCPU "mc68010"
  927. #endif /* CKCPU */
  928. #endif /* mc68010 */
  929. #ifdef mc68000                /* Motorola 68000 */
  930. #ifndef CKCPU
  931. #define CKCPU "mc68000"
  932. #endif /* CKCPU */
  933. #endif /* mc68000 */
  934. #ifdef mc68k                /* Ditto (used by DIAB DS90) */
  935. #ifndef CKCPU
  936. #define CKCPU "mc68000"
  937. #endif /* CKCPU */
  938. #endif /* mc68k */
  939. #ifdef m68                /* Ditto */
  940. #ifndef CKCPU
  941. #define CKCPU "mc68000"
  942. #endif /* CKCPU */
  943. #endif /* m68 */
  944. #ifdef m68k                /* Ditto */
  945. #ifndef CKCPU
  946. #define CKCPU "mc68000"
  947. #endif /* CKCPU */
  948. #endif /* m68k */
  949.  
  950. #ifdef i686                /* Intel 80686 */
  951. #ifndef CKCPU
  952. #define CKCPU "i686"
  953. #endif /* CKCPU */
  954. #endif /* i686 */
  955.  
  956. #ifdef i586                /* Intel 80586 */
  957. #ifndef CKCPU
  958. #define CKCPU "i586"
  959. #endif /* CKCPU */
  960. #endif /* i586 */
  961.  
  962. #ifdef i486                /* Intel 80486 */
  963. #ifndef CKCPU
  964. #define CKCPU "i486"
  965. #endif /* CKCPU */
  966. #endif /* i80486 */
  967. #ifdef i386                /* Intel 80386 */
  968. #ifndef CKCPU
  969. #define CKCPU "i386"
  970. #endif /* CKCPU */
  971. #endif /* i80386 */
  972. #ifdef i286                /* Intel 80286 */
  973. #ifndef CKCPU
  974. #define CKCPU "i286"
  975. #endif /* CKCPU */
  976. #endif /* i286 */
  977. #ifdef i186                /* Intel 80186 */
  978. #ifndef CKCPU
  979. #define CKCPU "i186"
  980. #endif /* CKCPU */
  981. #endif /* i186 */
  982. #ifdef M_I586                /* Intel 80586 */
  983. #ifndef CKCPU
  984. #define CKCPU "i586"
  985. #endif /* CKCPU */
  986. #endif /* M_I586 */
  987. #ifdef M_I486                /* Intel 80486 */
  988. #ifndef CKCPU
  989. #define CKCPU "i486"
  990. #endif /* CKCPU */
  991. #endif /* M_I486 */
  992. #ifdef _M_I386                /* Intel 80386 */
  993. #ifndef CKCPU
  994. #define CKCPU "i386"
  995. #endif /* CKCPU */
  996. #endif /* _M_I386 */
  997. #ifdef M_I286                /* Intel 80286 */
  998. #ifndef CKCPU
  999. #define CKCPU "i286"
  1000. #endif /* CKCPU */
  1001. #endif /* M_I286 */
  1002. #ifdef M_I86                /* Intel 80x86 */
  1003. #ifndef CKCPU
  1004. #define CKCPU "ix86"
  1005. #endif /* CKCPU */
  1006. #endif /* M_I86 */
  1007. #ifdef sparc                /* SUN SPARC */
  1008. #ifndef CKCPU
  1009. #define CKCPU "sparc"
  1010. #endif /* CKCPU */
  1011. #endif /* sparc */
  1012. #ifdef mips                /* MIPS RISC processor */
  1013. #ifndef CKCPU
  1014. #define CKCPU "mips"
  1015. #endif /* CKCPU */
  1016. #endif /* mips */
  1017. #ifdef _IBMR2                /* IBM RS/6000 */
  1018. #ifndef CKCPU                /* (what do they call the chip?) */
  1019. #define CKCPU "rs6000"
  1020. #endif /* CKCPU */
  1021. #endif /* rs6000 */
  1022. #ifdef u3b5                /* WE32000 MAC-32, AT&T 3Bx */
  1023. #ifndef CKCPU
  1024. #define CKCPU "u3b5"
  1025. #endif /* CKCPU */
  1026. #endif /* u3b5 */
  1027. #ifdef n3b
  1028. #ifndef CKCPU
  1029. #define CKCPU "n3b"
  1030. #endif /* CKCPU */
  1031. #endif /* n3b */
  1032. #ifdef u3b
  1033. #ifndef CKCPU
  1034. #define CKCPU "u3b"
  1035. #endif /* CKCPU */
  1036. #endif /* u3b */
  1037. #ifdef n16                /* Encore Multimax */
  1038. #ifndef CKCPU
  1039. #define CKCPU "n16"
  1040. #endif /* CKCPU */
  1041. #endif /* n16 */
  1042. #ifdef u370                /* IBM 370 */
  1043. #ifndef CKCPU
  1044. #define CKCPU "u370"
  1045. #endif /* CKCPU */
  1046. #endif /* u370 */
  1047. #ifdef MAC                /* Macintosh catch-all */
  1048. #ifndef CKCPU
  1049. #define CKCPU "mc68000"
  1050. #endif /* CKCPU */
  1051. #endif /* MAC */
  1052.  
  1053. #ifdef STRATUS
  1054. #ifndef CKCPU
  1055. #ifdef __I860__
  1056. #define CKCPU "I860 Family"
  1057. #else
  1058. #ifdef __MC68K__
  1059. #define CKCPU "MC680x0 Family"
  1060. #else
  1061. #define CKCPU "Stratus unknown processor"
  1062. #endif /* __MC68K__ */
  1063. #endif /* __I860__ */
  1064. #endif /* CKCPU */
  1065. #endif /* STRATUS */
  1066.  
  1067. #ifdef COMMENT
  1068. #ifndef CKCPU                /* All others */
  1069. #define CKCPU "unknown"
  1070. #endif /* CKCPU */
  1071. #endif /* COMMENT */
  1072.  
  1073. #endif /* CKUVER_H */
  1074.