[project @ 2002-06-05 14:08:24 by simonpj]
[ghc-base.git] / base.conf.in
1 #include "config.h"
2
3 Package {
4         name           = "base",
5 #ifdef INSTALLING
6         import_dirs    = [ "$libdir/imports/base" ],
7 #else
8         import_dirs    = [ "$libdir/libraries/base" ],
9 #endif
10         source_dirs    = [],
11 #ifdef INSTALLING
12         library_dirs   = [ "$libdir" ],
13 #else
14         library_dirs   = [ "$libdir/libraries/base"
15                          , "$libdir/libraries/base/cbits" ],
16 #endif
17         hs_libraries      =
18 #                           if !defined(mingw32_TARGET_OS) && !defined(cygwin32_TARGET_OS)
19                             [ "HSbase" ],
20 #                           else
21                             /* This splitting is the subject of a totally 
22                                horrible hack, which glues HSbase{1,2,3}
23                                back into HSbaase for the purposes of static linking.
24                                See DriverState.getPackageLibraries for details. */
25                             [ "HSbase1", "HSbase2", "HSbase3" ],
26 #                           endif
27         extra_libraries   = [ "HSbase_cbits"
28 #ifdef mingw32_TARGET_OS
29                             , "wsock32", "msvcrt", "kernel32", "user32"
30 #endif
31 #ifdef mingw32_TARGET_OS
32                             , "kernel32", "user32"
33 #endif
34                             ],
35 #ifdef INSTALLING
36         include_dirs   = [],
37 #else
38         include_dirs   = [ "$libdir/libraries/base/include" ],
39 #endif
40         c_includes     = [ "HsBase.h" ],
41         package_deps   = [ "rts" ],
42         extra_ghc_opts = [],
43         extra_cc_opts  = [],
44         extra_ld_opts  = []
45 }