ckuver.h 23 KB

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