11181Speter /* Copyright (c) 1979 Regents of the University of California */ 21181Speter 3*10569Smckusick /* static char sccsid[] = "@(#)piwhoami.h 1.3 01/22/83"; */ 41181Speter 51181Speter /* 61181Speter * am i generating an obj file (OBJ), 71181Speter * postfix binary input to the 2nd pass of the portable c compiler (PC), 81181Speter * or pTrees (PTREE)? 91181Speter */ 101181Speter #define OBJ 111181Speter #undef PC 121181Speter #undef PTREE 131181Speter 141181Speter /* 15*10569Smckusick * we assume one of the following will be defined by the preprocessor: 16*10569Smckusick * vax for vaxes 17*10569Smckusick * pdp11 for pdp11's 18*10569Smckusick * mc68000 for motorola mc68000's 191181Speter */ 201181Speter 211181Speter /* 22*10569Smckusick * hardware characteristics: 23*10569Smckusick * address size (16 or 32 bits) and byte ordering (normal or dec11 family). 24*10569Smckusick */ 25*10569Smckusick #ifdef vax 26*10569Smckusick #undef ADDR16 27*10569Smckusick #define ADDR32 28*10569Smckusick #define DEC11 29*10569Smckusick #endif vax 30*10569Smckusick #ifdef mc68000 31*10569Smckusick #undef ADDR16 32*10569Smckusick #define ADDR32 33*10569Smckusick #undef DEC11 34*10569Smckusick #endif mc68000 35*10569Smckusick #ifdef pdp11 36*10569Smckusick #define ADDR16 37*10569Smckusick #undef ADDR32 38*10569Smckusick #define DEC11 39*10569Smckusick #endif pdp11 40*10569Smckusick 41*10569Smckusick /* 421181Speter * am i pi or pxp? 431181Speter */ 441181Speter #define PI 451181Speter #undef PXP 461181Speter 471181Speter /* 481181Speter * am i both passes, or am i only one of the two passes pi0 or pi1? 491181Speter */ 501181Speter #define PI01 511181Speter #undef PI0 521181Speter #undef PI1 53