/usr/lib/ocaml/oasis/BaseStandardVar.mli is in liboasis-ocaml-dev 0.4.10-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | (******************************************************************************)
(* OASIS: architecture for building OCaml libraries and applications *)
(* *)
(* Copyright (C) 2011-2016, Sylvain Le Gall *)
(* Copyright (C) 2008-2011, OCamlCore SARL *)
(* *)
(* This library is free software; you can redistribute it and/or modify it *)
(* under the terms of the GNU Lesser General Public License as published by *)
(* the Free Software Foundation; either version 2.1 of the License, or (at *)
(* your option) any later version, with the OCaml static compilation *)
(* exception. *)
(* *)
(* This library 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 file COPYING for more *)
(* details. *)
(* *)
(* You should have received a copy of the GNU Lesser General Public License *)
(* along with this library; if not, write to the Free Software Foundation, *)
(* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *)
(******************************************************************************)
(** Standard variables
@author Sylvain Le Gall
*)
open OASISTypes
(** {2 Programs} *)
val ocamlfind: unit -> host_filename
val ocamlc: unit -> host_filename
val ocamlopt: unit -> host_filename
val ocamlbuild: unit -> host_filename
val flexlink: unit -> host_filename
val flexdll_version: unit -> string
(** {2 Variables from OASIS package}
See {!OASISTypes.package} for more information.
*)
val pkg_name: unit -> name
val pkg_version: unit -> OASISVersion.StringVersion.t
(** {2 ocamlc config variables} *)
val os_type: unit -> string
val system: unit -> string
val architecture: unit -> string
val ccomp_type: unit -> string
val ocaml_version: unit -> string
val standard_library_default: unit -> host_dirname
val standard_library: unit -> host_dirname
val standard_runtime: unit -> host_filename
val bytecomp_c_compiler: unit -> string
val native_c_compiler: unit -> string
val model: unit -> string
val ext_obj: unit -> string
val ext_asm: unit -> string
val ext_lib: unit -> string
val ext_dll: unit -> string
val default_executable_name: unit -> string
val systhread_supported: unit -> string
(** {2 Paths}
See {{:http://www.gnu.org/prep/standards/html_node/Directory-Variables.html} GNU standards}.
*)
val prefix: unit -> host_dirname
val exec_prefix: unit -> host_dirname
val bindir: unit -> host_dirname
val sbindir: unit -> host_dirname
val libexecdir: unit -> host_dirname
val sysconfdir: unit -> host_dirname
val sharedstatedir: unit -> host_dirname
val localstatedir: unit -> host_dirname
val libdir: unit -> host_dirname
val datarootdir: unit -> host_dirname
val datadir: unit -> host_dirname
val infodir: unit -> host_dirname
val localedir: unit -> host_dirname
val mandir: unit -> host_dirname
val docdir: unit -> host_dirname
val htmldir: unit -> host_dirname
val dvidir: unit -> host_dirname
val pdfdir: unit -> host_dirname
val psdir: unit -> host_dirname
val destdir: unit -> host_dirname
(** {2 Various} *)
(** Findlib version.
*)
val findlib_version: unit -> OASISVersion.StringVersion.t
(** Check that the platform is a native platform (can compile native
exec/library).
*)
val is_native: unit -> string
(** Compute the default suffix for program (e.g. '.exe' on Win32).
*)
val ext_program: unit -> string
(** Host command to delete a file.
*)
val rm: unit -> string
(** Host command to delete a directory.
*)
val rmdir: unit -> string
(** Compile in debug mode.
*)
val debug: unit -> string
(** Compile in profile mode.
*)
val profile: unit -> string
(** Run tests.
*)
val tests: unit -> string
(** Compile docs.
*)
val docs: unit -> string
(** Support for .cmxs.
*)
val native_dynlink: unit -> string
(** Initialize some variables.
*)
val init: OASISTypes.package -> unit
|