[project @ 2002-02-05 17:32:24 by simonmar]
[haskell-directory.git] / core.conf.in
1 #include "config.h"
2
3 Package {
4         name           = "core",
5 #ifdef INSTALLING
6         import_dirs    = [ "$libdir/imports" ]
7 #else
8         import_dirs    = [ "$libdir/libraries/core" ],
9 #endif
10         source_dirs    = [],
11 #ifdef INSTALLING
12         library_dirs   = [ "$libdir" ]
13 #else
14         library_dirs   = [ "$libdir/libraries/core"
15                          , "$libdir/libraries/core/cbits" ],
16 #endif
17         hs_libraries      =
18 #                           ifndef mingw32_TARGET_OS
19                             [ "HScore" ],
20 #                           else
21                             -- This splitting is the subject of a totally 
22                             -- horrible hack, which glues HSstd1 and HSstd2 
23                             -- back into HSstd for the purposes of static linking.
24                             -- See DriverState.getPackageLibraries for details.
25                             [ "HScore1", "HScore2" ],
26 #                           endif
27         extra_libraries   = [ "HScore_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/core/include" ],
36 #endif
37         c_includes     = [ "HsCore.h" ],
38         package_deps   = [ "rts" ],
39         extra_ghc_opts = [],
40         extra_cc_opts  = [],
41         extra_ld_opts  = []
42 }