Add recently added lib dirs to the darcs boring file
[ghc-hetmet.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: extra-gcc-opts
18 Build-Type: Simple
19 Cabal-Version: >= 1.2
20
21 Flag base3
22     Description: Choose the new smaller, split-up base package.
23
24 Flag ghci
25     Description: Build GHCi support.
26
27 Executable ghc
28     Main-Is: Main.hs
29     if flag(base3)
30         Build-Depends: base       >= 3   && < 5,
31                        array      >= 0.1 && < 0.3,
32                        bytestring >= 0.9 && < 0.10,
33                        directory  >= 1   && < 1.1,
34                        process    >= 1   && < 1.1
35     else
36         Build-Depends: base < 3
37     Build-Depends: base, ghc
38     Build-Depends: filepath >= 1 && < 1.2
39     if os(windows)
40         Build-Depends: Win32
41     else
42         Build-Depends: unix
43
44     GHC-Options: -Wall
45     if flag(ghci)
46         CPP-Options: -DGHCI
47         GHC-Options: -fno-warn-name-shadowing
48         Other-Modules: InteractiveUI, GhciMonad, GhciTags
49         Build-Depends: mtl, haskeline
50         Extensions: ForeignFunctionInterface,
51                     UnboxedTuples,
52                     FlexibleInstances,
53                     MagicHash
54
55     Extensions: CPP, PatternGuards
56