[project @ 2000-11-15 10:49:53 by sewardj]
[ghc-hetmet.git] / ghc / compiler / compMan / CmStaticInfo.lhs
1 %
2 % (c) The University of Glasgow, 2000
3 %
4 \section[CmStaticInfo]{Session-static info for the Compilation Manager}
5
6 \begin{code}
7 module CmStaticInfo ( GhciMode(..), Package(..), PackageConfigInfo )
8 where
9
10 #include "HsVersions.h"
11
12 \end{code}
13
14 \begin{code}
15 data GhciMode = Batch | Interactive
16
17 type PackageConfigInfo = [Package]
18
19 -- copied from the driver
20 data Package
21    = Package {
22         name            :: String,
23         import_dirs     :: [String],
24         library_dirs    :: [String],
25         hs_libraries    :: [String],
26         extra_libraries :: [String],
27         include_dirs    :: [String],
28         c_includes      :: [String],
29         package_deps    :: [String],
30         extra_ghc_opts  :: [String],
31         extra_cc_opts   :: [String],
32         extra_ld_opts   :: [String]
33      }
34   deriving Read
35 \end{code}