Merge remote-tracking branch 'origin/master' into tc-untouchables
[ghc.git] / utils / hpc / hpc-bin.cabal
1 Name: hpc-bin
2 -- XXX version number:
3 Version: 0.67
4 Copyright: XXX
5 License: BSD3
6 -- XXX License-File: LICENSE
7 Author: XXX
8 Maintainer: XXX
9 Synopsis: XXX
10 Description:
11         XXX
12 Category: Development
13 build-type: Simple
14 cabal-version: >=1.2
15
16 Flag base4
17     Description: Choose the even newer, even smaller, split-up base package.
18
19 Flag base3
20     Description: Choose the new smaller, split-up base package.
21
22 Executable hpc
23     Main-Is: Hpc.hs
24     Other-Modules: HpcParser
25
26     if flag(base4)
27         Build-Depends: base       >= 4   && < 5
28     if flag(base3)
29         Build-Depends: base       >= 3   && < 4
30     if !flag(base3) && !flag(base4)
31         Build-Depends: base       < 3
32
33     if flag(base3) || flag(base4)
34         Build-Depends: directory  >= 1   && < 1.3,
35                        containers >= 0.1 && < 0.6,
36                        array      >= 0.1 && < 0.5
37     Build-Depends: haskell98, hpc
38     Extensions: CPP
39