[project @ 2002-09-13 18:21:46 by panne]
[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                             ],
32 #ifdef INSTALLING
33         include_dirs   = [],
34 #else
35         include_dirs   = [ "$libdir/libraries/base/include" ],
36 #endif
37         c_includes     = [ "HsBase.h" ],
38         package_deps   = [ "rts" ],
39         extra_ghc_opts = [],
40         extra_cc_opts  = [],
41         extra_ld_opts  = []
42 }