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