Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 71 lines (53 sloc) 2.228 kB
fccc685 Initial open-source release
MLstate authored
1 (*
2 Copyright © 2011 MLstate
3
4 This file is part of OPA.
5
6 OPA is free software: you can redistribute it and/or modify it under the
7 terms of the GNU Affero General Public License, version 3, as published by
8 the Free Software Foundation.
9
10 OPA is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
13 more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with OPA. If not, see <http://www.gnu.org/licenses/>.
17 *)
18 (** Configuration of the build system
19 The .ml file is generated by the ./configure script
20 *)
21
22 (** the installation prefix (also known as MLSTATELIBS from many places *)
23 val prefix : string
24
25 (** the base directory of external ocaml libraries *)
26 val ocamllib : string
27
28 (** the ocamlopt compiler to use *)
29 val ocamlopt : string
30
31 (** related ocamlbuild tool *)
32 val ocamlbuild : string
33
34 val ocamlbuild_flags : string
35
36 (** full name of the camlp4o and camlp4orf executables *)
37 val camlp4o : string
38 val camlp4orf : string
39
40 (** path to the camlidl tool, if present and enabled *)
41 val camlidl : string option
42
43 (** library directories, if the libs are enabled *)
44 val libnatpmp : (string*string*string) option (** name of the lib, lib dir, include dir *)
45
46 val miniupnpc : (string*string*string) option (** name of the lib, lib dir, include dir *)
47
48 (** are we compiling in release or debug mode ? In release mode,
49 assertions and debug variables are disabled *)
50 val is_release : bool
51
52 (** the target OS type *)
53 type os = Linux | Mac | Win32 | Cygwin
54 val os : os
55
56 (** the installation directory of external libraries, as in the ocamlopt '-I'
57 command-line option ; None if no extra include directory is needed *)
58 module Libdir : sig
59 val ssl : string option
60 val cryptokit : string option
61 val camlzip_name : string (** Sometimes "zip", sometimes "camlzip" *)
62 val camlzip : string option
63 val graph : string option
64 val ulex : string option
65 end
66
67 (** Common file extensions (on Unices, resp. .a, .o and .so) *)
68 val ext_lib : string
69 val ext_obj : string
70 val ext_shared : string
Something went wrong with that request. Please try again.