OASISFormat:    0.4
OCamlVersion:   >= 4.01
Name:           keystone
Version:        0.1
Synopsis:       Ctypes bindings to Keystone assembler for OCaml
Authors:        Aziem Chawdhary
License:        LGPL-2.1 with OCaml linking exception
Plugins:        DevFiles (0.4), META (0.4)
BuildTools:     ocamlbuild

Library keystone
  FindLibName:  keystone
  Install: true
  Path: .
  Modules: Keystone, Ffi_generated, Ffi_types, Ffi_bindings, Ffi_generated_types
  CSources: ffi_generated_stubs.c
  CCLib: -lkeystone
  CCOpt:            -I $pkg_ctypes_stubs
  BuildDepends:     ctypes, uchar, ctypes.stubs, ctypes.foreign, result
  CompiledObject: native

Document keystone
  Type: ocamlbuild (0.4)
  Install: true
  BuildTools : ocamldoc
  Title: API reference for Keystone
  XOCamlBuildPath: .
  XOCamlBuildlibraries: keystone

Executable ffi_types_stubgen
  Install: false
  Path: .
  MainIs: ffi_types_stubgen.ml
  BuildDepends: ctypes.stubs
  CompiledObject: native

Executable ffi_stubgen
  Install: false
  Path: .
  MainIs: ffi_stubgen.ml
  BuildDepends:    ctypes.stubs, ctypes.foreign
  CompiledObject : native

Executable test_bindings
  Install: false
  CCLib: -lkeystone
  Path: .
  MainIs: test_bindings.ml
  BuildDepends: keystone
  CompiledObject: native
