[project @ 2000-11-24 09:51:38 by simonpj]
[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 | OneShot 
16      deriving Eq
17
18 type PackageConfigInfo = [Package]
19
20 -- copied from the driver
21 data Package
22    = Package {
23         name            :: String,
24         import_dirs     :: [String],
25         library_dirs    :: [String],
26         hs_libraries    :: [String],
27         extra_libraries :: [String],
28         include_dirs    :: [String],
29         c_includes      :: [String],
30         package_deps    :: [String],
31         extra_ghc_opts  :: [String],
32         extra_cc_opts   :: [String],
33         extra_ld_opts   :: [String]
34      }
35   deriving Read
36 \end{code}