[project @ 2005-03-08 04:45:29 by wolfgang]
[ghc-hetmet.git] / ghc / rts / package.conf.in
1 /* The RTS is just another package! */
2
3 #include "ghcconfig.h"
4 #include "RtsConfig.h"
5
6 name:           PACKAGE
7 version:        1.0
8 license:        BSD3
9 maintainer:     glasgow-haskell-users@haskell.org
10 exposed:        True
11
12 exposed-modules:
13 hidden-modules:
14
15 import-dirs:
16
17 #ifdef INSTALLING
18 library-dirs:           LIB_DIR
19 # ifdef mingw32_HOST_OS
20                         , LIB_DIR"/gcc-lib"
21                         /* force the dist-provided gcc-lib/ into scope. */
22 # endif
23 #else /* !INSTALLING */
24 library-dirs:           FPTOOLS_TOP_ABS"/ghc/rts"
25 # if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP)
26                         , FPTOOLS_TOP_ABS"/ghc/rts/gmp"
27 # endif
28 #endif
29
30 hs-libraries:   "HSrts"
31
32 extra-libraries:                "m"             /* for ldexp() */
33 #ifndef HAVE_FRAMEWORK_GMP
34                               , "gmp"
35 #ifdef HAVE_LIBDL
36                               , "dl"
37 #endif
38 #endif
39 #ifdef mingw32_HOST_OS
40                               ,"wsock32"        /* for the linker */
41 #endif
42 #ifdef WANT_DOTNET_SUPPORT
43                               , "oleaut32", "ole32", "uuid"
44 #endif
45 #if defined(DEBUG) && defined(HAVE_LIBBFD)
46                               ,"bfd", "iberty"  /* for debugging */
47 #endif
48 #ifdef HAVE_LIBMINGWEX
49 # ifndef INSTALLING                             /* Bundled Mingw is behind */
50                               ,"mingwex"
51 # endif
52 #endif
53
54 #ifdef INSTALLING
55 include-dirs:           INCLUDE_DIR
56 # ifdef mingw32_HOST_OS
57                         , INCLUDE_DIR"/mingw"
58 # endif
59 #else /* !INSTALLING */
60 include-dirs:           FPTOOLS_TOP_ABS"/ghc/includes"
61 #endif
62
63 includes:               Stg.h
64 depends:                
65 hugs-options:
66 cc-options:
67
68 ld-options:
69 #ifdef LEADING_UNDERSCORE
70            "-u", "_GHCziBase_Izh_static_info"
71          , "-u", "_GHCziBase_Czh_static_info"
72          , "-u", "_GHCziFloat_Fzh_static_info"
73          , "-u", "_GHCziFloat_Dzh_static_info"
74          , "-u", "_GHCziPtr_Ptr_static_info"
75          , "-u", "_GHCziWord_Wzh_static_info"
76          , "-u", "_GHCziInt_I8zh_static_info"
77          , "-u", "_GHCziInt_I16zh_static_info"
78          , "-u", "_GHCziInt_I32zh_static_info"
79          , "-u", "_GHCziInt_I64zh_static_info"
80          , "-u", "_GHCziWord_W8zh_static_info"
81          , "-u", "_GHCziWord_W16zh_static_info"
82          , "-u", "_GHCziWord_W32zh_static_info"
83          , "-u", "_GHCziWord_W64zh_static_info"
84          , "-u", "_GHCziStable_StablePtr_static_info"
85          , "-u", "_GHCziBase_Izh_con_info"
86          , "-u", "_GHCziBase_Czh_con_info"
87          , "-u", "_GHCziFloat_Fzh_con_info"
88          , "-u", "_GHCziFloat_Dzh_con_info"
89          , "-u", "_GHCziPtr_Ptr_con_info"
90          , "-u", "_GHCziPtr_FunPtr_con_info"
91          , "-u", "_GHCziStable_StablePtr_con_info"
92          , "-u", "_GHCziBase_False_closure"
93          , "-u", "_GHCziBase_True_closure"
94          , "-u", "_GHCziPack_unpackCString_closure"
95          , "-u", "_GHCziIOBase_stackOverflow_closure"
96          , "-u", "_GHCziIOBase_heapOverflow_closure"
97          , "-u", "_GHCziIOBase_NonTermination_closure"
98          , "-u", "_GHCziIOBase_BlockedOnDeadMVar_closure"
99          , "-u", "_GHCziIOBase_BlockedIndefinitely_closure"
100          , "-u", "_GHCziIOBase_Deadlock_closure"
101          , "-u", "_GHCziWeak_runFinalizzerBatch_closure"
102          , "-u", "___stginit_Prelude"
103 #else
104            "-u", "GHCziBase_Izh_static_info"
105          , "-u", "GHCziBase_Czh_static_info"
106          , "-u", "GHCziFloat_Fzh_static_info"
107          , "-u", "GHCziFloat_Dzh_static_info"
108          , "-u", "GHCziPtr_Ptr_static_info"
109          , "-u", "GHCziWord_Wzh_static_info"
110          , "-u", "GHCziInt_I8zh_static_info"
111          , "-u", "GHCziInt_I16zh_static_info"
112          , "-u", "GHCziInt_I32zh_static_info"
113          , "-u", "GHCziInt_I64zh_static_info"
114          , "-u", "GHCziWord_W8zh_static_info"
115          , "-u", "GHCziWord_W16zh_static_info"
116          , "-u", "GHCziWord_W32zh_static_info"
117          , "-u", "GHCziWord_W64zh_static_info"
118          , "-u", "GHCziStable_StablePtr_static_info"
119          , "-u", "GHCziBase_Izh_con_info"
120          , "-u", "GHCziBase_Czh_con_info"
121          , "-u", "GHCziFloat_Fzh_con_info"
122          , "-u", "GHCziFloat_Dzh_con_info"
123          , "-u", "GHCziPtr_Ptr_con_info"
124          , "-u", "GHCziPtr_FunPtr_con_info"
125          , "-u", "GHCziStable_StablePtr_con_info"
126          , "-u", "GHCziBase_False_closure"
127          , "-u", "GHCziBase_True_closure"
128          , "-u", "GHCziPack_unpackCString_closure"
129          , "-u", "GHCziIOBase_stackOverflow_closure"
130          , "-u", "GHCziIOBase_heapOverflow_closure"
131          , "-u", "GHCziIOBase_NonTermination_closure"
132          , "-u", "GHCziIOBase_BlockedOnDeadMVar_closure"
133          , "-u", "GHCziIOBase_BlockedIndefinitely_closure"
134          , "-u", "GHCziIOBase_Deadlock_closure"
135          , "-u", "GHCziWeak_runFinalizzerBatch_closure"
136          , "-u", "__stginit_Prelude"
137 #endif
138
139 framework-dirs:
140
141 #ifdef HAVE_FRAMEWORK_GMP
142 frameworks:     "GMP"
143 #else
144 frameworks:
145 #endif
146
147 haddock-interfaces:
148 haddock-html:
149