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