forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.config.in
240 lines (185 loc) · 6.73 KB
/
Makefile.config.in
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
# @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
### Do #! scripts work on your system?
### Beware: on some systems (e.g. SunOS 4), this will work only if
### the string "#!$(BINDIR)/ocamlrun" is less than 32 characters long.
### In doubt, set HASHBANGSCRIPTS to false.
SHEBANGSCRIPTS=@shebangscripts@
LONG_SHEBANG=@long_shebang@
# For compatibility
HASHBANGSCRIPTS:=$(SHEBANGSCRIPTS)
### 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@
BYTECCLIBS=@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@
WITH_OCAMLTEST=@ocamltest@
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@
## Variables deprecated since OCaml 5.0
UNIXLIB=unix
## Variables renamed in OCaml 4.13
RUNTIMEI=$(INSTRUMENTED_RUNTIME)