-
Notifications
You must be signed in to change notification settings - Fork 0
/
hcom.cabal
102 lines (91 loc) · 2.97 KB
/
hcom.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Name: hcom
version: 0.0.0.6
Synopsis: Haskell COM support library
Description:
Support for writing COM\/Automation clients in Haskell, and for
packaging up your Haskell code behind a COM-callable veneer.
.
Some examples of how to use the package can be found at <http://haskell.forkio.com/com-examples>
This is an updated fork of the `com` package.
Cabal-version: >= 1.10
build-type: Simple
Maintainer: Niklas Larsson <niklas@mm.st>
homepage: https://github.com/melted/hcom
License: BSD3
License-file: LICENSE
Category: FFI
Extra-Source-Files: include/PointerSrc.h
include/WideStringSrc.h
include/HDirect.h
include/comPrim.h
include/autoPrim.h
include/Registry.h
include/safeArrayPrim.h
include/SafeArray.h
include/StdTypes.h
cbits/dllStub.c
ComDllMain.hs
CHANGES
library {
if os(windows)
Default-Language: Haskell2010
Exposed-Modules: System.Win32.Com,
System.Win32.Com.Base,
System.Win32.Com.Automation,
System.Win32.Com.Automation.Base,
System.Win32.Com.Automation.StdTypes,
System.Win32.Com.Automation.SafeArray,
System.Win32.Com.Exception,
System.Win32.Com.Automation.TypeLib,
System.Win32.Com.Automation.Connection,
System.Win32.Com.Dll,
System.Win32.Com.Server,
System.Win32.Com.ClassFactory,
System.Win32.Com.Server.StdDispatch,
System.Win32.Com.Server.ConnectionPoint,
System.Win32.Com.Server.ClassInfo,
System.Win32.Com.Server.EnumInterface,
System.Win32.Com.Server.ExeServer,
System.Win32.Com.HDirect.Pointer,
System.Win32.Com.HDirect.HDirect,
System.Win32.Com.HDirect.PointerPrim,
System.Win32.Com.HDirect.WideString
Include-dirs: . cbits include
Includes: include/PointerSrc.h
include/WideStringSrc.h
include/comPrim.h
include/autoPrim.h
include/Registry.h
include/safeArrayPrim.h
include/SafeArray.h
include/StdTypes.h
C-Sources: cbits/PointerSrc.c
cbits/WideStringSrc.c
cbits/ComPrimSrc.c
cbits/AutoPrimSrc.c
cbits/Registry.c
cbits/SafeArrayPrim.c
Extra-libraries: kernel32, user32, ole32, oleaut32, advapi32
GHC-Options: -fglasgow-exts
Default-Extensions: CPP
Build-depends: time,
base >= 4,
Win32
else
Buildable: False
}
executable COMExample {
if os(windows)
Default-Language: Haskell2010
main-is: SimpleCOMCall.hs
hs-source-dirs: examples
Extra-libraries: kernel32, user32, ole32, oleaut32, advapi32
GHC-Options: -fglasgow-exts
Default-Extensions: CPP
Build-depends: time,
base >= 4,
Win32,
hcom
else
Buildable: False
}