summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp2/integer-gmp.cabal
blob: 3e87f03a9398cd9c44ba0043279373509b5bbd1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name:                integer-gmp
version:             1.0.0.0
synopsis:            Integer library based on GMP
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
category:            Numeric, Algebra
build-type:          Configure
cabal-version:       >=1.10

extra-source-files:
    aclocal.m4
    cbits/wrappers.c
    config.guess
    config.sub
    configure
    configure.ac
    gmp/config.mk.in
    include/HsIntegerGmp.h.in
    integer-gmp.buildinfo.in

extra-tmp-files:
    autom4te.cache
    config.log
    config.status
    gmp/config.mk
    integer-gmp.buildinfo
    include/HsIntegerGmp.h

library
  default-language:    Haskell2010
  other-extensions:
    BangPatterns
    CApiFFI
    CPP
    DeriveDataTypeable
    ExplicitForAll
    GHCForeignImportPrim
    MagicHash
    NegativeLiterals
    NoImplicitPrelude
    RebindableSyntax
    StandaloneDeriving
    UnboxedTuples
    UnliftedFFITypes
  build-depends:       ghc-prim
  hs-source-dirs:      src/
  ghc-options: -this-package-key integer-gmp -Wall
  cc-options: -std=c99 -Wall

  include-dirs: include
  c-sources:
    cbits/wrappers.c

  exposed-modules:
    GHC.Integer
    GHC.Integer.Logarithms
    GHC.Integer.Logarithms.Internals

    GHC.Integer.GMP.Internals

  other-modules:
    GHC.Integer.Type