forked from MLstate/opalang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mli
83 lines (62 loc) · 2.58 KB
/
config.mli
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
(*
Copyright © 2011 MLstate
This file is part of OPA.
OPA is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License, version 3, as published by
the Free Software Foundation.
OPA is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
more details.
You should have received a copy of the GNU Affero General Public License
along with OPA. If not, see <http://www.gnu.org/licenses/>.
*)
(** Configuration of the build system
The .ml file is generated by the ./configure script
*)
(** the installation prefix (also known as MLSTATELIBS from many places *)
val prefix : string
(** the base directory of external ocaml libraries *)
val ocamllib : string
(** the ocamlopt compiler to use *)
val ocamlopt : string
(** related ocamlbuild tool *)
val ocamlbuild : string
val ocamlbuild_flags : string
(** full name of the camlp4o and camlp4orf executables *)
val camlp4o : string
val camlp4orf : string
(** path to the camlidl tool, if present and enabled *)
val camlidl : string option
(** Flag for Dbm present *)
val has_dbm : bool
(** library directories, if the libs are enabled *)
val libnatpmp : (string*string*string) option (** name of the lib, lib dir, include dir *)
val miniupnpc : (string*string*string) option (** name of the lib, lib dir, include dir *)
(** list all of the optional tags that have been detected available (eg
"camlidl", "libnatpmp", "miniupnpc", ...) *)
val available : string list
(** lists all the valid optional tags ([available] is a subset of those) *)
val all_tags : string list
(** are we compiling in release or debug mode ? In release mode,
assertions and debug variables are disabled *)
val is_release : bool
(** the target OS type *)
type os = Linux | Mac | Win32 | Cygwin | FreeBSD
val os : os
(** the name of the GNU make binary, gmake on fBSD, make on other platforms *)
val makebinary : string
(** the installation directory of external libraries, as in the ocamlopt '-I'
command-line option ; None if no extra include directory is needed *)
module Libdir : sig
val ssl : string option
val cryptokit : string option
val camlzip_name : string (** Sometimes "zip", sometimes "camlzip" *)
val camlzip : string option
val graph : string option
val ulex : string option
end
(** Common file extensions (on Unices, resp. .a, .o and .so) *)
val ext_lib : string
val ext_obj : string
val ext_shared : string