OASISFormat: 0.3
Name:        shared-memory-ring
Version:     1.1.0
Synopsis:    Xen-style shared memory rings
Authors:     Anil Madhavapeddy, David Scott
License:     ISC
Plugins:     META (0.3)
BuildTools:  ocamlbuild

Library shared_memory_ring
  CompiledObject:     best
  Path:               lib
  Findlibname:        shared-memory-ring
  Modules:            Ring
  BuildDepends:       cstruct (>= 0.6.0), cstruct.syntax
  CSources:           barrier_stubs.c, barrier.h

Library console_ring
  CompiledObject:     best
  Path:               xen
  Findlibname:        console
  Findlibparent:      shared_memory_ring
  Modules:            Console_ring
  BuildDepends:       shared-memory-ring

Library xenstore_ring
  CompiledObject:     best
  Path:               xen
  Findlibname:        xenstore
  Findlibparent:      shared_memory_ring
  Modules:            Xenstore_ring
  BuildDepends:       shared-memory-ring

Library lwt_shared_memory_ring
  CompiledObject:     best
  Path:               lwt
  Findlibname:        lwt
  Findlibparent:      shared_memory_ring
  Modules:            Lwt_ring
  BuildDepends:       shared-memory-ring, lwt, lwt.syntax

Executable ring_test
  CompiledObject:     best
  Path:               lib_test
  MainIs:             ring_test.ml
  Build$:             flag(tests)
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, shared-memory-ring, shared-memory-ring.xenstore, shared-memory-ring.console, oUnit
  CSources:           old_ring_stubs.c, console.h, xenstore.h, barrier.h

Executable lwt_test
  CompiledObject:     best
  Path:               lwt_test
  MainIs:             lwt_test.ml
  Build$:             flag(tests)
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, shared-memory-ring, shared-memory-ring.lwt, oUnit

Executable client
  CompiledObject:     best
  Path:               examples
  MainIs:             client.ml
  Build$:             flag(tests)
  Custom:             true
  Install:            false
  BuildDepends:       lwt, lwt.unix, shared-memory-ring, shared-memory-ring.lwt

Test ring_test
  Run$:               flag(tests)
  Command:            $ring_test
  WorkingDirectory:   lib_test

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

Document api
  Title: Documentation and API reference
  Type: ocamlbuild (0.3)
  BuildTools+: ocamldoc
  XOCamlbuildModules: Ring, Lwt_ring, Xenstore_ring, Console_ring
  XOcamlbuildPath: doc
  Install: false
