1: /* ckuver.h -- C-Kermit UNIX Version heralds */
   2: /*
   3:   Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET),
   4:   Columbia University Center for Computing Activities.
   5:   First released January 1985.
   6:   Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New
   7:   York.  Permission is granted to any individual or institution to use this
   8:   software as long as it is not sold for profit.  This copyright notice must be
   9:   retained.  This software may not be included in commercial products without
  10:   written permission of Columbia University.
  11: */
  12: 
  13: #ifndef CKUVER_H
  14: #define CKUVER_H
  15: 
  16: /* Arranged more or less alphabetically by compiler symbol */
  17: /* Must be included AFTER ckcdeb.h. */
  18: 
  19: #ifdef MAC
  20: #define HERALD " Apple Macintosh"
  21: #endif /* MAC */
  22: 
  23: #ifdef A986
  24: #define HERALD " Altos 986 / Xenix 3.0"
  25: #endif /* A986 */
  26: 
  27: #ifdef aegis
  28: #ifdef BSD4
  29: #define HERALD " Apollo DOMAIN/IX 4.2 BSD"
  30: #else
  31: #ifdef ATTSV
  32: #define HERALD " Apollo DOMAIN/IX System V"
  33: #else
  34: #define HERALD " Apollo Aegis"
  35: #endif /* BSD4  */
  36: #endif /* ATTSV */
  37: #endif /* aegis */
  38: 
  39: #ifdef AIXRS
  40: #define HERALD " IBM RS/6000 (AIX 3.x)"
  41: #endif /* AIXRS */
  42: 
  43: #ifdef PS2AIX10
  44: #define HERALD " IBM PS/2 (AIX 1.x)"
  45: #endif /* PS2AIX10 */
  46: 
  47: #ifdef AIXPS2
  48: #define HERALD " IBM PS/2 (AIX 3.x)"
  49: #endif /* AIXPS2 */
  50: 
  51: #ifdef AIX370
  52: #ifndef HERALD
  53: #define HERALD " IBM System/370 (AIX 3.x)"
  54: #endif
  55: #endif /* AIX370 */
  56: 
  57: #ifdef ATT6300
  58: #define HERALD " AT&T 6300"
  59: #endif /* ATT6300 */
  60: 
  61: #ifdef ATT7300
  62: #define HERALD " AT&T 7300 UNIX PC"
  63: #endif /* ATT7300 */
  64: 
  65: #ifdef AUX
  66: #define HERALD " Apple Macintosh AUX"
  67: #endif /* AUX */
  68: 
  69: #ifdef BSD44
  70: #define HERALD " 4.4 BSD"
  71: #endif /* BSD44 */
  72: 
  73: #ifdef ENCORE
  74: #ifdef BSD43
  75: #define HERALD " Encore Multimax UMAX 4.3"
  76: #else
  77: #define HERALD " Encore Multimax UMAX 4.2"
  78: #endif
  79: #endif /* ENCORE */
  80: 
  81: #ifdef BSD29
  82: #define HERALD " 2.9 BSD"
  83: #endif /* BSD29 */
  84: 
  85: #ifdef BSD41
  86: #define HERALD " 4.1 BSD"
  87: #endif /* BSD41 */
  88: 
  89: #ifdef C70
  90: #define HERALD " BBN C/70"
  91: #endif /* c70 */
  92: 
  93: #ifdef CIE
  94: #define HERALD " CIE Systems 680/20 Regulus"
  95: #endif /* CIE */
  96: 
  97: #ifdef COHERENT
  98: #ifdef _I386
  99: #define HERALD " MWC Coherent 386 4.x"
 100: #else
 101: #define HERALD " PC/AT MWC Coherent 286 3.x"
 102: #endif /* _I386 */
 103: #endif /* COHERENT */
 104: 
 105: #ifdef CONVEX9
 106: #define HERALD " Convex/OS"
 107: #endif /* CONVEX9 */
 108: 
 109: #ifdef DGUX430
 110: #define HERALD " Data General DG/UX 4.30"
 111: #endif /* DGUX430 */
 112: 
 113: #ifdef DGUX540
 114: #define HERALD " Data General DG/UX 5.4"
 115: #endif /* DGUX540 */
 116: 
 117: #ifdef datageneral
 118: #ifndef HERALD
 119: #define HERALD " Data General AOS/VS"
 120: #endif /* HERALD */
 121: #endif /* datageneral */
 122: 
 123: #ifdef DELL_SVR4
 124: #define HERALD " Dell System V R4"
 125: #endif /* DELL_SVR4 */
 126: 
 127: #ifdef ICL_SVR4
 128: #define HERALD " ICL System V R4 DRS N/X"
 129: #endif /* ICL_SVR4 */
 130: 
 131: #ifdef FT18
 132: #ifdef FT21
 133: #define HERALD " Fortune For:Pro 2.1"
 134: #else
 135: #define HERALD " Fortune For:Pro 1.8"
 136: #endif /* FT21 */
 137: #endif /* FT18 */
 138: 
 139: #ifdef GEMDOS
 140: #define HERALD " Atari ST GEM 1.0"
 141: #endif /* GEMDOS */
 142: 
 143: #ifdef I386IX
 144: #ifdef SVR3JC
 145: #define HERALD " Interactive UNIX System V/386 R3.2"
 146: #else
 147: #define HERALD " Interactive Systems Corp 386/ix"
 148: #endif /* SVR3JC */
 149: #endif /* I386IX */
 150: 
 151: #ifdef IRIX40
 152: #define HERALD " Silicon Graphics IRIX 4.0"
 153: #endif /* IRIX40 */
 154: 
 155: #ifdef ISIII
 156: #define HERALD " Interactive Systems Corp System III"
 157: #endif /* ISIII */
 158: 
 159: #ifdef IX370
 160: #define HERALD " IBM IX/370"
 161: #endif /* IX370 */
 162: 
 163: #ifdef HPUX
 164: #define HERALD " HP 9000 Series HP-UX"
 165: #endif /* HPUX */
 166: 
 167: #ifdef MINIX
 168: #define HERALD " Minix"
 169: #endif /* MINIX */
 170: 
 171: #ifdef MIPS
 172: #define HERALD " MIPS RISC/OS (System V R3)"
 173: #endif /* MIPS */
 174: 
 175: #ifdef NEXT
 176: #define HERALD " NeXT"
 177: #endif /* NEXT */
 178: 
 179: #ifdef OSF
 180: #define HERALD " DEC OSF/1 1.0"
 181: #endif /* OSF */
 182: 
 183: #ifdef PTX
 184: #define HERALD " DYNIX/PTX 1.3"
 185: #endif /* PTX */
 186: 
 187: #ifdef PCIX
 188: #define HERALD " PC/IX"
 189: #endif /* PCIX */
 190: 
 191: #ifdef sxaE50
 192: #define HERALD " PFU SX/A V10/L50"
 193: #endif /* sxaE50 */
 194: 
 195: #ifdef PROVX1
 196: #define HERALD " DEC Professional 300 (Venix 1.0)"
 197: #endif /* PROVX1 */
 198: 
 199: #ifdef RTAIX
 200: #define HERALD " IBM RT PC (AIX 2.2)"
 201: #endif /* RTAIX */
 202: 
 203: #ifdef RTU
 204: #define HERALD " Masscomp/Concurrent RTU"
 205: #endif /* RTU */
 206: 
 207: #ifdef sony_news
 208: #define HERALD " SONY NEWS"
 209: #endif /* sony_news */
 210: 
 211: #ifdef SVR4
 212: #ifdef sun
 213: #define HERALD "SUN Solaris 2.1"
 214: #endif /* sun */
 215: #endif /* SVR4 */
 216: 
 217: #ifdef SOLARIS
 218: #ifdef sun
 219: #define HERALD " SUN Solaris 2.0"
 220: #else
 221: #define HERALD " Solaris 2.0"
 222: #endif /* SUN */
 223: #endif /* SOLARIS */
 224: 
 225: #ifdef SUNOS4
 226: #ifdef BSD4
 227: #ifdef SUNOS41
 228: #define HERALD " SunOS 4.1 (BSD)"
 229: #else
 230: #define HERALD " SunOS 4.0 (BSD)"
 231: #endif /* SUNOS41 */
 232: #endif /* BSD4 */
 233: #endif /* SUNOS4 */
 234: 
 235: #ifdef SUN4S5
 236: #ifdef HDBUUCP
 237: #define HERALD " SunOS 4.1 (SVR3)"
 238: #else
 239: #define HERALD " SunOS 4.0 (SVR3)"
 240: #endif /* HDBUUCP */
 241: #endif /* SUN4S5 */
 242: 
 243: #ifdef TOWER1
 244: #define HERALD " NCR Tower 1632 (OS 1.02)"
 245: #endif /* TOWER1 */
 246: 
 247: #ifdef TRS16
 248: #define HERALD " Tandy 16/6000 (Xenix 3.0)"
 249: #endif /* TRS16 */
 250: 
 251: #ifdef u3b2
 252: #ifndef HERALD
 253: #ifdef SVR3
 254: #define HERALD " AT&T 3B2 (System V R3)"
 255: #else
 256: #define HERALD " AT&T 3B2 (System V)"
 257: #endif /* SVR3 */
 258: #endif /* HERALD */
 259: #endif /* u3b2 */
 260: 
 261: #ifdef ultrix
 262: #ifdef vax
 263: #define HERALD " VAX/ULTRIX"
 264: #else
 265: #ifdef mips
 266: #define HERALD " DECstation/ULTRIX"
 267: #else
 268: #define HERALD " ULTRIX"
 269: #endif /* mips */
 270: #endif /* vax */
 271: #endif /* ultrix */
 272: 
 273: #ifdef OXOS
 274: #define HERALD " Olivetti X/OS"
 275: #endif /* OXOS */
 276: 
 277: #ifdef _386BSD
 278: #define HERALD " 386BSD"
 279: #endif /* _386BSD */
 280: 
 281: #ifdef POSIX
 282: #ifdef HERALD
 283: #undef HERALD
 284: #endif /* HERALD */
 285: #define HERALD " POSIX"
 286: #endif /* POSIX */
 287: 
 288: #ifdef UTS24
 289: #define HERALD " Amdahl UTS 2.4"
 290: #endif /* UTS24 */
 291: 
 292: #ifdef UTSV
 293: #define HERALD " Amdahl UTS V"
 294: #endif /* UTSV */
 295: 
 296: #ifdef VXVE
 297: #define HERALD " CDC VX/VE 5.2.1 System V"
 298: #endif /* VXVE */
 299: 
 300: #ifdef XENIX
 301: #ifdef HERALD
 302: #undef HERALD
 303: #endif /* HERALD */
 304: #ifdef M_UNIX
 305: #define HERALD " SCO UNIX/386"
 306: #else
 307: #ifdef M_I386
 308: #define HERALD " Xenix/386"
 309: #else
 310: #ifdef M_I286
 311: #define HERALD " Xenix/286"
 312: #else
 313: #define HERALD " Xenix"
 314: #endif /* M_I286 */
 315: #endif /* M_I386 */
 316: #endif /* M_UNIX */
 317: #endif /* XENIX  */
 318: 
 319: #ifdef ZILOG
 320: #define HERALD " Zilog S8000 Zeus 3.21+"
 321: #endif /* ZILOG */
 322: 
 323: #ifdef UTEK
 324: #define HERALD " UTek"
 325: #endif /* UTEK */
 326: 
 327: /* Catch-alls for anything not defined explicitly above */
 328: 
 329: #ifndef HERALD
 330: #ifdef SVR4
 331: #ifdef i386
 332: #define HERALD " AT&T System V/386 R4"
 333: #else
 334: #ifdef AMIX
 335: #define HERALD " Commodore Amiga System V/m68k R4"
 336: #else
 337: #define HERALD " AT&T System V R4"
 338: #endif /* AMIX */
 339: #endif /* i386 */
 340: #else
 341: #ifdef SVR3
 342: #define HERALD " AT&T System V R3"
 343: #else
 344: #ifdef ATTSV
 345: #define HERALD " AT&T System III / System V"
 346: #else
 347: #ifdef BSD43
 348: #ifdef pdp11
 349: #define HERALD " PDP-11 2.10 BSD"
 350: #else
 351: #ifdef vax
 352: #define HERALD " VAX 4.3 BSD"
 353: #else
 354: #define HERALD " 4.3 BSD"
 355: #endif /* vax */
 356: #endif /* pdp11 */
 357: #else
 358: #ifdef BSD4
 359: #ifdef vax
 360: #define HERALD " VAX 4.2 BSD"
 361: #else
 362: #define HERALD " 4.2 BSD"
 363: #endif /* vax */
 364: #else
 365: #ifdef V7
 366: #define HERALD " UNIX Version 7"
 367: #endif /* V7 */
 368: #endif /* BSD4 */
 369: #endif /* BSD43 */
 370: #endif /* ATTSV */
 371: #endif /* SVR3 */
 372: #endif /* SVR4 */
 373: #endif /* HERALD */
 374: 
 375: #ifdef OS2
 376: #ifdef HERALD
 377: #undef HERALD
 378: #endif /* HERALD */
 379: #define HERALD " OS/2"
 380: #endif /* OS/2 */
 381: 
 382: #ifndef HERALD
 383: #define HERALD " Unknown Version"
 384: #endif /* HERALD */
 385: 
 386: /* Hardware type */
 387: 
 388: #ifdef vax              /* DEC VAX */
 389: #ifndef CKCPU
 390: #define CKCPU "vax"
 391: #endif /* CKCPU */
 392: #endif /*  vax */
 393: #ifdef pdp11                /* DEC PDP-11 */
 394: #ifndef CKCPU
 395: #define CKCPU "pdp11"
 396: #endif /* CKCPU */
 397: #endif /* pdp11 */
 398: 
 399: #ifdef __ALPHA
 400: #ifndef CKCPU
 401: #define CKCPU "Alpha"
 402: #endif /* CKCPU */
 403: #endif /* __ALPHA */
 404: 
 405: #ifdef __hp9000s800         /* HP 9000 */
 406: #define CKCPU "hp9000s800"
 407: #endif /* __hp9000s800 */
 408: #ifdef __hp9000s500
 409: #ifndef CKCPU
 410: #define CKCPU "hp9000s500"
 411: #endif /* CKCPU */
 412: #endif /* __hp9000s500 */
 413: #ifdef __hp9000s300
 414: #ifndef CKCPU
 415: #define CKCPU "hp9000s300"
 416: #endif /* CKCPU */
 417: #endif /* __hp9000s300 */
 418: #ifdef __hp9000s200
 419: #ifndef CKCPU
 420: #define CKCPU "hp9000s200"
 421: #endif /* CKCPU */
 422: #endif /* __hp9000s200 */
 423: #ifdef m88000               /* Motorola 88000 */
 424: #ifndef CKCPU
 425: #define CKCPU "mc88000"
 426: #endif /* CKCPU */
 427: #endif /* m88000 */
 428: #ifdef __using_M88KBCS          /* DG symbol for Motorola 88000 */
 429: #ifndef CKCPU
 430: #define CKCPU "mc88000"
 431: #endif /* CKCPU */
 432: #endif /* __using_M88KBCS */
 433: #ifdef m88k             /* Motorola symbol for 88000 */
 434: #ifndef CKCPU
 435: #define CKCPU "mc88000"
 436: #endif /* CKCPU */
 437: #endif /* m88k */
 438: #ifdef mc68040              /* Motorola 68040 */
 439: #ifndef CKCPU
 440: #define CKCPU "mc68040"
 441: #endif /* CKCPU */
 442: #endif /* mc68040 */
 443: #ifdef mc68030              /* Motorola 68030 */
 444: #ifndef CKCPU
 445: #define CKCPU "mc68030"
 446: #endif /* CKCPU */
 447: #endif /* mc68030 */
 448: #ifdef mc68020              /* Motorola 68020 */
 449: #ifndef CKCPU
 450: #define CKCPU "mc68020"
 451: #endif /* CKCPU */
 452: #endif /* mc68020 */
 453: #ifdef mc68010              /* Motorola 68010 */
 454: #ifndef CKCPU
 455: #define CKCPU "mc68010"
 456: #endif /* CKCPU */
 457: #endif /* mc68010 */
 458: #ifdef mc68000              /* Motorola 68000 */
 459: #ifndef CKCPU
 460: #define CKCPU "mc68000"
 461: #endif /* CKCPU */
 462: #endif /* mc68000 */
 463: #ifdef mc68k                /* Ditto (used by DIAB DS90) */
 464: #ifndef CKCPU
 465: #define CKCPU "mc68000"
 466: #endif /* CKCPU */
 467: #endif /* mc68k */
 468: #ifdef m68              /* Ditto */
 469: #ifndef CKCPU
 470: #define CKCPU "mc68000"
 471: #endif /* CKCPU */
 472: #endif /* m68 */
 473: #ifdef m68k             /* Ditto */
 474: #ifndef CKCPU
 475: #define CKCPU "mc68000"
 476: #endif /* CKCPU */
 477: #endif /* m68k */
 478: #ifdef i486             /* Intel 80486 */
 479: #ifndef CKCPU
 480: #define CKCPU "i486"
 481: #endif /* CKCPU */
 482: #endif /* i80486 */
 483: #ifdef i386             /* Intel 80386 */
 484: #ifndef CKCPU
 485: #define CKCPU "i386"
 486: #endif /* CKCPU */
 487: #endif /* i80386 */
 488: #ifdef i286             /* Intel 80286 */
 489: #ifndef CKCPU
 490: #define CKCPU "i286"
 491: #endif /* CKCPU */
 492: #endif /* i286 */
 493: #ifdef i186             /* Intel 80186 */
 494: #ifndef CKCPU
 495: #define CKCPU "i186"
 496: #endif /* CKCPU */
 497: #endif /* i186 */
 498: #ifdef M_I386               /* Intel 80386 */
 499: #ifndef CKCPU
 500: #define CKCPU "i386"
 501: #endif /* CKCPU */
 502: #endif /* M_I386 */
 503: #ifdef _M_I386              /* Intel 80386 */
 504: #ifndef CKCPU
 505: #define CKCPU "i386"
 506: #endif /* CKCPU */
 507: #endif /* _M_I386 */
 508: #ifdef M_I286               /* Intel 80286 */
 509: #ifndef CKCPU
 510: #define CKCPU "i286"
 511: #endif /* CKCPU */
 512: #endif /* M_I286 */
 513: #ifdef M_I86                /* Intel 80x86 */
 514: #ifndef CKCPU
 515: #define CKCPU "ix86"
 516: #endif /* CKCPU */
 517: #endif /* M_I86 */
 518: #ifdef sparc                /* SUN SPARC */
 519: #ifndef CKCPU
 520: #define CKCPU "sparc"
 521: #endif /* CKCPU */
 522: #endif /* sparc */
 523: #ifdef mips             /* MIPS RISC processor */
 524: #ifndef CKCPU
 525: #define CKCPU "mips"
 526: #endif /* CKCPU */
 527: #endif /* mips */
 528: #ifdef _IBMR2               /* IBM RS/6000 */
 529: #ifndef CKCPU               /* (what do they call the chip?) */
 530: #define CKCPU "rs6000"
 531: #endif /* CKCPU */
 532: #endif /* rs6000 */
 533: #ifdef u3b5             /* WE32000 MAC-32, AT&T 3Bx */
 534: #ifndef CKCPU
 535: #define CKCPU "u3b5"
 536: #endif /* CKCPU */
 537: #endif /* u3b5 */
 538: #ifdef n3b
 539: #ifndef CKCPU
 540: #define CKCPU "n3b"
 541: #endif /* CKCPU */
 542: #endif /* n3b */
 543: #ifdef u3b
 544: #ifndef CKCPU
 545: #define CKCPU "u3b"
 546: #endif /* CKCPU */
 547: #endif /* u3b */
 548: #ifdef n16              /* Encore Multimax */
 549: #ifndef CKCPU
 550: #define CKCPU "n16"
 551: #endif /* CKCPU */
 552: #endif /* n16 */
 553: #ifdef u370             /* IBM 370 */
 554: #ifndef CKCPU
 555: #define CKCPU "u370"
 556: #endif /* CKCPU */
 557: #endif /* u370 */
 558: #ifdef MAC              /* Macintosh catch-all */
 559: #ifndef CKCPU
 560: #define CKCPU "mc68000"
 561: #endif /* CKCPU */
 562: #endif /* MAC */
 563: 
 564: #ifndef CKCPU               /* All others */
 565: #define CKCPU "unknown"
 566: #endif /* CKCPU */
 567: 
 568: #endif /* CKUVER_H */

Defined macros

CKCPU defined in line 565; used 37 times
CKUVER_H defined in line 14; used 1 times
  • in line 13
HERALD defined in line 383; used 13 times

Usage of this include

Last modified: 1992-11-24
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1944
Valid CSS Valid XHTML 1.0 Strict