OASISFormat:  0.4
OCamlVersion: >= 4.01
Name:         complex
Version:      0.1
Synopsis:     Libraries and executables
Authors:      Gerd Stolpmann
License:      LGPL with OCaml linking exception
BuildTools:   omake
BuildType:    OMake (0.4)
InstallType:  OMake (0.4)
Plugins:      META (0.4)

Library liba
  Modules:         A2
  InternalModules: A1
  Path:            src/liba
  BuildDepends:    str
  Install:         true

Library libb
  Modules:      B1
  Path:         src/libb
  BuildDepends: liba
  Install:      true

Library libc_
  Modules:      C1
  Path:         src/libc_
  BuildDepends: libb
  Install:      true

Library libwithc
  Modules:      P
  CSources:     pc.c
  Path:         src/libwithc
  Install:      true

Library packedlib
  Modules:      Q
  Path:         src/packedlib
  Pack:         true
  Install:      true
  # -bin-annot only available for OCaml >= 4.00.0
  ByteOpt:      -bin-annot
  NativeOpt:    -bin-annot

Executable exec
  MainIs:       x2.ml
  Path:         src/exec
  BuildDepends: libc_, libwithc, packedlib
  Install:      true

Document interdepend
  Title:                API reference for interdepend
  Type:                 omake (0.4)
  InstallDir:           $htmldir/interdepend
  Install:              true
  BuildTools+:          ocamldoc
  XOMakePath:      src
  XOMakeLibraries: liba, libb, libc_
