Fix SPARC build, missing #include
[ghc-hetmet.git] / ghc / ghc-bin.cabal.in
1 Name: ghc-bin
2 Version: @ProjectVersion@
3 Copyright: XXX
4 -- License: XXX
5 -- License-File: XXX
6 Author: XXX
7 Maintainer: glasgow-haskell-users@haskell.org
8 Homepage: http://www.haskell.org/ghc/
9 Synopsis: XXX
10 Description:
11         XXX
12 Category: XXX
13 Data-Dir: ..
14 Data-Files: extra-gcc-opts
15 Build-Type: Simple
16 Cabal-Version: >= 1.2
17
18 Flag base3
19     Description: Choose the new smaller, split-up base package.
20
21 Flag ghci
22     Description: Build GHCi support.
23
24 Executable ghc
25     Main-Is: Main.hs
26     if flag(base3)
27         Build-Depends: base       >= 3   && < 5,
28                        directory  >= 1   && < 1.1
29     else
30         Build-Depends: base < 3
31     Build-Depends: base, ghc
32     Build-Depends: filepath >= 1 && < 1.2
33
34     GHC-Options: -Wall
35     if flag(ghci)
36         CPP-Options: -DGHCI
37
38     Extensions: CPP, PatternGuards
39