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