[project @ 1998-02-05 12:23:33 by simonm]
[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 alpha_dec_osf3          12
7 #define hppa1_1_hp_hpux         20
8 #define i386_next_nextstep3     30
9 #define i386_unknown_bsdi       31
10 #define i386_unknown_freebsd    32
11 #define i386_unknown_linux      33
12 #define i386_unknown_linuxaout  34
13 #define i386_unknown_netbsd     35
14 #define i386_unknown_solaris2   36
15 #define m68k_next_nextstep      50
16 #define m68k_simonpj_grip       51
17 #define m68k_sun_sunos4         52
18 #define mips_dec_ultrix         60
19 #define mips_sgi_irix           61
20 #define powerpc_ibm_aix         70
21 #define sparc_sun_solaris2      80
22 #define sparc_sun_sunos4        81
23 #define sparc_unknown_linux     82
24
25 #define HostPlatform_TYPE   @HostPlatform_CPP@
26 #define TargetPlatform_TYPE @HostPlatform_CPP@
27 #define BuildPlatform_TYPE  @HostPlatform_CPP@
28
29 #define @HostPlatform_CPP@_HOST         1
30 #define @HostPlatform_CPP@_TARGET       1
31 #define @HostPlatform_CPP@_BUILD        1
32
33 #define @HostArch_CPP@_HOST_ARCH        1
34 #define @HostArch_CPP@_TARGET_ARCH      1
35 #define @HostArch_CPP@_BUILD_ARCH       1
36
37 #define @HostOS_CPP@_HOST_OS            1
38 #define @HostOS_CPP@_TARGET_OS  1
39 #define @HostOS_CPP@_BUILD_OS           1
40
41 #define @HostVendor_CPP@_HOST_VENDOR    1
42 #define @HostVendor_CPP@_TARGET_VENDOR 1
43 #define @HostVendor_CPP@_BUILD_VENDOR   1
44
45 #define HC_UNSPECIFIED  1
46 #define HC_GLASGOW_GHC  2
47 #define HC_USE_HC_FILES 3
48 #define HC_CHALMERS_HBC 4
49 #define HC_ROJEMO_NHC   5
50 #define HC_YALE_YHC     6
51 #define HC_HUGS         7
52
53 #endif