packages feed

hcom-0.0.0.2: hcom.cabal

Name: hcom
version: 0.0.0.2
Synopsis: Haskell COM support library
Description:
   Supporting for writing COM\/Automation clients in Haskell, and for
   packaging up your Haskell code behind a COM-callable veneer.
   .
   This is an updated version of the original `com` library that works
   with newer GHCs.
Cabal-version: >= 1.20
build-type: Simple
Maintainer: Niklas Larsson <niklas@mm.st>
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
          examples/SimpleCOMCall.hs
          ComDllMain.hs
          CHANGES

library
  Default-language: Haskell2010
  if os(windows)
    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: -O2 -fglasgow-exts -fno-warn-unsupported-calling-conventions

    Build-depends: old-time
    Build-Depends: base >= 4
    CPP-Options: -DBASE=4
  else
    Buildable: False


source-repository head
  type:     git
  location: https://github.com/melted/hcom