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