X-Git-Url: http://git.megacz.com/?p=ghc-prim.git;a=blobdiff_plain;f=ghc-prim.cabal;h=04e45cd311a672305f0b1c68969f5066f3eca65e;hp=7bbf523f3e829e05c5c3b05c6c6050285926b98a;hb=HEAD;hpb=4d4b8a93a37f361f8fabd5fe50a03a50dc648379 diff --git a/ghc-prim.cabal b/ghc-prim.cabal index 7bbf523..04e45cd 100644 --- a/ghc-prim.cabal +++ b/ghc-prim.cabal @@ -1,19 +1,30 @@ name: ghc-prim -version: 0.1.0.0 +version: 0.2.0.0 license: BSD3 license-file: LICENSE maintainer: libraries@haskell.org +bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29 synopsis: GHC primitives description: GHC primitives. -cabal-version: >=1.2 +cabal-version: >=1.6 build-type: Custom +source-repository head + type: git + location: http://darcs.haskell.org/packages/ghc-prim.git/ + +flag include-ghc-prim { + Description: Include GHC.Prim in exposed-modules + default: False +} + Library { build-depends: rts exposed-modules: - GHC.Bool + GHC.Debug GHC.Generics + GHC.Magic GHC.Ordering GHC.PrimopWrappers GHC.IntWord32 @@ -21,7 +32,13 @@ Library { GHC.Tuple GHC.Types GHC.Unit + + if flag(include-ghc-prim) { + exposed-modules: GHC.Prim + } + c-sources: + cbits/debug.c cbits/longlong.c extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes, UnboxedTuples, EmptyDataDecls, NoImplicitPrelude