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