Annotation of 42BSD/ucb/pascal/src/pcwhoami.h, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1979 Regents of the University of California */
                      2: 
                      3: /* static      char sccsid[] = "@(#)pcwhoami.h 1.4 2/2/83"; */
                      4: 
                      5: /*
                      6:  *     am i generating an obj file (OBJ),
                      7:  *     postfix binary input to the 2nd pass of the portable c compiler (PC),
                      8:  *     or pTrees (PTREE)?
                      9:  */
                     10: #undef OBJ
                     11: #define        PC
                     12: #undef PTREE
                     13: 
                     14: /*
                     15:  *     we assume one of the following will be defined by the preprocessor:
                     16:  *     vax     for vaxes
                     17:  *     pdp11   for pdp11's
                     18:  *     mc68000 for motorola mc68000's
                     19:  */
                     20: 
                     21: /*
                     22:  *     hardware characteristics:
                     23:  *     address size (16 or 32 bits) and byte ordering (normal or dec11 family).
                     24:  */
                     25: #ifdef vax
                     26: #   undef      ADDR16
                     27: #   define     ADDR32
                     28: #   define     DEC11
                     29: #endif vax
                     30: #ifdef pdp11
                     31: #   define     ADDR16
                     32: #   undef      ADDR32
                     33: #   define     DEC11
                     34: #endif vax
                     35: #ifdef mc68000
                     36: #   undef      ADDR16
                     37: #   define     ADDR32
                     38: #   undef      DEC11
                     39: #endif mc68000
                     40: #ifdef z8000
                     41: #   define     ADDR16
                     42: #   undef      ADDR32
                     43: #   undef      DEC11
                     44: #endif z8000
                     45: 
                     46: /*
                     47:  *     am i pi or pxp?
                     48:  */
                     49: #define PI
                     50: #undef PXP
                     51: 
                     52: /*
                     53:  *     am i both passes, or am i only one of the two passes pi0 or pi1?
                     54:  */
                     55: #define        PI01
                     56: #undef PI0
                     57: #undef PI1

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.