8ec6e5b7904eb9bbe1cee2338717f11da0064002
[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.10
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     Default-Language: Haskell2010
24     Main-Is: Hpc.hs
25     Other-Modules: HpcParser
26                    HpcCombine
27                    HpcDraft
28                    HpcFlags
29                    HpcLexer
30                    HpcMarkup
31                    HpcOverlay
32                    HpcReport
33                    HpcShowTix
34                    HpcUtils
35                    Paths_hpc_bin
36
37     if flag(base4)
38         Build-Depends: base       >= 4   && < 5
39     if flag(base3)
40         Build-Depends: base       >= 3   && < 4
41     if !flag(base3) && !flag(base4)
42         Build-Depends: base       < 3
43
44     if flag(base3) || flag(base4)
45         Build-Depends: directory  >= 1   && < 1.3,
46                        containers >= 0.1 && < 0.6,
47                        array      >= 0.1 && < 0.6
48     Build-Depends: hpc
49