File: _oasis

package info (click to toggle)
ocaml-extunix 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 628 kB
  • sloc: ml: 6,536; ansic: 2,119; makefile: 36
file content (88 lines) | stat: -rw-r--r-- 2,854 bytes parent folder | download
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
OASISFormat:  0.3
Name:         extunix
Version:      0.0.5
License:      LGPL-2.1 with OCaml linking exception
Authors:      ygrek, Sylvain Le Gall, Stéphane Glondu, Kaustuv Chaudhuri, Joshua Smith, Niki Yoshiuchi, Gerd Stolpmann, Goswin von Brederlow, Andre Nathan
Copyrights:
              (C) 2010 ygrek,
              (C) 2009 Sylvain Le Gall,
              (C) 2008-2009 Talend Inc.,
              (C) 2010 Stéphane Glondu,
              (C) 2005 Joshua Smith,
              (C) 2010 Niki Yoshiuchi,
              (C) 2001 Gerd Stolpmann,
              (C) 2012 Goswin von Brederlow,
              (C) 2012 Andre Nathan
Homepage:     http://extunix.forge.ocamlcore.org/
BuildTools:   ocamlbuild, camlp4
Plugins:      DevFiles (0.3), META (0.3)

Synopsis: Extended functions for OCaml Unix module 
Description:
  Thin bindings to various low-level system APIs (often non-portable)
  which are not covered by Unix module.
  .
  Some of the implemented functions : uname, statvfs, fsync, fadvise,
    fallocate, openat, dirfd, eventfd, signalfd, setrlimit, mlockall, etc

PostConfCommand: ocaml src/discover.ml -ocamlc $ocamlc -ext_obj $ext_obj
PreDistCleanCommand: $rm $(utoh "src/config.h")
PostDistCleanCommand: $rm $(utoh "src/config.ml") # [FORGE#742]

Flag strict
  Description: Strict compile-time checks
  Default: true

Library extunix
  Path: src/
  Modules: ExtUnix
  InternalModules: ExtUnixAll, ExtUnixSpecific
  if flag(strict) && ccomp_type(cc)
    CCOpt: -std=c89 -pedantic -Wno-long-long -Wextra
  CSources: config.h,
            eventfd.c, dirfd.c, fsync.c, statvfs.c, atfile.c,
            ioctl_siocgifconf.c, uname.c, fadvise.c, fallocate.c,
            tty_ioctl.c, unistd.c, stdlib.c, signalfd.c, ptrace.c,
            resource.c, mman.c, time.c, pts.c, execinfo.c, malloc.c,
            endian.c, read_cred.c, fexecve.c, sendmsg.c,
            memalign.c, endianba.c, pread_pwrite_ba.c, bigarray.c,
            common.c, common.h
  BuildDepends: unix, bigarray

Executable test
  Path: test/
  Install: false
  Build$: flag(tests)
  Custom: true
  CompiledObject: best
  MainIs: test.ml
  BuildDepends: extunix, oUnit (>= 1.0.3)

Executable testba
  Path: test/
  Install: false
  Build$: flag(tests)
  Custom: true
  CompiledObject: best
  MainIs: testba.ml
  BuildDepends: extunix, oUnit (>= 1.0.3)

Test main
  Command: $test && $testba
  TestTools: test, testba

Document api
  Title: API reference for extunix
  Type: ocamlbuild (0.3)
  Authors: ygrek, Sylvain Le Gall, Stéphane Glondu, Kaustuv Chaudhuri, Joshua Smith, Niki Yoshiuchi, Gerd Stolpmann, Goswin von Brederlow, Andre Nathan
  BuildTools: ocamldoc
  Format: HTML
  Index: index.html
  XOCamlbuildPath:      src/
  XOCamlbuildLibraries: extunix
  XOCamlbuildModules: ExtUnixAll, ExtUnixSpecific

#Document changelog
#  Title: Changelog
#  Path: CHANGES.txt