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