Update dependency on directory.
[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.2
20
21 Flag ghci
22     Description: Build GHCi support.
23     Default: False
24     Manual: True
25
26 Executable ghc
27     Main-Is: Main.hs
28     Build-Depends: base       >= 3   && < 5,
29                    array      >= 0.1 && < 0.5,
30                    bytestring >= 0.9 && < 0.11,
31                    directory  >= 1   && < 1.3,
32                    process    >= 1   && < 1.2,
33                    filepath   >= 1   && < 1.4,
34                    ghc
35     if os(windows)
36         Build-Depends: Win32
37     else
38         Build-Depends: unix
39
40     C-Sources: hschooks.c
41
42     GHC-Options: -Wall
43     if flag(ghci)
44         CPP-Options: -DGHCI
45         GHC-Options: -fno-warn-name-shadowing
46         Other-Modules: InteractiveUI, GhciMonad, GhciTags
47         Build-Depends: transformers, haskeline
48         Extensions: ForeignFunctionInterface,
49                     UnboxedTuples,
50                     FlexibleInstances,
51                     MagicHash
52
53     Extensions: CPP, PatternGuards
54     if impl(ghc >= 7.1)
55         Extensions: NondecreasingIndentation
56