[project @ 1996-07-25 20:43:49 by partain]
[ghc-hetmet.git] / ghc / includes / platform.h.in
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3
4 #define alpha_dec_osf1          10
5 #define alpha_unknown_linux     11
6 #define hppa1_1_hp_hpux         20
7 #define i386_next_nextstep3     30
8 #define i386_unknown_bsdi       31
9 #define i386_unknown_freebsd    32
10 #define i386_unknown_linux      33
11 #define i386_unknown_linuxaout  34
12 #define i386_unknown_netbsd     35
13 #define i386_unknown_solaris2   36
14 #define m68k_next_nextstep      50
15 #define m68k_simonpj_grip       51
16 #define m68k_sun_sunos4         52
17 #define mips_dec_ultrix         60
18 #define mips_sgi_irix           61
19 #define powerpc_ibm_aix         70
20 #define sparc_sun_solaris2      80
21 #define sparc_sun_sunos4        81
22 #define sparc_unknown_linux     82
23
24 #define HostPlatform_TYPE   @HostPlatform_CPP@
25 #define TargetPlatform_TYPE @HostPlatform_CPP@
26 #define BuildPlatform_TYPE  @HostPlatform_CPP@
27
28 #define @HostPlatform_CPP@_HOST         1
29 #define @HostPlatform_CPP@_TARGET       1
30 #define @HostPlatform_CPP@_BUILD        1
31
32 #define @HostArch_CPP@_HOST_ARCH        1
33 #define @HostArch_CPP@_TARGET_ARCH      1
34 #define @HostArch_CPP@_BUILD_ARCH       1
35
36 #define @HostOS_CPP@_HOST_OS            1
37 #define @HostOS_CPP@_TARGET_OS  1
38 #define @HostOS_CPP@_BUILD_OS           1
39
40 #define @HostVendor_CPP@_HOST_VENDOR    1
41 #define @HostVendor_CPP@_TARGET_VENDOR 1
42 #define @HostVendor_CPP@_BUILD_VENDOR   1
43
44 #define HC_UNSPECIFIED  1
45 #define HC_GLASGOW_GHC  2
46 #define HC_USE_HC_FILES 3
47 #define HC_CHALMERS_HBC 4
48 #define HC_ROJEMO_NHC   5
49 #define HC_YALE_YHC     6
50 #define HC_HUGS         7
51
52 #endif