summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/pgf2-bind.cabal
blob: dfde308b9330d7e29c6a36f4d2f5ae289e2de106 (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
-- Initial haskell-bind.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pgf2-bind
version:             0.1.0.0
-- synopsis:            
-- description:         
homepage:            http://www.grammaticalframework.org
license:             LGPL-3
--license-file:        LICENSE
author:              Inari
maintainer:          Krasimir Angelov
-- copyright:           
category:            Language
build-type:          Simple
extra-source-files:  README
cabal-version:       >=1.10

library
  exposed-modules:     PGF2, SG
  other-modules:       PGF2.FFI, PGF2.Expr, PGF2.Type, SG.FFI
  build-depends:       base >=4.3, bytestring >=0.9,
                       containers, pretty
  -- hs-source-dirs:      
  default-language:    Haskell2010
  build-tools:         hsc2hs

  extra-libraries:     sg pgf gu
  cc-options:          -std=c99
  default-language:    Haskell2010
  c-sources:           utils.c

executable pgf-shell
  main-is:             pgf-shell.hs
  hs-source-dirs:      examples
  build-depends:       base, pgf2-bind, containers, mtl, lifted-base
  default-language:    Haskell2010
  if impl(ghc>=7.0)
    ghc-options: -rtsopts