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