[project @ 2005-03-08 04:45:29 by wolfgang]
[ghc-hetmet.git] / ghc / rts / package.conf.in
index 736452a..6666863 100644 (file)
@@ -1,36 +1,42 @@
+/* The RTS is just another package! */
+
 #include "ghcconfig.h"
 #include "RtsConfig.h"
 
-/* The RTS is just another package! */
-Package {
-       name           = "rts",
-        import_dirs    = [],
-        source_dirs    = [],
+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"
-# ifndef HAVE_LIBGMP
-                         , "$libdir/ghc/rts/gmp"
+library-dirs:          FPTOOLS_TOP_ABS"/ghc/rts"
+# if !defined(HAVE_LIBGMP) && !defined(HAVE_FRAMEWORK_GMP)
+                       , FPTOOLS_TOP_ABS"/ghc/rts/gmp"
 # endif
 #endif
-                         ],
 
-        hs_libraries      = [ "HSrts" ],
-       extra_libraries   = [
-                           "m"         /* for ldexp() */
-#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
+hs-libraries:   "HSrts"
+
+extra-libraries:               "m"             /* for ldexp() */
+#ifndef HAVE_FRAMEWORK_GMP
                              , "gmp"
 #ifdef HAVE_LIBDL
                              , "dl"
 #endif
 #endif
-#ifdef mingw32_TARGET_OS
+#ifdef mingw32_HOST_OS
                              ,"wsock32"        /* for the linker */
 #endif
 #ifdef WANT_DOTNET_SUPPORT
@@ -44,26 +50,22 @@ Package {
                               ,"mingwex"
 # 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:               
+hugs-options:
+cc-options:
+
+ld-options:
 #ifdef LEADING_UNDERSCORE
            "-u", "_GHCziBase_Izh_static_info"
          , "-u", "_GHCziBase_Czh_static_info"
@@ -133,8 +135,15 @@ Package {
          , "-u", "GHCziWeak_runFinalizzerBatch_closure"
          , "-u", "__stginit_Prelude"
 #endif
-         ]
-#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
-        , extra_frameworks  = [ "HaskellSupport" ]
+
+framework-dirs:
+
+#ifdef HAVE_FRAMEWORK_GMP
+frameworks:    "GMP"
+#else
+frameworks:
 #endif
-}
+
+haddock-interfaces:
+haddock-html:
+