Synchronise ghci-package version with ghc-package
[ghc.git] / ghc / ghc-bin.cabal.in
1 -- WARNING: ghc-bin.cabal is automatically generated from ghc-bin.cabal.in by
2 -- ./configure.  Make sure you are editing ghc-bin.cabal.in, not ghc-bin.cabal.
3
4 Name: ghc-bin
5 Version: @ProjectVersion@
6 Copyright: XXX
7 -- License: XXX
8 -- License-File: XXX
9 Author: XXX
10 Maintainer: glasgow-haskell-users@haskell.org
11 Homepage: http://www.haskell.org/ghc/
12 Synopsis: XXX
13 Description:
14         XXX
15 Category: XXX
16 Data-Dir: ..
17 Data-Files: settings
18 Build-Type: Simple
19 Cabal-Version: >=1.10
20
21 Flag ghci
22     Description: Build GHCi support.
23     Default: False
24     Manual: True
25
26 Executable ghc
27     Default-Language: Haskell2010
28
29     Main-Is: Main.hs
30     Build-Depends: base       >= 4   && < 5,
31                    array      >= 0.1 && < 0.6,
32                    bytestring >= 0.9 && < 0.11,
33                    directory  >= 1   && < 1.3,
34                    process    >= 1   && < 1.5,
35                    filepath   >= 1   && < 1.5,
36                    ghc-boot   == @ProjectVersionMunged@,
37                    ghc        == @ProjectVersionMunged@
38
39     if os(windows)
40         Build-Depends: Win32  == 2.3.*
41     else
42         Build-Depends: unix   == 2.7.*
43
44     C-Sources: hschooks.c
45
46     GHC-Options: -Wall
47     if flag(ghci)
48         -- NB: this is never built by the bootstrapping GHC+libraries
49         Build-depends:
50             containers     == 0.5.*,
51             deepseq        == 1.4.*,
52             ghci           == @ProjectVersionMunged@,
53             haskeline      == 0.7.*,
54             time           == 1.6.*,
55             transformers   == 0.5.*
56         CPP-Options: -DGHCI
57         GHC-Options: -fno-warn-name-shadowing
58         Other-Modules:
59             GHCi.UI
60             GHCi.UI.Info
61             GHCi.UI.Monad
62             GHCi.UI.Tags
63         Other-Extensions:
64             BangPatterns
65             FlexibleInstances
66             LambdaCase
67             MagicHash
68             MultiWayIf
69             OverloadedStrings
70             RankNTypes
71             RecordWildCards
72             ScopedTypeVariables
73             UnboxedTuples
74             ViewPatterns
75
76     Other-Extensions:
77         CPP
78         NondecreasingIndentation
79         TupleSections