source: trunk/third/kermit/ckuver.h @ 20081

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