[project @ 2005-03-08 04:45:29 by wolfgang]
[ghc-hetmet.git] / ghc / rts / package.conf.in
index b1df8eb..6666863 100644 (file)
@@ -3,7 +3,7 @@
 #include "ghcconfig.h"
 #include "RtsConfig.h"
 
-name:          rts
+name:          PACKAGE
 version:       1.0
 license:       BSD3
 maintainer:    glasgow-haskell-users@haskell.org
@@ -15,28 +15,28 @@ hidden-modules:
 import-dirs:
 
 #ifdef INSTALLING
-library-dirs:          "$libdir"
-# ifdef mingw32_TARGET_OS
-                       , "$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-libs:            "m"             /* for ldexp() */
-#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
+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
@@ -52,20 +52,20 @@ extra-libs:         "m"             /* for ldexp() */
 #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
 
 includes:              Stg.h
 depends:               
-extra-hugs-opts:
-extra-cc-opts:
+hugs-options:
+cc-options:
 
-extra-ld-opts:
+ld-options:
 #ifdef LEADING_UNDERSCORE
            "-u", "_GHCziBase_Izh_static_info"
          , "-u", "_GHCziBase_Czh_static_info"
@@ -138,10 +138,10 @@ extra-ld-opts:
 
 framework-dirs:
 
-#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
-extra-frameworks:      "HaskellSupport"
+#ifdef HAVE_FRAMEWORK_GMP
+frameworks:    "GMP"
 #else
-extra-frameworks:
+frameworks:
 #endif
 
 haddock-interfaces: