Expose enabled language extensions to TH
[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       >= 3   && < 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,
37                    ghc
38     if os(windows)
39         Build-Depends: Win32
40     else
41         Build-Depends: unix
42
43     C-Sources: hschooks.c
44
45     GHC-Options: -Wall
46     if flag(ghci)
47         Build-depends: deepseq >= 1.4 && < 1.5
48         CPP-Options: -DGHCI
49         GHC-Options: -fno-warn-name-shadowing
50         Other-Modules:
51             InteractiveUI
52             GhciMonad
53             GhciTags
54         Build-Depends: transformers, haskeline
55         Other-Extensions:
56             FlexibleInstances
57             MagicHash
58             TupleSections
59             UnboxedTuples
60
61     Other-Extensions:
62         CPP
63         NondecreasingIndentation