UNPKG

ocaml

Version:

OCaml compiler packaged for esy

235 lines (180 loc) 6.66 kB
# @configure_input@ #************************************************************************** #* * #* OCaml * #* * #* Xavier Leroy, projet Cristal, INRIA Rocquencourt * #* * #* Copyright 1999 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 Makefile ## Variables defining the current version of OCaml OCAML_DEVELOPMENT_VERSION=@OCAML_DEVELOPMENT_VERSION@ OCAML_VERSION_MAJOR=@OCAML_VERSION_MAJOR@ OCAML_VERSION_MINOR=@OCAML_VERSION_MINOR@ OCAML_VERSION_PATCHLEVEL=@OCAML_VERSION_PATCHLEVEL@ OCAML_VERSION_EXTRA=@OCAML_VERSION_EXTRA@ ## The EMPTY variable, used in other definitions to preserve spaces EMPTY= ## Arguments passed to the configure script CONFIGURE_ARGS=@CONFIGURE_ARGS@ ## Top build directory TOP_BUILDDIR = @top_builddir@ ## Installation directories prefix=@prefix@ exec_prefix=@exec_prefix@ ### Where to install the binaries BINDIR=@bindir@ datarootdir=@datarootdir@ ### Where to install the standard library LIBDIR=@libdir@ ### Where to install the stub code for the standard library STUBLIBDIR=@libdir@/stublibs ### Where to install the man pages # Man pages for commands go in $(MANDIR)/man1 # Man pages for the library go in $(MANDIR)/man3 MANDIR=@mandir@ PROGRAMS_MAN_DIR=$(MANDIR)/man1 LIBRARIES_MAN_DIR=$(MANDIR)/man3 ### Path to the libtool script LIBTOOL = $(TOP_BUILDDIR)/libtool ### Which C compiler to use TOOLPREF=@ac_tool_prefix@ CC=@CC@ CC_HAS_DEBUG_PREFIX_MAP=@cc_has_debug_prefix_map@ AS_HAS_DEBUG_PREFIX_MAP=@as_has_debug_prefix_map@ LDFLAGS?=@LDFLAGS@ ### How to invoke the C preprocessor through the C compiler CPP=@CPP@ ### How to invoke ar ARCMD=@AR@ ### Extension of object files O=@OBJEXT@ EXT_OBJ=.@OBJEXT@ ### How to tell the C compiler to output an object file OUTPUTOBJ=@outputobj@$(EMPTY) ### Extension of static libraries A=@libext@ EXT_LIB=.@libext@ ### Extension of assembler files S=@S@ EXT_ASM=.@S@ ### Extension for shared libraries SO=@SO@ EXT_DLL=.@SO@ SHAREDLIB_CFLAGS=@sharedlib_cflags@ # Compile-time option to $(CC) to add a directory to be searched # at run-time for shared libraries RPATH=@rpath@ ############# Configuration for the native-code compiler ### Whether the native compiler has been enabled or not NATIVE_COMPILER=@native_compiler@ ### Name of architecture for the native-code compiler ### Currently supported: ### ### i386 Intel Pentium PCs under Linux, *BSD*, NextStep ### power Macintosh under Mac OS X and Linux ### arm ARM under Linux ### ### Set ARCH=none if your machine is not supported ARCH=@arch@ # Whether the architecture has 64 bits ARCH64=@arch64@ # Endianness for this architecture ENDIANNESS=@endianness@ ### Name of architecture model for the native-code compiler. ### Some architectures come in several slightly different flavors ### that share a common code generator. This variable tailors the ### behavior of the code generator to the particular flavor used. ### Currently needed only if ARCH=power; leave MODEL=default for ### other architectures. ### If ARCH=power: set MODEL=ppc ### For other architectures: leave MODEL=default ### MODEL=@model@ ### Name of operating system family for the native-code compiler. SYSTEM=@system@ ### Command and flags to use for assembling ocamlopt-generated code ASM=@AS@ ### Command and flags to use for assembling .S files (often with preprocessing) ASPP=@ASPP@ ### Set to "true" to install ".byte" executables (ocamlc.byte, etc.) INSTALL_BYTECODE_PROGRAMS=@install_bytecode_programs@ ############# Configuration for the contributed libraries ### Which libraries to compile and install # Currently available: # dynlink Dynamic linking (bytecode and native) # (win32)unix Unix system calls # str Regular expressions and high-level string processing # systhreads Same as threads, requires POSIX threads OTHERLIBRARIES=@otherlibraries@ UNIX_OR_WIN32=@unix_or_win32@ INSTALL_SOURCE_ARTIFACTS=@install_source_artifacts@ CFLAGS=@CFLAGS@ CPPFLAGS=@CPPFLAGS@ OCAMLC_CFLAGS=@ocamlc_cflags@ OCAMLC_CPPFLAGS=@ocamlc_cppflags@ ZSTD_LIBS=@zstd_libs@ BYTECCLIBS=@zstd_libs@ @cclibs@ EXE=@exeext@ OUTPUTEXE=@outputexe@$(EMPTY) SUPPORTS_SHARED_LIBRARIES=@supports_shared_libraries@ MKSHAREDLIBRPATH=@mksharedlibrpath@ DYNLINKOPTS=@DLLIBS@ NATDYNLINK=@natdynlink@ NATDYNLINKOPTS=@natdynlinkopts@ SYSLIB=@syslib@ MKLIB=@mklib@ # #7678: ocamlopt uses these only to compile .c files, and the behaviour for the # two drivers should be identical. OCAMLOPT_CFLAGS=@ocamlc_cflags@ OCAMLOPT_CPPFLAGS=@ocamlc_cppflags@ NATIVECCLIBS=@cclibs@ SYSTHREAD_SUPPORT=@systhread_support@ PACKLD=@PACKLD@$(EMPTY) CCOMPTYPE=@ccomptype@ TOOLCHAIN=@toolchain@ CMXS=@cmxs@ FLEXDLL_CHAIN=@flexdll_chain@ MKEXE=@mkexe@ MKDLL=@mkdll@ MKMAINDLL=@mkmaindll@ MKEXEDEBUGFLAG=@mkexedebugflag@ RUNTIMED=@debug_runtime@ INSTRUMENTED_RUNTIME=@instrumented_runtime@ INSTRUMENTED_RUNTIME_LIBS=@instrumented_runtime_libs@ WITH_DEBUGGER=@with_debugger@ ASM_CFI_SUPPORTED=@asm_cfi_supported@ WITH_FRAME_POINTERS=@frame_pointers@ HEADER_RESERVED_BITS=@reserved_header_bits@ WITH_FPIC=@fpic@ TARGET=@target@ HOST=@host@ FLAMBDA=@flambda@ WITH_FLAMBDA_INVARIANTS=@flambda_invariants@ WITH_CMM_INVARIANTS=@cmm_invariants@ FORCE_SAFE_STRING=true DEFAULT_SAFE_STRING=true WINDOWS_UNICODE=@windows_unicode@ AFL_INSTRUMENT=@afl@ FLAT_FLOAT_ARRAY=@flat_float_array@ FUNCTION_SECTIONS=@function_sections@ AWK=@AWK@ NAKED_POINTERS=false # Deprecated variables ## Variables deprecated since OCaml 5.2 STDLIB_MANPAGES=@build_libraries_manpages@ WITH_OCAMLDOC=@with_ocamldoc@ WITH_OCAMLTEST=@ocamltest@ SHEBANGSCRIPTS=@shebangscripts@ HASHBANGSCRIPTS=$(SHEBANGSCRIPTS) ## Variables deprecated since OCaml 5.0 UNIXLIB=unix ## Variables renamed in OCaml 4.13 RUNTIMEI=$(INSTRUMENTED_RUNTIME)