Commit Graph

11 Commits (9e181ca8f446d238ba279bc22fef9d166d4f38b0)

Author SHA1 Message Date
Sébastien Hinderer bdd9ca391e Add the $(EXE) suffix to all programs at build rather than install time
This commit touches neither boot/ocamlc nor boot/ocamllex

It has the side-effect of fixing the cleanup rules which did not use the
$(EXE) extension when removing a file although it was produced with the
$(EXE) extension.
2020-06-18 11:16:55 +02:00
Gabriel Scherer e34e62253f move the REQUIRES_CONFIGURATION logic in Makefile.config_if_required
This lets us share the logic between Makefile.common and Makefile.tools.
2020-05-06 12:10:02 +02:00
David Allsopp d4a566573f Allow make to be invoked before configure
This should be improved to give better warnings for when Makefile.config
and Makefile.common are required.
2018-12-04 10:28:36 +00:00
Sébastien Hinderer 4754ce6ce7 Remove the unused BYTECODE_ONLY and NATIVECODE_ONLY make variables 2019-09-30 15:15:13 +02:00
Sébastien Hinderer a0fa9aa6e8 testsuite: remove dead code
This commit gets rid of the testsuite/makefiles subdirectory.
The summarize.awk file is moved to the testsuite directory, while
Makefile.one and Makefile.common are removed because they are no longer used.
2019-06-11 11:57:09 +02:00
Sébastien Hinderer de8168c303 Make sure the build variables are defined 2019-05-17 13:58:03 +02:00
Sébastien Hinderer ba6362a07d Move config/Makefile to Makefile.config
In order to prepare the transition to autoconf, this commit moves the
configuration Makefile out of the config directory which will disappear
and gives it the name it will have once intstalled, namely Makefile.config.
2018-09-17 14:23:35 +02:00
Sébastien Hinderer d3e73595e5 Merge the asmrun and byterun directories into the runtime directory 2018-06-28 17:50:33 +02:00
Sébastien Hinderer 6380e26a52 Makefile.tools: remove the definition of the EXPECT_TEST variable
This variable is not used any longer
2018-06-22 09:35:40 +02:00
Demi Obenour d89af40f64 Install native versions of tools by default.
Previously, `ocamlc`, `ocamlopt`, `ocamllex`, and `ocamldep` defaulted
to the bytecode versions of the tools.  However, there is normally no
advantage to the bytecode versions if the native-code versions are
available, except in unusual circumstances.  Instead, install the
native-code versions without the `.opt` suffix.  They are still
installed with the `.opt` suffix for backwards compatibility.  Finally,
install the bytecode versions with the `.byte` suffix, and build
native-code versions of tools that are not currently built in native
code.

Also, remove some duplication in tools/Makefile.shared.

Supersedes GPR #512.
2016-06-06 14:44:10 -04:00
octachron 199575a57a Manual: move Makefile.tools to root directory
Since, Makefile.tools is used by both the testsuite and the manual, it
should be moved to the first common ancestor of the two subdirectories:
the root directory.

Note: also remove testsuite/lib/empty and use noinit when invoking the
ocaml interpreter.
2016-04-25 13:19:37 +02:00