summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal.in
blob: 45193e36ee0a9846cbfc02ba27b35e67936c41c7 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
-- WARNING: ghc-bin.cabal is automatically generated from ghc-bin.cabal.in by
-- ./configure.  Make sure you are editing ghc-bin.cabal.in, not ghc-bin.cabal.

Name: ghc-bin
Version: @ProjectVersion@
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: settings
Build-Type: Simple
Cabal-Version: >=1.10

Flag ghci
    Description: Build GHCi support.
    Default: False
    Manual: True

Executable ghc
    Default-Language: Haskell2010

    Main-Is: Main.hs
    Build-Depends: base       >= 3   && < 5,
                   array      >= 0.1 && < 0.6,
                   bytestring >= 0.9 && < 0.11,
                   directory  >= 1   && < 1.3,
                   process    >= 1   && < 1.5,
                   filepath   >= 1   && < 1.5,
                   ghc-boot,
                   ghc
    if os(windows)
        Build-Depends: Win32
    else
        Build-Depends: unix

    C-Sources: hschooks.c

    GHC-Options: -Wall
    if flag(ghci)
        Build-depends: deepseq >= 1.4 && < 1.5,
                       ghci
        CPP-Options: -DGHCI
        GHC-Options: -fno-warn-name-shadowing
        Other-Modules:
            InteractiveUI
            GhciMonad
            GhciTags
        Build-Depends: transformers, haskeline
        Other-Extensions:
            FlexibleInstances
            MagicHash
            TupleSections
            UnboxedTuples

    Other-Extensions:
        CPP
        NondecreasingIndentation