new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / pascal / src / pcwhoami.h
CommitLineData
0fc6e47b
KB
1/*-
2 * Copyright (c) 1980 The Regents of the University of California.
3 * All rights reserved.
252367af 4 *
0fc6e47b
KB
5 * %sccs.include.redist.c%
6 *
7 * @(#)pcwhoami.h 5.3 (Berkeley) %G%
252367af 8 */
b20d17c6
PK
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/*
6d92b07c
PK
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
95d41007 24 * tahoe for cci power 6/32
b20d17c6 25 */
6d92b07c
PK
26
27/*
28 * hardware characteristics:
29 * address size (16 or 32 bits) and byte ordering (normal or dec11 family).
30 */
d5b3b70a
PK
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
95d41007
KM
46#ifdef tahoe
47# undef ADDR16
48# define ADDR32
49# undef DEC11
50#endif tahoe
d5b3b70a
PK
51#ifdef z8000
52# define ADDR16
53# undef ADDR32
54# undef DEC11
55#endif z8000
b20d17c6
PK
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