Doc tweaks
[ghc-hetmet.git] / 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 GMP_LIB_DIRS
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"/rts" GMP_LIB_DIRS
25 # if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP)
26                         , FPTOOLS_TOP_ABS"/gmp/gmpbuild"
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 HAVE_LIBRT
40                               , "rt"
41 #endif
42 #ifdef mingw32_HOST_OS
43                               ,"wsock32"        /* for the linker */
44 #endif
45 #ifdef WANT_DOTNET_SUPPORT
46                               , "oleaut32", "ole32", "uuid"
47 #endif
48 #if defined(DEBUG) && defined(HAVE_LIBBFD)
49                               ,"bfd", "iberty"  /* for debugging */
50 #endif
51 #ifdef HAVE_LIBMINGWEX
52 # ifndef INSTALLING                             /* Bundled Mingw is behind */
53                               ,"mingwex"
54 # endif
55 #endif
56 #if USE_PAPI
57                              , "papi"
58 #endif
59
60 #ifdef INSTALLING
61 include-dirs:           INCLUDE_DIR GMP_INCLUDE_DIRS
62 # ifdef mingw32_HOST_OS
63                         , INCLUDE_DIR"/mingw"
64 # endif
65 #else /* !INSTALLING */
66 include-dirs:           FPTOOLS_TOP_ABS"/includes"
67                         FPTOOLS_TOP_ABS"/rts"
68                         FPTOOLS_TOP_ABS"/gmp/gmpbuild"
69 #endif
70
71 includes:               Stg.h
72 depends:                
73 hugs-options:
74 cc-options:
75
76 ld-options:
77 #ifdef LEADING_UNDERSCORE
78            "-u", "_base_GHCziBase_Izh_static_info"
79          , "-u", "_base_GHCziBase_Czh_static_info"
80          , "-u", "_base_GHCziFloat_Fzh_static_info"
81          , "-u", "_base_GHCziFloat_Dzh_static_info"
82          , "-u", "_base_GHCziPtr_Ptr_static_info"
83          , "-u", "_base_GHCziWord_Wzh_static_info"
84          , "-u", "_base_GHCziInt_I8zh_static_info"
85          , "-u", "_base_GHCziInt_I16zh_static_info"
86          , "-u", "_base_GHCziInt_I32zh_static_info"
87          , "-u", "_base_GHCziInt_I64zh_static_info"
88          , "-u", "_base_GHCziWord_W8zh_static_info"
89          , "-u", "_base_GHCziWord_W16zh_static_info"
90          , "-u", "_base_GHCziWord_W32zh_static_info"
91          , "-u", "_base_GHCziWord_W64zh_static_info"
92          , "-u", "_base_GHCziStable_StablePtr_static_info"
93          , "-u", "_base_GHCziBase_Izh_con_info"
94          , "-u", "_base_GHCziBase_Czh_con_info"
95          , "-u", "_base_GHCziFloat_Fzh_con_info"
96          , "-u", "_base_GHCziFloat_Dzh_con_info"
97          , "-u", "_base_GHCziPtr_Ptr_con_info"
98          , "-u", "_base_GHCziPtr_FunPtr_con_info"
99          , "-u", "_base_GHCziStable_StablePtr_con_info"
100          , "-u", "_base_GHCziBase_False_closure"
101          , "-u", "_base_GHCziBase_True_closure"
102          , "-u", "_base_GHCziPack_unpackCString_closure"
103          , "-u", "_base_GHCziIOBase_stackOverflow_closure"
104          , "-u", "_base_GHCziIOBase_heapOverflow_closure"
105          , "-u", "_base_GHCziIOBase_NonTermination_closure"
106          , "-u", "_base_GHCziIOBase_BlockedOnDeadMVar_closure"
107          , "-u", "_base_GHCziIOBase_BlockedIndefinitely_closure"
108          , "-u", "_base_GHCziIOBase_Deadlock_closure"
109          , "-u", "_base_GHCziIOBase_NestedAtomically_closure"
110          , "-u", "_base_GHCziWeak_runFinalizzerBatch_closure"
111 #else
112            "-u", "base_GHCziBase_Izh_static_info"
113          , "-u", "base_GHCziBase_Czh_static_info"
114          , "-u", "base_GHCziFloat_Fzh_static_info"
115          , "-u", "base_GHCziFloat_Dzh_static_info"
116          , "-u", "base_GHCziPtr_Ptr_static_info"
117          , "-u", "base_GHCziWord_Wzh_static_info"
118          , "-u", "base_GHCziInt_I8zh_static_info"
119          , "-u", "base_GHCziInt_I16zh_static_info"
120          , "-u", "base_GHCziInt_I32zh_static_info"
121          , "-u", "base_GHCziInt_I64zh_static_info"
122          , "-u", "base_GHCziWord_W8zh_static_info"
123          , "-u", "base_GHCziWord_W16zh_static_info"
124          , "-u", "base_GHCziWord_W32zh_static_info"
125          , "-u", "base_GHCziWord_W64zh_static_info"
126          , "-u", "base_GHCziStable_StablePtr_static_info"
127          , "-u", "base_GHCziBase_Izh_con_info"
128          , "-u", "base_GHCziBase_Czh_con_info"
129          , "-u", "base_GHCziFloat_Fzh_con_info"
130          , "-u", "base_GHCziFloat_Dzh_con_info"
131          , "-u", "base_GHCziPtr_Ptr_con_info"
132          , "-u", "base_GHCziPtr_FunPtr_con_info"
133          , "-u", "base_GHCziStable_StablePtr_con_info"
134          , "-u", "base_GHCziBase_False_closure"
135          , "-u", "base_GHCziBase_True_closure"
136          , "-u", "base_GHCziPack_unpackCString_closure"
137          , "-u", "base_GHCziIOBase_stackOverflow_closure"
138          , "-u", "base_GHCziIOBase_heapOverflow_closure"
139          , "-u", "base_GHCziIOBase_NonTermination_closure"
140          , "-u", "base_GHCziIOBase_BlockedOnDeadMVar_closure"
141          , "-u", "base_GHCziIOBase_BlockedIndefinitely_closure"
142          , "-u", "base_GHCziIOBase_Deadlock_closure"
143          , "-u", "base_GHCziIOBase_NestedAtomically_closure"
144          , "-u", "base_GHCziWeak_runFinalizzerBatch_closure"
145 #endif
146
147 #ifdef LEADING_UNDERSCORE
148          , "-u", "_base_GHCziConc_ensureIOManagerIsRunning_closure"
149 #else
150          , "-u", "base_GHCziConc_ensureIOManagerIsRunning_closure"
151 #endif
152
153 framework-dirs:
154
155 #ifdef HAVE_FRAMEWORK_GMP
156 frameworks:     "GMP"
157 #else
158 frameworks:
159 #endif
160
161 haddock-interfaces:
162 haddock-html:
163