home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / cku201.zip / ckuver.h < prev    next >
C/C++ Source or Header  |  2002-02-10  |  23KB  |  1,162 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 SOLARIS8
  715. #define HERALD " Solaris 8"
  716. #else
  717. #ifdef SOLARIS7
  718. #define HERALD " Solaris 7"
  719. #else
  720. #ifdef SOLARIS26
  721. #define HERALD " Solaris 2.6"
  722. #else
  723. #ifdef SOLARIS25
  724. #define HERALD " Solaris 2.5"
  725. #else
  726. #ifdef SOLARIS24
  727. #define HERALD " Solaris 2.4"
  728. #else
  729. #ifdef SOLARIS
  730. #define HERALD " Solaris 2.x"
  731. #endif /* SOLARIS */
  732. #endif /* SOLARIS24 */
  733. #endif /* SOLARIS25 */
  734. #endif /* SOLARIS26 */
  735. #endif /* SOLARIS7 */
  736. #endif /* SOLARIS8 */
  737. #endif /* Plan9 */
  738. #endif /* LYNXOS */
  739. #endif /* _386BSD */
  740. #endif /* __linux__ */
  741. #endif /* QNX6 */
  742. #endif /* NEUTRINO */
  743. #endif /* QNX */
  744. #endif /* UW7 */
  745. #endif /* OU8 */
  746. #endif /* PTX */
  747. #endif /* POSIX */
  748.  
  749. #ifdef UTS24
  750. #define HERALD " Amdahl UTS 2.4"
  751. #endif /* UTS24 */
  752.  
  753. #ifdef UTSV
  754. #define HERALD " Amdahl UTS V"
  755. #endif /* UTSV */
  756.  
  757. #ifdef VXVE
  758. #define HERALD " CDC VX/VE 5.2.1 System V"
  759. #endif /* VXVE */
  760.  
  761. #ifdef SCO234
  762. #ifdef HERALD
  763. #undef HERALD
  764. #endif /* HERALD */
  765. #define HERALD " SCO XENIX 2.3.4"
  766. #else
  767. #ifdef CK_SCO32V4
  768. #ifdef HERALD
  769. #undef HERALD
  770. #endif /* HERALD */
  771. #ifdef ODT30
  772. #define HERALD " SCO ODT 3.0"
  773. #else
  774. #define HERALD " SCO UNIX/386 V4"
  775. #endif /* ODT30 */
  776. #else
  777. #ifdef CK_SCOV5
  778. #ifdef HERALD
  779. #undef HERALD
  780. #endif /* HERALD */
  781. #ifdef SCO_OSR506A
  782. #define HERALD " SCO OpenServer R5.0.6a"
  783. #else
  784. #ifdef SCO_OSR506
  785. #define HERALD " SCO OpenServer R5.0.6"
  786. #else
  787. #ifdef SCO_OSR505
  788. #define HERALD " SCO OpenServer R5.0.5"
  789. #else
  790. #ifdef SCO_OSR504
  791. #define HERALD " SCO OpenServer R5.0.4"
  792. #else
  793. #ifdef SCO_OSR502
  794. #define HERALD " SCO OpenServer R5.0.2"
  795. #else
  796. #define HERALD " SCO OpenServer R5.0"
  797. #endif /* SCO_OSR502 */
  798. #endif /* SCO_OSR504 */
  799. #endif /* SCO_OSR505 */
  800. #endif /* SCO_OSR506 */
  801. #endif /* SCO_OSR506A */
  802. #else
  803. #ifdef XENIX
  804. #ifdef HERALD
  805. #undef HERALD
  806. #endif /* HERALD */
  807. #ifdef M_UNIX
  808. #define HERALD " SCO UNIX/386"
  809. #else
  810. #ifdef M_I386
  811. #define HERALD " Xenix/386"
  812. #else
  813. #ifdef M_I286
  814. #define HERALD " Xenix/286"
  815. #else
  816. #define HERALD " Xenix"
  817. #endif /* M_I286 */
  818. #endif /* M_I386 */
  819. #endif /* M_UNIX */
  820. #endif /* XENIX  */
  821. #endif /* CK_SCOV5 */
  822. #endif /* CK_SCOV32V4 */
  823. #endif /* SCO234 */
  824.  
  825. #ifdef ZILOG
  826. #define HERALD " Zilog S8000 Zeus 3.21+"
  827. #endif /* ZILOG */
  828.  
  829. #ifdef UTEK
  830. #define HERALD " UTek"
  831. #endif /* UTEK */
  832.  
  833. /* Catch-alls for anything not defined explicitly above */
  834.  
  835. #ifndef HERALD
  836. #ifdef SVR4
  837. #ifdef i386
  838. #define HERALD " AT&T System V/386 R4"
  839. #else
  840. #ifdef AMIX
  841. #define HERALD " Commodore Amiga System V/m68k R4"
  842. #else
  843. #define HERALD " AT&T System V R4"
  844. #endif /* AMIX */
  845. #endif /* i386 */
  846. #else
  847. #ifdef SVR3
  848. #define HERALD " AT&T System V R3"
  849. #else
  850. #ifdef ATTSV
  851. #define HERALD " AT&T System III / System V"
  852. #else
  853. #ifdef BSD43
  854. #ifdef pdp11
  855. #define HERALD " 2.10 BSD PDP-11"
  856. #else
  857. #ifdef vax
  858. #define HERALD " 4.3 BSD VAX"
  859. #else
  860. #define HERALD " 4.3 BSD"
  861. #endif /* vax */
  862. #endif /* pdp11 */
  863. #else
  864. #ifdef BSD4
  865. #ifdef vax
  866. #define HERALD " 4.2 BSD VAX"
  867. #else
  868. #define HERALD " 4.2 BSD"
  869. #endif /* vax */
  870. #else
  871. #ifdef V7
  872. #define HERALD " UNIX Version 7"
  873. #endif /* V7 */
  874. #endif /* BSD4 */
  875. #endif /* BSD43 */
  876. #endif /* ATTSV */
  877. #endif /* SVR3 */
  878. #endif /* SVR4 */
  879. #endif /* HERALD */
  880. #endif /* HERALD */
  881.  
  882. #ifdef OS2
  883. #ifdef HERALD
  884. #undef HERALD
  885. #endif /* HERALD */
  886. #ifdef NT
  887. #define HERALD " 32-bit Windows"
  888. #else /* NT */
  889. #define HERALD " 32-bit OS/2"
  890. #endif /* NT */
  891. #endif /* OS/2 */
  892.  
  893. #ifndef HERALD
  894. #define HERALD " Unknown Version"
  895. #endif /* HERALD */
  896.  
  897. /* Hardware type */
  898.  
  899. #ifdef vax                /* DEC VAX */
  900. #ifndef CKCPU
  901. #define CKCPU "vax"
  902. #endif /* CKCPU */
  903. #endif /*  vax */
  904. #ifdef pdp11                /* DEC PDP-11 */
  905. #ifndef CKCPU
  906. #define CKCPU "pdp11"
  907. #endif /* CKCPU */
  908. #endif /* pdp11 */
  909.  
  910. #ifdef __ALPHA                /* DEC Alpha */
  911. #ifndef CKCPU
  912. #define CKCPU "Alpha"
  913. #endif /* CKCPU */
  914. #endif /* __ALPHA */
  915.  
  916. #ifdef __alpha                /* OSF/1 uses lowercase... */
  917. #ifndef CKCPU
  918. #define CKCPU "Alpha"
  919. #endif /* CKCPU */
  920. #endif /* __alpha */
  921.  
  922. #ifdef DGUX                /* Override Motorola 88k assumption */
  923. #ifndef CKCPU                /* New AViiONs are Intel based... */
  924. #ifdef i586
  925. #define CKCPU "i586"
  926. #else
  927. #ifdef i486
  928. #define CKCPU "i486"
  929. #else
  930. #ifdef i386
  931. #define CKCPU "i386"
  932. #endif /* i386 */
  933. #endif /* i486 */
  934. #endif /* i586 */
  935. #endif /* CKCPU */
  936. #endif /* DGUX */
  937.  
  938. /* HP 9000 */
  939.  
  940. #ifdef __hp9000s700
  941. #ifndef CKCPU
  942. #define CKCPU "hp9000s700"
  943. #endif /* CKCPU */
  944. #endif /* __hp9000s700 */
  945.  
  946. #ifdef __hp9000s800
  947. #ifndef CKCPU
  948. #define CKCPU "hp9000s800"
  949. #endif /* CKCPU */
  950. #endif /* __hp9000s800 */
  951.  
  952. #ifdef __hp9000s500
  953. #ifndef CKCPU
  954. #define CKCPU "hp9000s500"
  955. #endif /* CKCPU */
  956. #endif /* __hp9000s500 */
  957.  
  958. #ifdef __hp9000s400
  959. #ifndef CKCPU
  960. #define CKCPU "hp9000s400"
  961. #endif /* CKCPU */
  962. #endif /* __hp9000s400 */
  963.  
  964. #ifdef __hp9000s300
  965. #ifndef CKCPU
  966. #define CKCPU "hp9000s300"
  967. #endif /* CKCPU */
  968. #endif /* __hp9000s300 */
  969.  
  970. #ifdef __hp9000s200
  971. #ifndef CKCPU
  972. #define CKCPU "hp9000s200"
  973. #endif /* CKCPU */
  974. #endif /* __hp9000s200 */
  975.  
  976. #ifdef m88000                /* Motorola 88000 */
  977. #ifndef CKCPU
  978. #define CKCPU "mc88000"
  979. #endif /* CKCPU */
  980. #endif /* m88000 */
  981. #ifdef __using_M88KBCS            /* DG symbol for Motorola 88000 */
  982. #ifndef CKCPU
  983. #define CKCPU "mc88000"
  984. #endif /* CKCPU */
  985. #endif /* __using_M88KBCS */
  986. #ifdef m88k                /* Motorola symbol for 88000 */
  987. #ifndef CKCPU
  988. #define CKCPU "mc88000"
  989. #endif /* CKCPU */
  990. #endif /* m88k */
  991. #ifdef mc68040                /* Motorola 68040 */
  992. #ifndef CKCPU
  993. #define CKCPU "mc68040"
  994. #endif /* CKCPU */
  995. #endif /* mc68040 */
  996. #ifdef mc68030                /* Motorola 68030 */
  997. #ifndef CKCPU
  998. #define CKCPU "mc68030"
  999. #endif /* CKCPU */
  1000. #endif /* mc68030 */
  1001. #ifdef mc68020                /* Motorola 68020 */
  1002. #ifndef CKCPU
  1003. #define CKCPU "mc68020"
  1004. #endif /* CKCPU */
  1005. #endif /* mc68020 */
  1006. #ifdef mc68010                /* Motorola 68010 */
  1007. #ifndef CKCPU
  1008. #define CKCPU "mc68010"
  1009. #endif /* CKCPU */
  1010. #endif /* mc68010 */
  1011. #ifdef mc68000                /* Motorola 68000 */
  1012. #ifndef CKCPU
  1013. #define CKCPU "mc68000"
  1014. #endif /* CKCPU */
  1015. #endif /* mc68000 */
  1016. #ifdef mc68k                /* Ditto (used by DIAB DS90) */
  1017. #ifndef CKCPU
  1018. #define CKCPU "mc68000"
  1019. #endif /* CKCPU */
  1020. #endif /* mc68k */
  1021. #ifdef m68                /* Ditto */
  1022. #ifndef CKCPU
  1023. #define CKCPU "mc68000"
  1024. #endif /* CKCPU */
  1025. #endif /* m68 */
  1026. #ifdef m68k                /* Ditto */
  1027. #ifndef CKCPU
  1028. #define CKCPU "mc68000"
  1029. #endif /* CKCPU */
  1030. #endif /* m68k */
  1031.  
  1032. #ifdef ia64                /* IA64 / Itanium */
  1033. #ifndef CKCPU
  1034. #define CKCPU "ia64"
  1035. #endif /* CKCPU */
  1036. #endif /* i686 */
  1037.  
  1038. #ifdef i686                /* Intel 80686 */
  1039. #ifndef CKCPU
  1040. #define CKCPU "i686"
  1041. #endif /* CKCPU */
  1042. #endif /* i686 */
  1043.  
  1044. #ifdef i586                /* Intel 80586 */
  1045. #ifndef CKCPU
  1046. #define CKCPU "i586"
  1047. #endif /* CKCPU */
  1048. #endif /* i586 */
  1049.  
  1050. #ifdef i486                /* Intel 80486 */
  1051. #ifndef CKCPU
  1052. #define CKCPU "i486"
  1053. #endif /* CKCPU */
  1054. #endif /* i80486 */
  1055. #ifdef i386                /* Intel 80386 */
  1056. #ifndef CKCPU
  1057. #define CKCPU "i386"
  1058. #endif /* CKCPU */
  1059. #endif /* i80386 */
  1060. #ifdef i286                /* Intel 80286 */
  1061. #ifndef CKCPU
  1062. #define CKCPU "i286"
  1063. #endif /* CKCPU */
  1064. #endif /* i286 */
  1065. #ifdef i186                /* Intel 80186 */
  1066. #ifndef CKCPU
  1067. #define CKCPU "i186"
  1068. #endif /* CKCPU */
  1069. #endif /* i186 */
  1070. #ifdef M_I586                /* Intel 80586 */
  1071. #ifndef CKCPU
  1072. #define CKCPU "i586"
  1073. #endif /* CKCPU */
  1074. #endif /* M_I586 */
  1075. #ifdef M_I486                /* Intel 80486 */
  1076. #ifndef CKCPU
  1077. #define CKCPU "i486"
  1078. #endif /* CKCPU */
  1079. #endif /* M_I486 */
  1080. #ifdef _M_I386                /* Intel 80386 */
  1081. #ifndef CKCPU
  1082. #define CKCPU "i386"
  1083. #endif /* CKCPU */
  1084. #endif /* _M_I386 */
  1085. #ifdef M_I286                /* Intel 80286 */
  1086. #ifndef CKCPU
  1087. #define CKCPU "i286"
  1088. #endif /* CKCPU */
  1089. #endif /* M_I286 */
  1090. #ifdef M_I86                /* Intel 80x86 */
  1091. #ifndef CKCPU
  1092. #define CKCPU "ix86"
  1093. #endif /* CKCPU */
  1094. #endif /* M_I86 */
  1095. #ifdef sparc                /* SUN SPARC */
  1096. #ifndef CKCPU
  1097. #define CKCPU "sparc"
  1098. #endif /* CKCPU */
  1099. #endif /* sparc */
  1100. #ifdef mips                /* MIPS RISC processor */
  1101. #ifndef CKCPU
  1102. #define CKCPU "mips"
  1103. #endif /* CKCPU */
  1104. #endif /* mips */
  1105. #ifdef _IBMR2                /* IBM RS/6000 */
  1106. #ifndef CKCPU                /* (what do they call the chip?) */
  1107. #define CKCPU "rs6000"
  1108. #endif /* CKCPU */
  1109. #endif /* rs6000 */
  1110. #ifdef u3b5                /* WE32000 MAC-32, AT&T 3Bx */
  1111. #ifndef CKCPU
  1112. #define CKCPU "u3b5"
  1113. #endif /* CKCPU */
  1114. #endif /* u3b5 */
  1115. #ifdef n3b
  1116. #ifndef CKCPU
  1117. #define CKCPU "n3b"
  1118. #endif /* CKCPU */
  1119. #endif /* n3b */
  1120. #ifdef u3b
  1121. #ifndef CKCPU
  1122. #define CKCPU "u3b"
  1123. #endif /* CKCPU */
  1124. #endif /* u3b */
  1125. #ifdef n16                /* Encore Multimax */
  1126. #ifndef CKCPU
  1127. #define CKCPU "n16"
  1128. #endif /* CKCPU */
  1129. #endif /* n16 */
  1130. #ifdef u370                /* IBM 370 */
  1131. #ifndef CKCPU
  1132. #define CKCPU "u370"
  1133. #endif /* CKCPU */
  1134. #endif /* u370 */
  1135. #ifdef MAC                /* Macintosh catch-all */
  1136. #ifndef CKCPU
  1137. #define CKCPU "mc68000"
  1138. #endif /* CKCPU */
  1139. #endif /* MAC */
  1140.  
  1141. #ifdef STRATUS
  1142. #ifndef CKCPU
  1143. #ifdef __I860__
  1144. #define CKCPU "I860 Family"
  1145. #else
  1146. #ifdef __MC68K__
  1147. #define CKCPU "MC680x0 Family"
  1148. #else
  1149. #define CKCPU "Stratus unknown processor"
  1150. #endif /* __MC68K__ */
  1151. #endif /* __I860__ */
  1152. #endif /* CKCPU */
  1153. #endif /* STRATUS */
  1154.  
  1155. #ifdef COMMENT
  1156. #ifndef CKCPU                /* All others */
  1157. #define CKCPU "unknown"
  1158. #endif /* CKCPU */
  1159. #endif /* COMMENT */
  1160.  
  1161. #endif /* CKUVER_H */
  1162.