summaryrefslogtreecommitdiff
path: root/_oasis
blob: b07c0afd3765850a82ec8e078a426fd9b30982a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
OASISFormat:     0.4
Name:            sid
Synopsis:        Handle security identifiers (SID).
Version:         1
Authors:         phg
License:         LGPL-3 with OCaml linking exception
BuildTools:      ocamlbuild
Plugins:         META (0.4), DevFiles (0.4)
AlphaFeatures:   ocamlbuild_more_args

Library "sid"
  Path:            .
  Modules:         Sid
  CompiledObject:  native
  BuildDepends:    stdint
  FindlibName:     sid

Executable "sid_test"
  Path:            .
  Build$:          flag(tests)
  MainIs:          sid_test.ml
  BuildDepends:    stdint, oUnit

Test "test_sid"
  Run$:            flag(tests)
  TestTools:       sid_test
  Command:         $sid_test

Executable "sidparse"
  Path:            util
  CompiledObject:  native
  MainIs:          sidparse.ml
  BuildDepends:    sid, stdint, cmdliner, unix

Test "test_sidparse"
  Run$:            flag(tests)
  TestTools:       sidparse
  Command:         util/sidparse_test.sh

Document "sid_intf"
  Type:                 ocamlbuild (0.4)
  Buildtools:           ocamldoc
  Title:                Module Sid
  XOCamlbuildPath:      .
  XOCamlbuildExtraArgs: "-docflags '-colorize-code -short-functors -charset utf-8'"
  XOCamlbuildLibraries: sid