OASISFormat: 0.2
Name:        xcp-idl
Version:     0.9.21
Synopsis:    Interface definitions and common boilerplate for the xapi toolstack
Authors:     David Scott
License:     LGPL-2.1 with OCaml linking exception
Plugins:     META (0.2)
BuildTools:  ocamlbuild

Library xcp
  CompiledObject:     best
  Path:               lib
  Findlibname:        xcp
  Modules:            Cohttp_posix_io, Posix_channel, Open_uri, Xcp_client, Xcp_service, Xcp_channel, Xcp_channel_protocol, Syslog, Debug
  CSources:           syslog_stubs.c
  BuildDepends:       cmdliner, uri, re, cohttp, xmlm, unix, sexplib, sexplib.syntax, rpclib, rpclib.syntax, rpclib.xml, threads, message_switch, message_switch.unix, fd-send-recv, xcp-inventory, xapi-backtrace

Library xcp_storage
  CompiledObject:     best
  Path:               storage
  Findlibname:        storage
  Findlibparent:      xcp
  Modules:            Storage_interface, Vdi_automaton, Storage_client, Storage_skeleton, Storage_skeleton_test
  BuildDepends:       xcp, threads, rpclib, rpclib.syntax

Executable storage_test
  CompiledObject:     best
  Path:               storage
  MainIs:             storage_test.ml
  Install:            false
  BuildDepends:       xcp, xcp.storage, oUnit, cmdliner

Library xcp_network
  CompiledObject:     best
  Path:               network
  Findlibname:        network
  Findlibparent:      xcp
  Modules:            Network_interface, Network_client, Network_stats
  BuildDepends:       xcp, threads, rpclib, rpclib.syntax

Library xcp_rrd
  CompiledObject:     best
  Path:               rrd
  Findlibname:        rrd
  Findlibparent:      xcp
  Modules:            Data_source, Ds, Rrd_interface, Rrd_client
  BuildDepends:       xcp, threads, rpclib, rpclib.syntax, xcp-rrd

Library xcp_xen
  CompiledObject:     best
  Path:               xen
  Findlibname:        xen
  Findlibparent:      xcp
  Modules:            Xenops_interface, Xenops_client, Device_number
  BuildDepends:       xcp, threads, rpclib, rpclib.syntax

Library xcp_memory
  CompiledObject:     best
  Path:               memory
  Findlibname:        memory
  Findlibparent:      xcp
  Modules:            Memory_interface, Memory_client
  BuildDepends:       xcp, threads, rpclib, rpclib.syntax

Executable channel_helper
  CompiledObject:     best
  Path:               lib
  MainIs:             channel_helper.ml
  Custom:             true
  Install:            false
  BuildDepends:       xcp, lwt, lwt.unix, cmdliner

Executable lib_test
  CompiledObject:     best
  Path:               lib_test
  MainIs:             test.ml
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, xcp, threads, rpclib, oUnit

Test channel_test
  Command:            ./channel_test.native
  Run:                true

Executable example
  CompiledObject:     best
  Path:               example
  MainIs:             example.ml
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, xcp, rpclib

