X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2Fpackage.conf.in;h=764b0f849036e706bceec70ea8fa9531fd26cf46;hb=a039f52aeb452d291305919a88b675d6eb1819c0;hp=298fbc286b73535e61c3194a49981f51771c24ba;hpb=14a46cb932d4211e05c0def5b366b3124f361da4;p=ghc-hetmet.git diff --git a/ghc/rts/package.conf.in b/ghc/rts/package.conf.in index 298fbc2..764b0f8 100644 --- a/ghc/rts/package.conf.in +++ b/ghc/rts/package.conf.in @@ -1,37 +1,47 @@ -#include "config.h" -#include "Derived.h" +/* The RTS is just another package! */ -Package { - name = "rts", /* The RTS is just another package! */ - import_dirs = [], - source_dirs = [], +#include "ghcconfig.h" +#include "RtsConfig.h" + +name: PACKAGE +version: 1.0 +license: BSD3 +maintainer: glasgow-haskell-users@haskell.org +exposed: True + +exposed-modules: +hidden-modules: + +import-dirs: #ifdef INSTALLING - library_dirs = [ "$libdir" -# ifdef mingw32_TARGET_OS - /* force the dist-provided gcc-lib/ into scope. */ - , "$libdir/gcc-lib" +library-dirs: LIB_DIR +# ifdef mingw32_HOST_OS + , LIB_DIR"/gcc-lib" + /* force the dist-provided gcc-lib/ into scope. */ # endif #else /* !INSTALLING */ - library_dirs = [ "$libdir/ghc/rts" +library-dirs: FPTOOLS_TOP_ABS"/ghc/rts" # ifndef HAVE_LIBGMP - , "$libdir/ghc/rts/gmp" + , FPTOOLS_TOP_ABS"/ghc/rts/gmp" # endif #endif - ], - hs_libraries = [ "HSrts" ], - extra_libraries = [ - "m" /* for ldexp() */ +hs-libraries: "HSrts" + +extra-libraries: "m" /* for ldexp() */ #ifndef HAVE_FRAMEWORK_HASKELLSUPPORT , "gmp" #ifdef HAVE_LIBDL , "dl" #endif #endif -#ifdef mingw32_TARGET_OS +#ifdef mingw32_HOST_OS ,"wsock32" /* for the linker */ #endif +#ifdef WANT_DOTNET_SUPPORT + , "oleaut32", "ole32", "uuid" +#endif #if defined(DEBUG) && defined(HAVE_LIBBFD) ,"bfd", "iberty" /* for debugging */ #endif @@ -40,32 +50,22 @@ Package { ,"mingwex" # endif #endif -#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS) - ,"pthread" -# ifdef osf3_TARGET_OS - ,"exc" -# endif -#endif - ], #ifdef INSTALLING - include_dirs = [ "$libdir/include" -# ifdef mingw32_TARGET_OS - , "$libdir/include/mingw" +include-dirs: INCLUDE_DIR +# ifdef mingw32_HOST_OS + , INCLUDE_DIR"/mingw" # endif - ], #else /* !INSTALLING */ - include_dirs = [ "$libdir/ghc/includes" ], +include-dirs: FPTOOLS_TOP_ABS"/ghc/includes" #endif - c_includes = [ "Stg.h" ], - package_deps = [], - extra_ghc_opts = [], - extra_cc_opts = [], - /* the RTS forward-references to a bunch of stuff in the prelude, - so we force it to be included with special options to ld. */ - extra_ld_opts = - [ +includes: Stg.h +depends: +extra-hugs-opts: +extra-cc-opts: + +ld-options: #ifdef LEADING_UNDERSCORE "-u", "_GHCziBase_Izh_static_info" , "-u", "_GHCziBase_Czh_static_info" @@ -96,6 +96,7 @@ Package { , "-u", "_GHCziIOBase_heapOverflow_closure" , "-u", "_GHCziIOBase_NonTermination_closure" , "-u", "_GHCziIOBase_BlockedOnDeadMVar_closure" + , "-u", "_GHCziIOBase_BlockedIndefinitely_closure" , "-u", "_GHCziIOBase_Deadlock_closure" , "-u", "_GHCziWeak_runFinalizzerBatch_closure" , "-u", "___stginit_Prelude" @@ -129,12 +130,20 @@ Package { , "-u", "GHCziIOBase_heapOverflow_closure" , "-u", "GHCziIOBase_NonTermination_closure" , "-u", "GHCziIOBase_BlockedOnDeadMVar_closure" + , "-u", "GHCziIOBase_BlockedIndefinitely_closure" , "-u", "GHCziIOBase_Deadlock_closure" , "-u", "GHCziWeak_runFinalizzerBatch_closure" , "-u", "__stginit_Prelude" #endif - ] + +framework-dirs: + #ifdef HAVE_FRAMEWORK_HASKELLSUPPORT - , extra_frameworks = [ "HaskellSupport" ] +extra-frameworks: "HaskellSupport" +#else +extra-frameworks: #endif -} + +haddock-interfaces: +haddock-html: +