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 * @(#)pcwhoami.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 #undef OBJ 16 #define 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 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 pdp11 37 # define ADDR16 38 # undef ADDR32 39 # define DEC11 40 #endif vax 41 #ifdef mc68000 42 # undef ADDR16 43 # define ADDR32 44 # undef DEC11 45 #endif mc68000 46 #ifdef tahoe 47 # undef ADDR16 48 # define ADDR32 49 # undef DEC11 50 #endif tahoe 51 #ifdef z8000 52 # define ADDR16 53 # undef ADDR32 54 # undef DEC11 55 #endif z8000 56 57 /* 58 * am i pi or pxp? 59 */ 60 #define PI 61 #undef PXP 62 63 /* 64 * am i both passes, or am i only one of the two passes pi0 or pi1? 65 */ 66 #define PI01 67 #undef PI0 68 #undef PI1 69