GHC new build system megapatch
[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                        directory  >= 1   && < 1.1
32     else
33         Build-Depends: base < 3
34     Build-Depends: base, ghc
35     Build-Depends: filepath >= 1 && < 1.2
36
37     GHC-Options: -Wall
38     if flag(ghci)
39         CPP-Options: -DGHCI
40
41     Extensions: CPP, PatternGuards
42