2017-07-21 07:43:36 -07:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Sebastien Hinderer, projet Gallium, INRIA Paris *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2016 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
|
|
|
(* The configuration module for ocamltest *)
|
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let arch = "%%ARCH%%"
|
2017-09-22 01:08:56 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let afl_instrument = %%AFL_INSTRUMENT%%
|
2018-02-05 05:05:47 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let asm = "%%ASM%%"
|
2018-04-27 02:09:48 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let cc = "%%CC%%"
|
2018-04-27 02:09:48 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let cflags = "%%OC_CFLAGS%%"
|
2018-04-27 02:09:48 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let ccomptype = "%%CCOMPTYPE%%"
|
2018-04-27 02:09:48 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let shared_libraries = %%SUPPORTS_SHARED_LIBRARIES%%
|
2018-01-22 07:38:44 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let libunix = %%unix%%
|
2017-10-09 04:51:25 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let systhreads = %%systhreads%%
|
2018-09-19 03:44:17 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let str = %%str%%
|
2018-09-19 03:44:17 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let objext = "%%O%%"
|
2018-04-10 09:24:07 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let asmext = "%%S%%"
|
2019-09-13 04:01:31 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let system = "%%SYSTEM%%"
|
2018-02-05 05:48:56 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let c_preprocessor = "%%CPP%%"
|
2017-07-21 07:43:36 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let ocamlsrcdir = "%%ocamlsrcdir%%"
|
2017-07-21 07:43:36 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let flambda = %%FLAMBDA%%
|
2017-07-21 07:43:36 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let ocamlc_default_flags = "%%ocamlcdefaultflags%%"
|
|
|
|
let ocamlopt_default_flags = "%%ocamloptdefaultflags%%"
|
2017-07-21 07:43:36 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let safe_string = %%FORCE_SAFE_STRING%%
|
2017-12-08 08:47:50 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let flat_float_array = %%FLAT_FLOAT_ARRAY%%
|
2018-03-05 02:09:57 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let ocamldoc = %%WITH_OCAMLDOC%%
|
2018-03-16 00:25:17 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let ocamldebug = %%WITH_OCAMLDEBUG%%
|
2018-04-12 00:58:19 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let native_dynlink = %%NATDYNLINK%%
|
2018-04-16 01:55:31 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let shared_library_cflags = "%%SHAREDLIB_CFLAGS%%"
|
2018-04-16 07:42:12 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let sharedobjext = "%%SO%%"
|
2018-04-17 09:57:05 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let csc = "%%CSC%%"
|
2018-04-17 09:57:05 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let csc_flags = "%%CSCFLAGS%%"
|
2018-04-18 09:25:03 -07:00
|
|
|
|
2020-06-17 00:08:18 -07:00
|
|
|
let exe = "%%EXE%%"
|
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let mkdll = "%%MKDLL%%"
|
|
|
|
let mkexe = "%%mkexe%%"
|
2018-04-18 09:25:03 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let bytecc_libs = "%%BYTECCLIBS%%"
|
2018-04-18 09:25:03 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let nativecc_libs = "%%NATIVECCLIBS%%"
|
2018-04-19 01:12:22 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let windows_unicode = %%WINDOWS_UNICODE%% != 0
|
2019-06-26 03:28:58 -07:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let function_sections = %%FUNCTION_SECTIONS%%
|
2019-11-15 04:52:35 -08:00
|
|
|
|
2020-02-05 09:29:43 -08:00
|
|
|
let has_instrumented_runtime = %%RUNTIMEI%%
|
2020-06-14 02:24:53 -07:00
|
|
|
|
|
|
|
let naked_pointers = %%NAKED_POINTERS%%
|