packages feed

hcom-0.0.0.6: hcom.cabal

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
}