[project @ 2000-10-27 14:36:36 by simonmar]
[ghc-hetmet.git] / ghc / compiler / ghci / 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 ( Package(..), PackageConfigInfo(..) )
8 where
9
10 #include "HsVersions.h"
11
12 import Monad
13 \end{code}
14
15 \begin{code}
16 type PackageConfigInfo = [Package]
17
18 -- copied from the driver
19 data Package
20    = Package {
21         name            :: String,
22         import_dirs     :: [String],
23         library_dirs    :: [String],
24         hs_libraries    :: [String],
25         extra_libraries :: [String],
26         include_dirs    :: [String],
27         c_includes      :: [String],
28         package_deps    :: [String],
29         extra_ghc_opts  :: [String],
30         extra_cc_opts   :: [String],
31         extra_ld_opts   :: [String]
32      }
33   deriving Read
34 \end{code}