OASISFormat: 0.3
Name:        xenstore
Version:     1.2.4
Synopsis:    Xenstore protocol library
Authors:     see CREDITS.md
License:     LGPL-2.1 with OCaml linking exception
Plugins:     META (0.3)
BuildTools:  ocamlbuild

Library xenstore
  CompiledObject:     best
  Path:               core
  Findlibname:        xenstore
  Modules:            Xs_protocol, Xs_handle
  BuildDepends:       cstruct (>= 0.6.0), cstruct.syntax

Library xenstore_client_lwt
  CompiledObject:     best
  Path:               client_lwt
  Findlibname: 	      client
  FindlibParent:      xenstore
  Modules:            Xs_client_lwt
  BuildDepends:       lwt, xenstore

Library xenstore_client_unix
  CompiledObject:     best
  Path:               client_unix
  Findlibname: 	      unix
  FindlibParent:      xenstore
  Modules:            Xs_client_unix
  BuildDepends:       unix, threads, xenstore

Library xenstore_server
  CompiledObject:     best
  Pack:               true
  Path:               server
  Findlibname:        server
  FindlibParent:      xenstore
  Modules:            Logging, Logging_interface, Connection, Call, Trie, Symbol, Namespace, Quota, Quota_interface, Perms, Store, Transaction, Xs_server, Junk, Introduce, Heap_debug_interface
  BuildDepends:       lwt, xenstore

Executable xs_test
  CompiledObject:     best
  Path:               core_test
  MainIs:             xs_test.ml
  Build$:             flag(tests)
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, xenstore, oUnit

Executable server_test
  CompiledObject:     best
  Path:               server_test
  MainIs:             server_test.ml
  Build$:             flag(tests)
  Custom:             true
  Install:            false
  BuildDepends:       lwt, xenstore, xenstore.server, oUnit

Test xs_test
  Run$:               flag(tests)
  Command:            $xs_test
  WorkingDirectory:   core_test

Test server_test
  Run$:               flag(tests)
  Command:            $server_test
  WorkingDirectory:   server_test

Document api
  Title: Documentation and API reference
  Type: ocamlbuild (0.3)
  BuildTools+: ocamldoc
  XOcamlbuildPath: doc
  XOcamlbuildModules: Xs_protocol, Xs_handle, Xs_client_lwt, Xs_client_unix
  Install: false
