-
Notifications
You must be signed in to change notification settings - Fork 0
/
hclr.cabal
73 lines (52 loc) · 2.18 KB
/
hclr.cabal
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
65
66
67
68
69
70
71
72
73
-- hclr2.cabal auto-generated by cabal init. For additional options,
-- see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: hclr
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 0.1
-- A short (one-line) description of the package.
-- Synopsis:
-- A longer description of the package.
-- Description:
-- The license under which the package is released.
License: BSD3
-- The file containing the license text.
License-file: LICENSE
-- The package author(s).
Author: Tim M
-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: [email protected]
-- A copyright notice.
-- Copyright:
Category: FFI
Build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.2
flag use_mono
description: use mono instead of .Net
default: True
Executable hclr
-- .hs or .lhs file containing the Main module.
C-sources: marshal.c
Main-is: Main.hs
if !os(windows) || flag(use_mono)
Cpp-options: -DMONO
cc-options: -DMONO
Extra-libraries: glib-2.0, mono-2.0
Extra-lib-dirs: /usr/local/lib/, "C:\\Program Files (x86)\\Mono-2.10.9\\bin", "C:\\Program Files (x86)\\Mono-2.10.9\\lib"
Include-dirs: /usr/local/include/mono-2.0/, "C:\\Program Files (x86)\\Mono-2.10.9\\include\\mono-2.0"
Build-depends: parsec, base, containers, template-haskell, text, utility-ht, transformers
else
Build-depends: parsec, base, containers, template-haskell, text, utility-ht, transformers, bytestring, Win32
Extra-Libraries: ole32, oleaut32
-- Modules not exported by this package.
-- Other-modules:
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools: