4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 1989 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
32 #if !defined(_CROSS_TARGET_ARCH)
34 /* The usual, native case. Usage:
38 #include <machine/a.out.h>
40 #else /*defined(_CROSS_TARGET_ARCH)*/
42 /* Used when building a cross-tool, with the target system architecture
43 * determined by the _CROSS_TARGET_ARCH preprocessor variable at compile
46 * ...plus compilation with command (e.g. for Sun-4 target architecture):
47 * cc -DSUN2=2 -DSUN3=3 -DSUN3X=31 -DSUN4=4 \
48 * -D_CROSS_TARGET_ARCH=SUN4 ...
49 * Note: this may go away in a future release.
51 # if _CROSS_TARGET_ARCH == SUN2
52 # include "sun2/a.out.h"
53 # elif _CROSS_TARGET_ARCH == SUN3
54 # include "sun3/a.out.h"
55 # elif _CROSS_TARGET_ARCH == SUN3X
56 # include "sun3x/a.out.h"
57 # elif _CROSS_TARGET_ARCH == SUN4
58 # include "sun4/a.out.h"
59 # elif _CROSS_TARGET_ARCH == VAX
60 # include "vax/a.out.h"
63 #endif /*defined(_CROSS_TARGET_ARCH)*/
66 * Usage when building a cross-tool with a fixed target system architecture
67 * (Sun-4 in this example), bypassing this file:
68 * #include <sun4/a.out.h>