Pad version number to 4.0.0.0
[ghc-base.git] / base.cabal
1 name:           base
2 version:        4.0.0.0
3 license:        BSD3
4 license-file:   LICENSE
5 maintainer:     libraries@haskell.org
6 synopsis:       Basic libraries
7 description:
8     This package contains the Prelude and its support libraries,
9     and a large collection of useful libraries ranging from data
10     structures to parsing combinators and debugging utilities.
11 cabal-version:  >=1.2
12 build-type: Configure
13 extra-tmp-files:
14                 config.log config.status autom4te.cache
15                 include/HsBaseConfig.h
16 extra-source-files:
17                 config.guess config.sub install-sh
18                 aclocal.m4 configure.ac configure
19                 include/CTypes.h
20
21 Library {
22     if impl(ghc) {
23         build-depends: rts, ghc-prim, integer
24         exposed-modules:
25             Foreign.Concurrent,
26             GHC.Arr,
27             GHC.Base,
28             GHC.Classes,
29             GHC.Conc,
30             GHC.ConsoleHandler,
31             GHC.Desugar,
32             GHC.Enum,
33             GHC.Environment,
34             GHC.Err,
35             GHC.Exception,
36             GHC.Exts,
37             GHC.Float,
38             GHC.ForeignPtr,
39             GHC.Handle,
40             GHC.IO,
41             GHC.IOBase,
42             GHC.Int,
43             GHC.List,
44             GHC.Num,
45             GHC.PArr,
46             GHC.Pack,
47             GHC.Ptr,
48             GHC.Read,
49             GHC.Real,
50             GHC.ST,
51             GHC.STRef,
52             GHC.Show,
53             GHC.Stable,
54             GHC.Storable,
55             GHC.TopHandler,
56             GHC.Unicode,
57             GHC.Weak,
58             GHC.Word,
59             System.Timeout
60         extensions: MagicHash, ExistentialQuantification, Rank2Types,
61                     ScopedTypeVariables, UnboxedTuples,
62                     ForeignFunctionInterface, UnliftedFFITypes,
63                     DeriveDataTypeable, GeneralizedNewtypeDeriving,
64                     FlexibleInstances, PatternSignatures, StandaloneDeriving,
65                     PatternGuards, EmptyDataDecls
66     }
67     exposed-modules:
68         Control.Applicative,
69         Control.Arrow,
70         Control.Category,
71         Control.Concurrent,
72         Control.Concurrent.Chan,
73         Control.Concurrent.MVar,
74         Control.Concurrent.QSem,
75         Control.Concurrent.QSemN,
76         Control.Concurrent.SampleVar,
77         Control.Exception,
78         Control.Exception.Base
79         Control.OldException,
80         Control.Monad,
81         Control.Monad.Fix,
82         Control.Monad.Instances,
83         Control.Monad.ST
84         Control.Monad.ST.Lazy
85         Control.Monad.ST.Strict
86         Data.Bits,
87         Data.Bool,
88         Data.Char,
89         Data.Complex,
90         Data.Dynamic,
91         Data.Either,
92         Data.Eq,
93         Data.Fixed,
94         Data.Foldable
95         Data.Function,
96         Data.HashTable,
97         Data.IORef,
98         Data.Int,
99         Data.Ix,
100         Data.List,
101         Data.Maybe,
102         Data.Monoid,
103         Data.Ord,
104         Data.Ratio,
105         Data.STRef
106         Data.STRef.Lazy
107         Data.STRef.Strict
108         Data.String,
109         Data.Traversable
110         Data.Tuple,
111         Data.Typeable,
112         Data.Unique,
113         Data.Version,
114         Data.Word,
115         Debug.Trace,
116         Foreign,
117         Foreign.C,
118         Foreign.C.Error,
119         Foreign.C.String,
120         Foreign.C.Types,
121         Foreign.ForeignPtr,
122         Foreign.Marshal,
123         Foreign.Marshal.Alloc,
124         Foreign.Marshal.Array,
125         Foreign.Marshal.Error,
126         Foreign.Marshal.Pool,
127         Foreign.Marshal.Utils,
128         Foreign.Ptr,
129         Foreign.StablePtr,
130         Foreign.Storable,
131         Numeric,
132         Prelude,
133         System.Console.GetOpt
134         System.CPUTime,
135         System.Environment,
136         System.Exit,
137         System.IO,
138         System.IO.Error,
139         System.IO.Unsafe,
140         System.Info,
141         System.Mem,
142         System.Mem.StableName,
143         System.Mem.Weak,
144         System.Posix.Internals,
145         System.Posix.Types,
146         Text.ParserCombinators.ReadP,
147         Text.ParserCombinators.ReadPrec,
148         Text.Printf,
149         Text.Read,
150         Text.Read.Lex,
151         Text.Show,
152         Text.Show.Functions
153         Unsafe.Coerce
154     c-sources:
155         cbits/PrelIOUtils.c
156         cbits/WCsubst.c
157         cbits/Win32Utils.c
158         cbits/consUtils.c
159         cbits/dirUtils.c
160         cbits/inputReady.c
161         cbits/selectUtils.c
162     include-dirs: include
163     includes:    HsBase.h
164     install-includes:    HsBase.h HsBaseConfig.h WCsubst.h dirUtils.h consUtils.h Typeable.h
165     if os(windows) {
166         extra-libraries: wsock32, msvcrt, kernel32, user32, shell32
167     }
168     extensions: CPP
169     -- We need to set the package name to base (without a version number)
170     -- as it's magic.
171     ghc-options: -package-name base
172     nhc98-options: -H4M -K3M
173 }