MERGE: fix ugly uses of memcpy foreign import inside ST
[packages/old-time.git] / package.conf.in
index 8ddeb31..d57b86d 100644 (file)
 #include "ghcconfig.h"
 
-Package {
-        name           = "base",
-       auto           = True,
-#ifdef INSTALLING
-       import_dirs    = [ "$libdir/imports" ],
-#else
-       import_dirs    = [ "$libdir/libraries/base" ],
-#endif
-        source_dirs    = [],
-#ifdef INSTALLING
-        library_dirs   = [ "$libdir" ],
-#else
-        library_dirs   = [ "$libdir/libraries/base"
-                         , "$libdir/libraries/base/cbits" ],
-#endif
-        hs_libraries      =
-#                           if !defined(mingw32_TARGET_OS) && !defined(cygwin32_TARGET_OS)
-                            [ "HSbase" ],
-#                           else
-                            /* This splitting is the subject of a totally 
-                               horrible hack, which glues HSbase{1,2,3}
-                               back into HSbaase for the purposes of static linking.
-                               See DriverState.getPackageLibraries for details. */
-                            [ "HSbase1", "HSbase2", "HSbase3" ],
-#                           endif
-       extra_libraries   = [ "HSbase_cbits"
-#if defined(mingw32_TARGET_OS) || defined(__MINGW32__) || defined(_MSC_VER)
-                            , "wsock32", "msvcrt", "kernel32", "user32", "shfolder"
+name:          PACKAGE
+version:       VERSION
+license:       BSD3
+maintainer:    libraries@haskell.org
+exposed:       True
+
+exposed-modules:
+       Control.Applicative,
+       Control.Arrow,
+       Control.Concurrent,
+       Control.Concurrent.Chan,
+       Control.Concurrent.MVar,
+       Control.Concurrent.QSem,
+       Control.Concurrent.QSemN,
+       Control.Concurrent.SampleVar,
+       Control.Exception,
+       Control.Monad,
+       Control.Monad.Fix,
+       Control.Monad.Instances,
+       Control.Monad.ST,
+       Control.Monad.ST.Lazy,
+       Control.Monad.ST.Strict,
+       Control.Parallel,
+       Control.Parallel.Strategies,
+       Data.Array,
+       Data.Array.Base,
+       Data.Array.Diff,
+       Data.Array.IArray,
+       Data.Array.IO,
+       Data.Array.MArray,
+       Data.Array.ST,
+       Data.Array.Storable,
+       Data.Array.Unboxed,
+       Data.Bits,
+       Data.Bool,
+       Data.ByteString,
+       Data.ByteString.Char8,
+       Data.ByteString.Lazy
+       Data.ByteString.Lazy.Char8
+       Data.ByteString.Base
+       Data.ByteString.Fusion
+       Data.Char,
+       Data.Complex,
+       Data.Dynamic,
+       Data.Either,
+       Data.Eq,
+       Data.Fixed,
+       Data.Foldable,
+       Data.Function,
+       Data.Generics,
+       Data.Generics.Aliases,
+       Data.Generics.Basics,
+       Data.Generics.Instances,
+       Data.Generics.Schemes,
+       Data.Generics.Text,
+       Data.Generics.Twins,
+       Data.Graph,
+       Data.HashTable,
+       Data.IORef,
+       Data.Int,
+       Data.IntMap,
+       Data.IntSet,
+       Data.Ix,
+       Data.List,
+       Data.Maybe,
+       Data.Map,
+       Data.Monoid,
+       Data.Ord,
+       Data.PackedString,
+       Data.Ratio,
+       Data.STRef,
+       Data.STRef.Lazy,
+       Data.STRef.Strict,
+       Data.Sequence,
+       Data.Set,
+       Data.String,
+       Data.Traversable,
+       Data.Tree,
+       Data.Tuple,
+       Data.Typeable,
+       Data.Unique,
+       Data.Version,
+       Data.Word,
+       Debug.Trace,
+       Foreign,
+       Foreign.C,
+       Foreign.C.Error,
+       Foreign.C.String,
+       Foreign.C.Types,
+       Foreign.Concurrent,
+       Foreign.ForeignPtr,
+       Foreign.Marshal,
+       Foreign.Marshal.Alloc,
+       Foreign.Marshal.Array,
+       Foreign.Marshal.Error,
+       Foreign.Marshal.Pool,
+       Foreign.Marshal.Utils,
+       Foreign.Ptr,
+       Foreign.StablePtr,
+       Foreign.Storable,
+       GHC.ConsoleHandler,
+       GHC.Dotnet,
+       GHC.Dynamic,
+       GHC.Exts,
+       GHC.ForeignPtr,
+       GHC.Handle,
+       GHC.IO,
+       GHC.Int,
+       GHC.PArr,
+       GHC.PrimopWrappers,
+       GHC.Unicode,
+       GHC.Word,
+       Numeric,
+       Prelude,
+       System.Cmd,
+       System.Console.GetOpt,
+       System.CPUTime,
+       System.Directory,
+       System.Directory.Internals,
+       System.Environment,
+       System.Exit,
+       System.IO,
+       System.IO.Error,
+       System.IO.Unsafe,
+       System.Info,
+       System.Locale,
+       System.Mem,
+       System.Mem.StableName,
+       System.Mem.Weak,
+       System.Posix.Internals,
+       System.Posix.Signals,
+       System.Posix.Types,
+       System.Process,
+       System.Process.Internals,
+       System.Random,
+       System.Time,
+       Text.ParserCombinators.ReadP,
+       Text.ParserCombinators.ReadPrec,
+       Text.PrettyPrint,
+       Text.PrettyPrint.HughesPJ,
+       Text.Printf,
+       Text.Read,
+       Text.Read.Lex,
+       Text.Show,
+       Text.Show.Functions,
+       Unsafe.Coerce,
+       GHC.Arr,
+       GHC.Base,
+       GHC.Conc,
+       GHC.Enum,
+       GHC.Err,
+       GHC.Exception,
+       GHC.Float,
+       GHC.IOBase,
+       GHC.List,
+       GHC.Num,
+       GHC.Pack,
+       GHC.Prim,
+       GHC.Ptr,
+       GHC.Read,
+       GHC.Real,
+       GHC.ST,
+       GHC.STRef,
+       GHC.Show,
+       GHC.Stable,
+       GHC.Storable,
+       GHC.TopHandler,
+       GHC.Weak
+
+hidden-modules:
+       Data.Array.IO.Internals
+
+import-dirs:   IMPORT_DIR
+
+library-dirs:  LIB_DIR
+#ifndef INSTALLING
+               , LIB_DIR"/cbits"
 #endif
-                           ],
-#ifdef INSTALLING
-        include_dirs   = [],
-#else
-        include_dirs   = [ "$libdir/libraries/base/include" ],
+
+hs-libraries:   "HSbase"
+
+extra-libraries:  "HSbase_cbits"
+#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER)
+            , "wsock32", "msvcrt", "kernel32", "user32", "shell32"
 #endif
-        c_includes     = [ "HsBase.h" ],
-        package_deps   = [ "rts" ],
-        extra_ghc_opts = [],
-        extra_cc_opts  = [],
-        extra_ld_opts  = []
-}
+
+include-dirs:          INCLUDE_DIR
+includes:              HsBase.h
+depends:               rts
+hugs-options:
+cc-options:
+ld-options:
+framework-dirs:
+frameworks:
+haddock-interfaces:    HADDOCK_IFACE
+haddock-html:          HTML_DIR