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