Use Cabal directly in place of ghc-cabal + make build root configurable (#531)
[hadrian.git] / src / Builder.hs-boot
1 module Builder where
2
3 import Stage
4 import Hadrian.Builder.Ar
5 import Hadrian.Builder.Sphinx
6 import Hadrian.Builder.Tar
7
8 data CcMode = CompileC | FindCDependencies
9 data GhcMode =  CompileHs | CompileCWithGhc | FindHsDependencies | LinkHs
10 data GhcCabalMode = Conf | HsColour | Check | Sdist
11 data GhcPkgMode = Init | Update | Clone | Dependencies
12 data HaddockMode = BuildPackage | BuildIndex
13
14 data Builder = Alex
15              | Ar ArMode Stage
16              | DeriveConstants
17              | Cc CcMode Stage
18              | Configure FilePath
19              | GenApply
20              | GenPrimopCode
21              | Ghc GhcMode Stage
22              | GhcCabal GhcCabalMode Stage
23              | GhcPkg GhcPkgMode Stage
24              | Haddock HaddockMode
25              | Happy
26              | Hpc
27              | Hp2Ps
28              | HsCpp
29              | Hsc2Hs Stage
30              | Ld Stage
31              | Make FilePath
32              | Nm
33              | Objdump
34              | Patch
35              | Perl
36              | Python
37              | Ranlib
38              | RunTest
39              | Sphinx SphinxMode
40              | Tar TarMode
41              | Unlit
42              | Xelatex
43              | CabalFlags Stage
44
45 instance Eq Builder
46 instance Show Builder