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