ghc-bin.cabal.in 1.46 KB
Newer Older
Ian Lynagh's avatar
Ian Lynagh committed
1
2
3
-- 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.

4
Name: ghc-bin
5
Version: @ProjectVersion@
6
7
8
9
10
11
12
13
14
15
16
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: ..
17
Data-Files: settings
18
Build-Type: Simple
19
Cabal-Version: >=1.10
20
21
22

Flag ghci
    Description: Build GHCi support.
23
24
    Default: False
    Manual: True
25
26

Executable ghc
27
28
    Default-Language: Haskell2010

29
    Main-Is: Main.hs
Ian Lynagh's avatar
Ian Lynagh committed
30
    Build-Depends: base       >= 3   && < 5,
31
                   array      >= 0.1 && < 0.6,
Ian Lynagh's avatar
Ian Lynagh committed
32
                   bytestring >= 0.9 && < 0.11,
pcapriotti's avatar
pcapriotti committed
33
                   directory  >= 1   && < 1.3,
ian@well-typed.com's avatar
ian@well-typed.com committed
34
                   process    >= 1   && < 1.3,
35
                   filepath   >= 1   && < 1.5,
Ian Lynagh's avatar
Ian Lynagh committed
36
                   ghc
37
38
39
40
    if os(windows)
        Build-Depends: Win32
    else
        Build-Depends: unix
41

42
43
    C-Sources: hschooks.c

44
45
46
    GHC-Options: -Wall
    if flag(ghci)
        CPP-Options: -DGHCI
47
        GHC-Options: -fno-warn-name-shadowing
48
49
50
51
        Other-Modules:
            InteractiveUI
            GhciMonad
            GhciTags
52
        Build-Depends: transformers, haskeline
53
54
55
56
57
        Other-Extensions:
            FlexibleInstances
            MagicHash
            TupleSections
            UnboxedTuples
58

59
60
61
    Other-Extensions:
        CPP
        NondecreasingIndentation