Preliminary bindist rule (#555)
[hadrian.git] / cfg / system.config.in
1 # This file is processed by the configure script.
2 # See hadrian/src/UserSettings.hs for user-defined settings.
3 #===========================================================
4
5 # Paths to builders:
6 #===================
7
8 alex           = @AlexCmd@
9 ar             = @ArCmd@
10 autoreconf     = autoreconf
11 cc             = @CC@
12 happy          = @HappyCmd@
13 hs-cpp         = @HaskellCPPCmd@
14 ld             = @LdCmd@
15 make           = @MakeCmd@
16 nm             = @NmCmd@
17 objdump        = @ObjdumpCmd@
18 ranlib         = @REAL_RANLIB_CMD@
19 sphinx-build   = @SPHINXBUILD@
20 system-ar      = @AR_STAGE0@
21 system-cc      = @CC_STAGE0@
22 system-ghc     = @WithGhc@
23 system-ghc-pkg = @GhcPkgCmd@
24 tar            = @TarCmd@
25 patch          = @PatchCmd@
26 perl           = @PerlCmd@
27 ln-s           = @LN_S@
28 xelatex        = @XELATEX@
29
30 # Python 3 is required to run test driver.
31 # See: https://github.com/ghc/ghc/blob/master/testsuite/mk/boilerplate.mk#L220
32 python         = python3
33
34 # Information about builders:
35 #============================
36
37 ar-supports-at-file = @ArSupportsAtFile@
38 cc-clang-backend    = @CC_CLANG_BACKEND@
39 cc-llvm-backend     = @CC_LLVM_BACKEND@
40 gcc-is-clang        = @GccIsClang@
41 hs-cpp-args         = @HaskellCPPArgs@
42
43 # Build options:
44 #===============
45
46 solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@
47 split-objects-broken = @SplitObjsBroken@
48 ghc-unregisterised   = @Unregisterised@
49 ghc-source-path      = @hardtop@
50 leading-underscore   = @LeadingUnderscore@
51
52 # Information about build, host and target systems:
53 #==================================================
54
55 build-platform        = @BuildPlatform@
56 build-arch            = @BuildArch_CPP@
57 build-os              = @BuildOS_CPP@
58 build-vendor          = @BuildVendor_CPP@
59
60 host-platform         = @HostPlatform@
61 host-arch             = @HostArch_CPP@
62 host-os               = @HostOS_CPP@
63 host-vendor           = @HostVendor_CPP@
64
65 target-platform       = @TargetPlatform@
66 target-platform-full  = @TargetPlatformFull@
67 target-arch           = @TargetArch_CPP@
68 target-os             = @TargetOS_CPP@
69 target-vendor         = @TargetVendor_CPP@
70 llvm-target           = @LLVMTarget_CPP@
71
72 cross-compiling       = @CrossCompiling@
73
74 dynamic-extension     = @soext_target@
75
76 ghc-version           = @GhcVersion@
77 ghc-major-version     = @GhcMajVersion@
78 ghc-minor-version     = @GhcMinVersion@
79 ghc-patch-level       = @GhcPatchLevel@
80
81 supports-this-unit-id = @SUPPORTS_THIS_UNIT_ID@
82
83 project-name          = @ProjectName@
84 project-version       = @ProjectVersion@
85 project-version-int   = @ProjectVersionInt@
86 project-patch-level   = @ProjectPatchLevel@
87 project-patch-level1  = @ProjectPatchLevel1@
88 project-patch-level2  = @ProjectPatchLevel2@
89 project-git-commit-id = @ProjectGitCommitId@
90
91 # Compilation and linking flags:
92 #===============================
93
94 conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@
95 conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@
96 conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@
97
98 conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@
99 conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@
100 conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@
101
102 conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@
103 conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@
104 conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@
105
106 conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@
107 conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@
108 conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@
109
110 # Include and library directories:
111 #=================================
112
113 curses-lib-dir    = @CURSES_LIB_DIRS@
114
115 iconv-include-dir = @ICONV_INCLUDE_DIRS@
116 iconv-lib-dir     = @ICONV_LIB_DIRS@
117
118 gmp-include-dir   = @GMP_INCLUDE_DIRS@
119 gmp-lib-dir       = @GMP_LIB_DIRS@
120
121 use-system-ffi    = @UseSystemLibFFI@
122 ffi-include-dir   = @FFIIncludeDir@
123 ffi-lib-dir       = @FFILibDir@
124
125 # Optional Dependencies:
126 #=======================
127
128 with-libdw = @UseLibdw@
129 have-lib-mingw-ex = @HaveLibMingwEx@
130
131 # Installation:
132 #=======================
133
134 install-prefix          = @prefix@
135 install-bindir          = @prefix@/bin
136 install-libdir          = @prefix@/lib
137 install-datarootdir     = @prefix@/share
138
139 install         = @INSTALL@
140 install-program = @INSTALL@ -m 755
141 install-script  = @INSTALL@ -m 755
142 install-data    = @INSTALL@ -m 644
143 install-dir     = @INSTALL@ -m 755 -d