diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | Makefile.nt | 10 | ||||
-rwxr-xr-x | stdlib/Makefile.shared | 3 |
4 files changed, 18 insertions, 7 deletions
@@ -80,6 +80,8 @@ Features wishes: (Gabor Pali) - PR#6367: introduce Asttypes.arg_label to encode labelled arguments - PR#6611: remove the option wrapper on optional arguments in the syntax tree +- PR#6691: install .cmt[i] files for stdlib and compiler-libs + (David Sheets, request by Gabriel Radanne) - PR#6742: remove duplicate virtual_flag information from Tstr_class OCaml 4.02.2: @@ -336,8 +336,12 @@ install: cd stdlib; $(MAKE) install cp lex/ocamllex $(INSTALL_BINDIR)/ocamllex$(EXE) cp yacc/ocamlyacc$(EXE) $(INSTALL_BINDIR)/ocamlyacc$(EXE) - cp utils/*.cmi parsing/*.cmi typing/*.cmi bytecomp/*.cmi driver/*.cmi \ - toplevel/*.cmi $(INSTALL_COMPLIBDIR) + cp utils/*.cmi utils/*.cmt utils/*.cmti \ + parsing/*.cmi parsing/*.cmt parsing/*.cmti \ + typing/*.cmi typing/*.cmt typing/*.cmti \ + bytecomp/*.cmi bytecomp/*.cmt bytecomp/*.cmti \ + driver/*.cmi driver/*.cmt driver/*.cmti \ + toplevel/*.cmi toplevel/*.cmt toplevel/*.cmti $(INSTALL_COMPLIBDIR) cp compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma \ compilerlibs/ocamltoplevel.cma $(BYTESTART) $(TOPLEVELSTART) \ $(INSTALL_COMPLIBDIR) @@ -361,7 +365,7 @@ installopt: cd asmrun; $(MAKE) install cp ocamlopt $(INSTALL_BINDIR)/ocamlopt$(EXE) cd stdlib; $(MAKE) installopt - cp asmcomp/*.cmi $(INSTALL_COMPLIBDIR) + cp asmcomp/*.cmi asmcomp/*.cmt asmcomp/*.cmti $(INSTALL_COMPLIBDIR) cp compilerlibs/ocamloptcomp.cma $(OPTSTART) $(INSTALL_COMPLIBDIR) if test -n "$(WITH_OCAMLDOC)"; then (cd ocamldoc; $(MAKE) installopt); \ else :; fi diff --git a/Makefile.nt b/Makefile.nt index 6db8a99ba..6fe9f6045 100644 --- a/Makefile.nt +++ b/Makefile.nt @@ -262,8 +262,12 @@ installbyt: cd stdlib ; $(MAKEREC) install cp lex/ocamllex $(INSTALL_BINDIR)/ocamllex.exe cp yacc/ocamlyacc.exe $(INSTALL_BINDIR)/ocamlyacc.exe - cp utils/*.cmi parsing/*.cmi typing/*.cmi bytecomp/*.cmi driver/*.cmi \ - toplevel/*.cmi $(INSTALL_COMPLIBDIR) + cp utils/*.cmi utils/*.cmt utils/*.cmti \ + parsing/*.cmi parsing/*.cmt parsing/*.cmti \ + typing/*.cmi typing/*.cmt typing/*.cmti \ + bytecomp/*.cmi bytecomp/*.cmt bytecomp/*.cmti \ + driver/*.cmi driver/*.cmt driver/*.cmti \ + toplevel/*.cmi toplevel/*.cmt toplevel/*.cmti $(INSTALL_COMPLIBDIR) cp compilerlibs/ocamlcommon.cma compilerlibs/ocamlbytecomp.cma \ compilerlibs/ocamltoplevel.cma $(BYTESTART) $(TOPLEVELSTART) \ $(INSTALL_COMPLIBDIR) @@ -290,7 +294,7 @@ installopt: cd asmrun ; $(MAKEREC) install cp ocamlopt $(INSTALL_BINDIR)/ocamlopt.exe cd stdlib ; $(MAKEREC) installopt - cp asmcomp/*.cmi $(INSTALL_COMPLIBDIR) + cp asmcomp/*.cmi asmcomp/*.cmt asmcomp/*.cmti $(INSTALL_COMPLIBDIR) cp compilerlibs/ocamloptcomp.cma $(OPTSTART) $(INSTALL_COMPLIBDIR) if test -n "$(WITH_OCAMLDOC)"; then (cd ocamldoc; $(MAKEREC) installopt); fi if test -n "$(WITH_OCAMLBUILD)"; then (cd ocamlbuild; $(MAKE) installopt); \ diff --git a/stdlib/Makefile.shared b/stdlib/Makefile.shared index 54de337cb..5f5761f92 100755 --- a/stdlib/Makefile.shared +++ b/stdlib/Makefile.shared @@ -42,7 +42,8 @@ all: stdlib.cma std_exit.cmo camlheader camlheader_ur INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR) install: install-$(RUNTIMED) - cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur \ + cp stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \ + camlheader camlheader_ur \ $(INSTALL_LIBDIR) install-noruntimed: |