-
Notifications
You must be signed in to change notification settings - Fork 63
/
Win32.cabal
171 lines (159 loc) · 5.62 KB
/
Win32.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
cabal-version: 2.0
name: Win32
version: 2.14.1.0
license: BSD3
license-file: LICENSE
author: Alastair Reid, shelarcy, Tamar Christina
copyright: Alastair Reid, 1999-2003; shelarcy, 2012-2013; Tamar Christina, 2016-2020
maintainer: Haskell Libraries <libraries@haskell.org>
bug-reports: https://github.com/haskell/win32/issues
homepage: https://github.com/haskell/win32
category: System, Graphics
synopsis: A binding to Windows Win32 API.
description: This library contains direct bindings to the Windows Win32 APIs for Haskell.
build-type: Simple
extra-source-files:
include/diatemp.h include/dumpBMP.h include/ellipse.h include/errors.h
include/Win32Aux.h include/win32debug.h include/alignment.h
extra-doc-files:
changelog.md
flag os-string
description: Use the new os-string package
default: False
manual: False
Library
default-language: Haskell2010
default-extensions: ForeignFunctionInterface, CPP
if impl(ghc >= 7.1)
default-extensions: NondecreasingIndentation
if !os(windows)
-- This package requires Windows to build
build-depends: unbuildable<0
buildable: False
build-depends: base >= 4.5 && < 5
-- AFPP support
if impl(ghc >= 8.0)
if flag(os-string)
build-depends: filepath >= 1.5.0.0, os-string >= 2.0.0
else
build-depends: filepath >= 1.4.100.0 && < 1.5.0.0
-- Black list hsc2hs 0.68.6 which is horribly broken.
build-tool-depends: hsc2hs:hsc2hs > 0 && < 0.68.6 || > 0.68.6
ghc-options: -Wall -fno-warn-name-shadowing
cc-options: -fno-strict-aliasing
exposed-modules:
Graphics.Win32.GDI
Graphics.Win32.GDI.Bitmap
Graphics.Win32.GDI.Brush
Graphics.Win32.GDI.Clip
Graphics.Win32.GDI.Font
Graphics.Win32.GDI.Graphics2D
Graphics.Win32.GDI.HDC
Graphics.Win32.GDI.Palette
Graphics.Win32.GDI.Path
Graphics.Win32.GDI.Pen
Graphics.Win32.GDI.Region
Graphics.Win32.GDI.Types
Graphics.Win32
Graphics.Win32.Control
Graphics.Win32.Dialogue
Graphics.Win32.Icon
Graphics.Win32.Key
Graphics.Win32.Menu
Graphics.Win32.Message
Graphics.Win32.Misc
Graphics.Win32.Resource
Graphics.Win32.Window
Graphics.Win32.LayeredWindow
Graphics.Win32.GDI.AlphaBlend
Graphics.Win32.Window.AnimateWindow
Graphics.Win32.Window.HotKey
Graphics.Win32.Window.IMM
Graphics.Win32.Window.ForegroundWindow
Graphics.Win32.Window.PostMessage
Media.Win32
System.Win32
System.Win32.DebugApi
System.Win32.DLL
System.Win32.Event
System.Win32.File
System.Win32.FileMapping
System.Win32.NamedPipes
System.Win32.Info
System.Win32.Path
System.Win32.Mem
System.Win32.MinTTY
System.Win32.NLS
System.Win32.Process
System.Win32.Registry
System.Win32.SimpleMAPI
System.Win32.Time
System.Win32.Console
System.Win32.Security
System.Win32.Semaphore
System.Win32.Types
System.Win32.Shell
System.Win32.Automation
System.Win32.Automation.Input
System.Win32.Automation.Input.Key
System.Win32.Automation.Input.Mouse
System.Win32.Console.CtrlHandler
System.Win32.Console.HWND
System.Win32.Console.Title
System.Win32.Encoding
System.Win32.Exception.Unsupported
System.Win32.HardLink
System.Win32.Info.Computer
System.Win32.Info.Version
System.Win32.String
System.Win32.SymbolicLink
System.Win32.Thread
System.Win32.Utils
System.Win32.Word
-- AFPP support
if impl(ghc >= 8.0)
exposed-modules:
System.Win32.WindowsString.Console
System.Win32.WindowsString.Types
System.Win32.WindowsString.DebugApi
System.Win32.WindowsString.DLL
System.Win32.WindowsString.Shell
System.Win32.WindowsString.String
System.Win32.WindowsString.File
System.Win32.WindowsString.Time
System.Win32.WindowsString.Info
System.Win32.WindowsString.FileMapping
System.Win32.WindowsString.HardLink
System.Win32.WindowsString.Path
System.Win32.WindowsString.SymbolicLink
System.Win32.WindowsString.Utils
other-modules:
System.Win32.Console.Internal
System.Win32.DebugApi.Internal
System.Win32.DLL.Internal
System.Win32.File.Internal
System.Win32.FileMapping.Internal
System.Win32.HardLink.Internal
System.Win32.Info.Internal
System.Win32.Path.Internal
System.Win32.Shell.Internal
System.Win32.SymbolicLink.Internal
System.Win32.Time.Internal
extra-libraries:
"user32", "gdi32", "winmm", "advapi32", "shell32", "shfolder", "shlwapi", "msimg32", "imm32"
ghc-options: -Wall
include-dirs: include
install-includes: "HsWin32.h", "HsGDI.h", "WndProc.h", "windows_cconv.h", "alphablend.h", "wincon_compat.h", "winternl_compat.h", "winuser_compat.h", "winreg_compat.h", "tlhelp32_compat.h", "winnls_compat.h", "winnt_compat.h", "namedpipeapi_compat.h"
c-sources:
cbits/HsGDI.c
cbits/HsWin32.c
cbits/WndProc.c
cbits/diatemp.c
cbits/dumpBMP.c
cbits/ellipse.c
cbits/errors.c
cbits/alphablend.c
cc-options: -Wall
source-repository head
type: git
location: git://github.com/haskell/win32