1 /*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)piwhoami.h 8.1 (Berkeley) 06/06/93 8 */ 9 10 /* 11 * am i generating an obj file (OBJ), 12 * postfix binary input to the 2nd pass of the portable c compiler (PC), 13 * or pTrees (PTREE)? 14 */ 15 #define OBJ 16 #undef PC 17 #undef PTREE 18 19 /* 20 * we assume one of the following will be defined by the preprocessor: 21 * vax for vaxes 22 * pdp11 for pdp11's 23 * mc68000 for motorola mc68000's 24 * tahoe for cci power 6/32's 25 */ 26 27 /* 28 * hardware characteristics: 29 * address size (16 or 32 bits) and byte ordering (normal or dec11 family). 30 */ 31 #ifdef vax 32 #undef ADDR16 33 #define ADDR32 34 #define DEC11 35 #endif vax 36 #ifdef mc68000 37 #undef ADDR16 38 #define ADDR32 39 #undef DEC11 40 #endif mc68000 41 #ifdef tahoe 42 #undef ADDR16 43 #define ADDR32 44 #undef DEC11 45 #endif tahoe 46 #ifdef pdp11 47 #define ADDR16 48 #undef ADDR32 49 #define DEC11 50 #endif pdp11 51 52 /* 53 * am i pi or pxp? 54 */ 55 #define PI 56 #undef PXP 57 58 /* 59 * am i both passes, or am i only one of the two passes pi0 or pi1? 60 */ 61 #define PI01 62 #undef PI0 63 #undef PI1 64 #define DEBUG 65