summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal
blob: ede227bd5f713265704285ecbb44d33b6bf28a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: ghc-bin
-- XXX Version number!
Version: 6.9
Copyright: XXX
-- License: XXX
-- License-File: XXX
Author: XXX
Maintainer: glasgow-haskell-users@haskell.org
Homepage: http://www.haskell.org/ghc/
Synopsis: XXX
Description:
        XXX
Category: XXX
Data-Dir: ..
Data-Files: extra-gcc-opts
Build-Type: Simple
Cabal-Version: >= 1.2

Flag base3
    Description: Choose the new smaller, split-up base package.

Flag ghci
    Description: Build GHCi support.

Executable ghc
    Main-Is: Main.hs
    if flag(base3)
        Build-Depends: base       >= 3   && < 5,
                       directory  >= 1   && < 1.1
    else
        Build-Depends: base < 3
    Build-Depends: base, ghc
    Build-Depends: filepath >= 1 && < 1.2

    GHC-Options: -Wall
    if flag(ghci)
        CPP-Options: -DGHCI

    Extensions: CPP, PatternGuards