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