summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.depend7
-rw-r--r--driver/optmain.mli19
2 files changed, 24 insertions, 2 deletions
diff --git a/.depend b/.depend
index 8f9111474a..5d21d1b6da 100644
--- a/.depend
+++ b/.depend
@@ -6162,9 +6162,12 @@ driver/opterrors.cmx : \
driver/opterrors.cmi
driver/opterrors.cmi :
driver/optmain.cmo : \
- driver/optmaindriver.cmi
+ driver/optmaindriver.cmi \
+ driver/optmain.cmi
driver/optmain.cmx : \
- driver/optmaindriver.cmx
+ driver/optmaindriver.cmx \
+ driver/optmain.cmi
+driver/optmain.cmi :
driver/optmaindriver.cmo : \
utils/warnings.cmi \
utils/profile.cmi \
diff --git a/driver/optmain.mli b/driver/optmain.mli
new file mode 100644
index 0000000000..c12f78d975
--- /dev/null
+++ b/driver/optmain.mli
@@ -0,0 +1,19 @@
+(**************************************************************************)
+(* *)
+(* OCaml *)
+(* *)
+(* Sebastien Hinderer, projet Cambium, INRIA Paris *)
+(* *)
+(* Copyright 2022 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. *)
+(* *)
+(**************************************************************************)
+
+(* Interface to the native compiler's main module *)
+
+(* This interface file is empty because driver/optmain.ml only runs
+ code during initialisation and exports nothing *)