|
|
1.1 root 1: /* ckuver.h -- C-Kermit UNIX Version heralds */
2:
3: #ifndef CKUVER_H
4: #define CKUVER_H
5:
6: /* Arranged more or less alphabetically by compiler symbol */
7: /* Must be included AFTER ckcdeb.h. */
8:
9: #ifdef MAC
10: #define HERALD " Apple Macintosh"
11: #endif /* MAC */
12:
13: #ifdef A986
14: #define HERALD " Altos 986 / Xenix 3.0"
15: #endif /* A986 */
16:
17: #ifdef aegis
18: #ifdef BSD4
19: #define HERALD " Apollo DOMAIN/IX 4.2 BSD"
20: #else
21: #ifdef ATTSV
22: #define HERALD " Apollo DOMAIN/IX System V"
23: #else
24: #define HERALD " Apollo Aegis"
25: #endif /* BSD4 */
26: #endif /* ATTSV */
27: #endif /* aegis */
28:
29: #ifdef AIXRS
30: #define HERALD " IBM RS/6000 (AIX 3.x)"
31: #endif /* AIXRS */
32:
33: #ifdef PS2AIX10
34: #define HERALD " IBM PS/2 (AIX 1.x)"
35: #endif /* PS2AIX10 */
36:
37: #ifdef AIXPS2
38: #define HERALD " IBM PS/2 (AIX 3.x)"
39: #endif /* AIXPS2 */
40:
41: #ifdef AIX370
42: #ifndef HERALD
43: #define HERALD " IBM System/370 (AIX 3.x)"
44: #endif
45: #endif /* AIX370 */
46:
47: #ifdef ATT6300
48: #define HERALD " AT&T 6300"
49: #endif /* ATT6300 */
50:
51: #ifdef ATT7300
52: #define HERALD " AT&T 7300 UNIX PC"
53: #endif /* ATT7300 */
54:
55: #ifdef AUX
56: #define HERALD " Apple Macintosh AUX"
57: #endif /* AUX */
58:
59: #ifdef ENCORE
60: #ifdef BSD43
61: #define HERALD " Encore Multimax UMAX 4.3"
62: #else
63: #define HERALD " Encore Multimax UMAX 4.2"
64: #endif
65: #endif /* ENCORE */
66:
67: #ifdef BSD29
68: #define HERALD " 2.9 BSD"
69: #endif /* BSD29 */
70:
71: #ifdef BSD41
72: #define HERALD " 4.1 BSD"
73: #endif /* BSD41 */
74:
75: #ifdef C70
76: #define HERALD " BBN C/70"
77: #endif /* c70 */
78:
79: #ifdef CIE
80: #define HERALD " CIE Systems 680/20 Regulus"
81: #endif /* CIE */
82:
83: #ifdef COHERENT
84: #ifndef _I386
85: #define HERALD " PC/AT MWC Coherent 286 3.x"
86: #endif /* _i386 */
87: #define HERALD " PC/AT MWC Coherent 386 4.x"
88: #endif /* COHERENT */
89:
90: #ifdef DGUX540
91: #define HERALD " Data General UX 5.40"
92: #endif /* DGUX540 */
93:
94: #ifdef FT18
95: #ifdef FT21
96: #define HERALD " Fortune For:Pro 2.1"
97: #else
98: #define HERALD " Fortune For:Pro 1.8"
99: #endif /* FT21 */
100: #endif /* FT18 */
101:
102: #ifdef GEMDOS
103: #define HERALD " Atari ST GEM 1.0"
104: #endif /* GEMDOS */
105:
106: #ifdef IRIX40
107: #define HERALD " Silicon Graphics IRIX 4.0"
108: #endif /* IRIX40 */
109:
110: #ifdef ISIII
111: #define HERALD " Interactive Systems Corp System III"
112: #endif /* ISIII */
113:
114: #ifdef IX370
115: #define HERALD " IBM IX/370"
116: #endif /* IX370 */
117:
118: #ifdef HPUX
119: #define HERALD " HP 9000 Series HP-UX"
120: #endif /* HPUX */
121:
122: #ifdef MINIX
123: #define HERALD " Minix"
124: #endif /* MINIX */
125:
126: #ifdef MIPS
127: #define HERALD " MIPS RISC/OS (System V R3)"
128: #endif
129:
130: #ifdef NEXT
131: #define HERALD " NeXT"
132: #endif
133:
134: #ifdef PCIX
135: #define HERALD " PC/IX"
136: #endif /* PCIX */
137:
138: #ifdef sxaE50
139: #define HERALD " PFU SX/A V10/L50"
140: #endif /* sxaE50 */
141:
142: #ifdef PROVX1
143: #define HERALD " DEC Professional 300 (Venix 1.0)"
144: #endif /* PROVX1 */
145:
146: #ifdef RTAIX
147: #define HERALD " IBM RT PC (AIX 2.2)"
148: #endif /* RTAIX */
149:
150: #ifdef RTU
151: #define HERALD " Masscomp/Concurrent RTU"
152: #endif /* RTU */
153:
154: #ifdef sony_news
155: #define HERALD " SONY NEWS"
156: #endif /* sony_news */
157:
158: #ifdef SUNOS4
159: #ifdef BSD4
160: #ifdef SUNOS41
161: #define HERALD " SUNOS 4.1 (BSD)"
162: #else
163: #define HERALD " SUNOS 4.0 (BSD)"
164: #endif /* SUNOS41 */
165: #endif /* BSD4 */
166: #endif /* SUNOS4 */
167:
168: #ifdef SUN4S5
169: #ifdef HDBUUCP
170: #define HERALD " SUNOS 4.1 (SVR3)"
171: #else
172: #define HERALD " SUNOS 4.0 (SVR3)"
173: #endif /* HDBUUCP */
174: #endif /* SUN4S5 */
175:
176: #ifdef TOWER1
177: #define HERALD " NCR Tower 1632 (OS 1.02)"
178: #endif /* TOWER1 */
179:
180: #ifdef TRS16
181: #define HERALD " Tandy 16/6000 (Xenix 3.0)"
182: #endif /* TRS16 */
183:
184: #ifdef u3b2
185: #ifndef HERALD
186: #ifdef SVR3
187: #define HERALD " AT&T 3B2 (System V R3)"
188: #else
189: #define HERALD " AT&T 3B2 (System V)"
190: #endif /* SVR3 */
191: #endif /* HERALD */
192: #endif /* u3b2 */
193:
194: #ifdef ultrix
195: #ifdef vax
196: #define HERALD " VAX/Ultrix"
197: #else
198: #ifdef mips
199: #define HERALD " DECstation/Ultrix"
200: #else
201: #define HERALD " Ultrix"
202: #endif /* mips */
203: #endif /* vax */
204: #endif /* ultrix */
205:
206: #ifdef OXOS
207: #define HERALD " Olivetti X/OS"
208: #endif /* OXOS */
209:
210: #ifdef POSIX
211: #ifdef HERALD
212: #undef HERALD
213: #endif /* HERALD */
214: #define HERALD " POSIX"
215: #endif /* POSIX */
216:
217: #ifdef UTS24
218: #define HERALD " Amdahl UTS 2.4"
219: #endif /* UTS24 */
220:
221: #ifdef UTSV
222: #define HERALD " Amdahl UTS V"
223: #endif /* UTSV */
224:
225: #ifdef VXVE
226: #define HERALD " CDC VX/VE 5.2.1 System V"
227: #endif /* VXVE */
228:
229: #ifdef XENIX
230: #ifdef HERALD
231: #undef HERALD
232: #endif /* HERALD */
233: #ifdef M_UNIX
234: #define HERALD " SCO UNIX/386"
235: #else
236: #ifdef M_I386
237: #define HERALD " Xenix/386"
238: #else
239: #ifdef M_I286
240: #define HERALD " Xenix/286"
241: #else
242: #define HERALD " Xenix"
243: #endif /* M_I286 */
244: #endif /* M_I386 */
245: #endif /* M_UNIX */
246: #endif /* XENIX */
247:
248: #ifdef ZILOG
249: #define HERALD " Zilog S8000 Zeus 3.21+"
250: #endif /* ZILOG */
251:
252: #ifdef UTEK
253: #define HERALD " UTek"
254: #endif /* UTEK */
255:
256: /* Catch-alls for anything not defined explicitly above */
257:
258: #ifndef HERALD
259: #ifdef SVR4
260: #ifdef i386
261: #define HERALD " AT&T System V/386 R4"
262: #else
263: #define HERALD " AT&T System V R4"
264: #endif /* i386 */
265: #else
266: #ifdef SVR3
267: #define HERALD " AT&T System V R3"
268: #else
269: #ifdef ATTSV
270: #define HERALD " AT&T System III / System V"
271: #else
272: #ifdef BSD43
273: #ifdef pdp11
274: #define HERALD " PDP-11 2.10 BSD"
275: #else
276: #ifdef vax
277: #define HERALD " VAX 4.3 BSD"
278: #else
279: #define HERALD " 4.3 BSD"
280: #endif /* vax */
281: #endif /* pdp11 */
282: #else
283: #ifdef BSD4
284: #ifdef vax
285: #define HERALD " VAX 4.2 BSD"
286: #else
287: #define HERALD " 4.2 BSD"
288: #endif /* vax */
289: #else
290: #ifdef V7
291: #define HERALD " UNIX Version 7"
292: #endif /* V7 */
293: #endif /* BSD4 */
294: #endif /* BSD43 */
295: #endif /* ATTSV */
296: #endif /* SVR3 */
297: #endif /* SVR4 */
298: #endif /* HERALD */
299:
300: #ifdef OS2
301: #ifndef HERALD
302: #define HERALD " OS/2"
303: #endif /* HERALD */
304: #endif /* OS/2 */
305:
306: #ifndef HERALD
307: #define HERALD " Unknown Version"
308: #endif /* HERALD */
309:
310: /* Hardware type */
311:
312: #ifdef vax /* DEC VAX */
313: #ifndef CKCPU
314: #define CKCPU "vax"
315: #endif /* CKCPU */
316: #endif /* vax */
317: #ifdef pdp11 /* DEC PDP-11 */
318: #ifndef CKCPU
319: #define CKCPU "pdp11"
320: #endif /* CKCPU */
321: #endif /* pdp11 */
322: #ifdef __hp9000s800 /* HP 9000 */
323: #define CKCPU "hp9000s800"
324: #endif /* __hp9000s800 */
325: #ifdef __hp9000s500
326: #ifndef CKCPU
327: #define CKCPU "hp9000s500"
328: #endif /* CKCPU */
329: #endif /* __hp9000s500 */
330: #ifdef __hp9000s300
331: #ifndef CKCPU
332: #define CKCPU "hp9000s300"
333: #endif /* CKCPU */
334: #endif /* __hp9000s300 */
335: #ifdef __hp9000s200
336: #ifndef CKCPU
337: #define CKCPU "hp9000s200"
338: #endif /* CKCPU */
339: #endif /* __hp9000s200 */
340: #ifdef m88000 /* Motorola 88000 */
341: #ifndef CKCPU
342: #define CKCPU "mc88000"
343: #endif /* CKCPU */
344: #endif /* m88000 */
345: #ifdef __using_M88KBCS /* DG symbol for Motorola 88000 */
346: #ifndef CKCPU
347: #define CKCPU "mc88000"
348: #endif /* CKCPU */
349: #endif /* __using_M88KBCS */
350: #ifdef m88k /* Motorola symbol for 88000 */
351: #ifndef CKCPU
352: #define CKCPU "mc88000"
353: #endif /* CKCPU */
354: #endif /* m88k */
355: #ifdef mc68040 /* Motorola 68040 */
356: #ifndef CKCPU
357: #define CKCPU "mc68040"
358: #endif /* CKCPU */
359: #endif /* mc68040 */
360: #ifdef mc68030 /* Motorola 68030 */
361: #ifndef CKCPU
362: #define CKCPU "mc68030"
363: #endif /* CKCPU */
364: #endif /* mc68030 */
365: #ifdef mc68020 /* Motorola 68020 */
366: #ifndef CKCPU
367: #define CKCPU "mc68020"
368: #endif /* CKCPU */
369: #endif /* mc68020 */
370: #ifdef mc68010 /* Motorola 68010 */
371: #ifndef CKCPU
372: #define CKCPU "mc68010"
373: #endif /* CKCPU */
374: #endif /* mc68010 */
375: #ifdef mc68000 /* Motorola 68000 */
376: #ifndef CKCPU
377: #define CKCPU "mc68000"
378: #endif /* CKCPU */
379: #endif /* mc68000 */
380: #ifdef mc68k /* Ditto (used by DIAB DS90) */
381: #ifndef CKCPU
382: #define CKCPU "mc68000"
383: #endif /* CKCPU */
384: #endif /* mc68k */
385: #ifdef m68 /* Ditto */
386: #ifndef CKCPU
387: #define CKCPU "mc68000"
388: #endif /* CKCPU */
389: #endif /* m68 */
390: #ifdef m68k /* Ditto */
391: #ifndef CKCPU
392: #define CKCPU "mc68000"
393: #endif /* CKCPU */
394: #endif /* m68k */
395: #ifdef i486 /* Intel 80486 */
396: #ifndef CKCPU
397: #define CKCPU "i486"
398: #endif /* CKCPU */
399: #endif /* i80486 */
400: #ifdef i386 /* Intel 80386 */
401: #ifndef CKCPU
402: #define CKCPU "i386"
403: #endif /* CKCPU */
404: #endif /* i80386 */
405: #ifdef i286 /* Intel 80286 */
406: #ifndef CKCPU
407: #define CKCPU "i286"
408: #endif /* CKCPU */
409: #endif /* i286 */
410: #ifdef i186 /* Intel 80186 */
411: #ifndef CKCPU
412: #define CKCPU "i186"
413: #endif /* CKCPU */
414: #endif /* i186 */
415: #ifdef sparc /* SUN SPARC */
416: #ifndef CKCPU
417: #define CKCPU "sparc"
418: #endif /* CKCPU */
419: #endif /* sparc */
420: #ifdef mips /* MIPS RISC processor */
421: #ifndef CKCPU
422: #define CKCPU "mips"
423: #endif /* CKCPU */
424: #endif /* mips */
425: #ifdef _IBMR2 /* IBM RS/6000 */
426: #ifndef CKCPU /* (what do they call the chip?) */
427: #define CKCPU "rs6000"
428: #endif /* CKCPU */
429: #endif /* rs6000 */
430: #ifdef u3b5 /* WE32000 MAC-32, AT&T 3Bx */
431: #ifndef CKCPU
432: #define CKCPU "u3b5"
433: #endif /* CKCPU */
434: #endif /* u3b5 */
435: #ifdef n3b
436: #ifndef CKCPU
437: #define CKCPU "n3b"
438: #endif /* CKCPU */
439: #endif /* n3b */
440: #ifdef u3b
441: #ifndef CKCPU
442: #define CKCPU "u3b"
443: #endif /* CKCPU */
444: #endif /* u3b */
445: #ifdef n16 /* Encore Multimax */
446: #ifndef CKCPU
447: #define CKCPU "n16"
448: #endif /* CKCPU */
449: #endif /* n16 */
450: #ifdef u370 /* IBM 370 */
451: #ifndef CKCPU
452: #define CKCPU "u370"
453: #endif /* CKCPU */
454: #endif /* u370 */
455: #ifdef MAC /* Macintosh catch-all */
456: #ifndef CKCPU
457: #define CKCPU "mc68000"
458: #endif /* CKCPU */
459: #endif /* MAC */
460:
461: #ifndef CKCPU /* All others */
462: #define CKCPU "unknown"
463: #endif /* CKCPU */
464:
465: #endif /* CKUVER_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.