|
|
1.1 root 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: * @(#)piwhoami.h 5.2 (Berkeley) 11/12/86
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: #define OBJ
15: #undef 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: * tahoe for cci power 6/32's
24: */
25:
26: /*
27: * hardware characteristics:
28: * address size (16 or 32 bits) and byte ordering (normal or dec11 family).
29: */
30: #ifdef vax
31: #undef ADDR16
32: #define ADDR32
33: #define DEC11
34: #endif vax
35: #ifdef mc68000
36: #undef ADDR16
37: #define ADDR32
38: #undef DEC11
39: #endif mc68000
40: #ifdef tahoe
41: #undef ADDR16
42: #define ADDR32
43: #undef DEC11
44: #endif tahoe
45: #ifdef pdp11
46: #define ADDR16
47: #undef ADDR32
48: #define DEC11
49: #endif pdp11
50:
51: /*
52: * am i pi or pxp?
53: */
54: #define PI
55: #undef PXP
56:
57: /*
58: * am i both passes, or am i only one of the two passes pi0 or pi1?
59: */
60: #define PI01
61: #undef PI0
62: #undef PI1
63: #define DEBUG
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.