xref: /original-bsd/usr.bin/pascal/src/piwhoami.h (revision f71cd02e)
1 /* Copyright (c) 1979 Regents of the University of California */
2 
3 /* static	char sccsid[] = "@(#)piwhoami.h 2.1 02/08/84"; */
4 
5 /*
6  *	am i generating an obj file (OBJ),
7  *	postfix binary input to the 2nd pass of the portable c compiler (PC),
8  *	or pTrees (PTREE)?
9  */
10 #define	OBJ
11 #undef	PC
12 #undef	PTREE
13 
14 /*
15  *	we assume one of the following will be defined by the preprocessor:
16  *	vax	for vaxes
17  *	pdp11	for pdp11's
18  *	mc68000	for motorola mc68000's
19  */
20 
21 /*
22  *	hardware characteristics:
23  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
24  */
25 #ifdef vax
26 #undef	ADDR16
27 #define	ADDR32
28 #define	DEC11
29 #endif vax
30 #ifdef mc68000
31 #undef	ADDR16
32 #define	ADDR32
33 #undef	DEC11
34 #endif mc68000
35 #ifdef pdp11
36 #define	ADDR16
37 #undef	ADDR32
38 #define	DEC11
39 #endif pdp11
40 
41 /*
42  *	am i pi or pxp?
43  */
44 #define PI
45 #undef	PXP
46 
47 /*
48  *	am i both passes, or am i only one of the two passes pi0 or pi1?
49  */
50 #define	PI01
51 #undef	PI0
52 #undef	PI1
53 #define DEBUG
54