1 -- WARNING: ghc.cabal is automatically generated from ghc.cabal.in by
2 -- ./configure. Make sure you are editing ghc.cabal.in, not ghc.cabal.
5 Version: @ProjectVersion@
7 License-File: ../LICENSE
9 Maintainer: glasgow-haskell-users@haskell.org
10 Homepage: http://www.haskell.org/ghc/
13 GHC's functionality can be useful for more things than just
14 compiling Haskell programs. Important use cases are programs
15 that analyse (and perhaps transform) Haskell code. Others
16 include loading Haskell code dynamically in a GHCi-like manner.
17 For this reason, a lot of GHC's functionality is made available
24 Description: Choose the even newer, even smaller, split-up base package.
27 Description: Choose the new smaller, split-up base package.
30 Description: Dynamic library support
35 Description: Use editline
40 Description: Build GHCi support.
45 Description: Build the NCG.
50 Description: Is this stage 1?
54 Description: Is this stage 2?
58 Description: Is this stage 3?
65 Build-Depends: base >= 4 && < 5
67 Build-Depends: base >= 3 && < 4
68 if !flag(base3) && !flag(base4)
69 Build-Depends: base < 3
71 if flag(base3) || flag(base4)
72 Build-Depends: directory >= 1 && < 1.1,
73 process >= 1 && < 1.1,
74 bytestring >= 0.9 && < 0.10,
75 old-time >= 1 && < 1.1,
76 containers >= 0.1 && < 0.3,
79 Build-Depends: filepath >= 1 && < 1.2
80 Build-Depends: haskell98, Cabal, hpc
87 Build-Depends: editline
88 CPP-Options: -DUSE_EDITLINE
90 GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-orphans
93 Build-Depends: template-haskell
95 Include-Dirs: ../libffi/build/include
98 CPP-Options: -DOMIT_NATIVE_CODEGEN
100 -- GHC 6.4.2 needs to be able to find WCsubst.c, which needs to be
101 -- able to find WCsubst.h
102 Include-Dirs: ../libraries/base/cbits, ../libraries/base/include
104 Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards,
105 ForeignFunctionInterface, EmptyDataDecls,
106 TypeSynonymInstances, MultiParamTypeClasses,
107 FlexibleInstances, Rank2Types, ScopedTypeVariables,
108 DeriveDataTypeable, RelaxedPolyRec
110 Include-Dirs: . parser utils
115 Build-Depends: extensible-exceptions
116 Extensions: PatternSignatures
124 Install-Includes: HsVersions.h, ghc_boot_platform.h
132 ghci/keepCAFsForGHCi.c
513 SPARC.CodeGen.CondCode
520 RegAlloc.Graph.ArchBase
521 RegAlloc.Graph.ArchX86
522 RegAlloc.Graph.Coalesce
524 RegAlloc.Graph.SpillClean
525 RegAlloc.Graph.SpillCost
526 RegAlloc.Graph.TrivColorable
528 RegAlloc.Linear.JoinToTargets
529 RegAlloc.Linear.State
530 RegAlloc.Linear.Stats
531 RegAlloc.Linear.FreeRegs
532 RegAlloc.Linear.StackMap
534 RegAlloc.Linear.X86.FreeRegs
535 RegAlloc.Linear.PPC.FreeRegs
536 RegAlloc.Linear.SPARC.FreeRegs