Build system improvements
[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 ghci
22     Description: Build GHCi support.
23
24 Executable ghc
25     Main-Is: Main.hs
26     Build-Depends: base       >= 3   && < 5,
27                    array      >= 0.1 && < 0.4,
28                    bytestring >= 0.9 && < 0.10,
29                    directory  >= 1   && < 1.2,
30                    process    >= 1   && < 1.1,
31                    filepath   >= 1   && < 1.3,
32                    ghc
33     if os(windows)
34         Build-Depends: Win32
35     else
36         Build-Depends: unix
37
38     GHC-Options: -Wall
39     if flag(ghci)
40         CPP-Options: -DGHCI
41         GHC-Options: -fno-warn-name-shadowing
42         Other-Modules: InteractiveUI, GhciMonad, GhciTags
43         Build-Depends: mtl, haskeline
44         Extensions: ForeignFunctionInterface,
45                     UnboxedTuples,
46                     FlexibleInstances,
47                     MagicHash
48
49     Extensions: CPP, PatternGuards
50