diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-12-08 20:47:12 +0100 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-12-08 20:47:12 +0100 |
commit | d8298ac9c1cc5cde0dfa35963efd1dcddb57c4d7 (patch) | |
tree | 41b46ee07fde1fb2e79396a1d17cf26944beb7ce /Makefile.install | |
parent | 7b40908bfbc255d51384e88a73fa5d98380b237f (diff) |
[makefile] Address #6291: install more development files.
As noted in the bug #6291, `.cmx` files are not installed in the
coqlib, which yields the warning:
```
Warning 58: no cmx file was found in path for module Sorts, and its
interface was not compiled with -opaque
```
We thus install the `cmx` files to fix this problem, and also install
the `.o` files for plugins' `.o` to support linking the plugins
statically.
This closes #5099 and #6291.
Diffstat (limited to 'Makefile.install')
-rw-r--r-- | Makefile.install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.install b/Makefile.install index b590aad54..27694106f 100644 --- a/Makefile.install +++ b/Makefile.install @@ -101,12 +101,16 @@ INSTALLCMI = $(sort \ $(foreach lib,$(CORECMA), $(addsuffix .cmi,$($(lib:.cma=_MLLIB_DEPENDENCIES))))) \ $(PLUGINS:.cmo=.cmi) +INSTALLCMX = $(sort $(filter-out checker/% ide/% tools/% dev/% configure.cmx, $(MLFILES:.ml=.cmx))) + install-devfiles: $(MKDIR) $(FULLBINDIR) $(INSTALLBIN) $(COQMKTOP) $(FULLBINDIR) $(MKDIR) $(FULLCOQLIB) $(INSTALLSH) $(FULLCOQLIB) $(GRAMMARCMA) $(INSTALLSH) $(FULLCOQLIB) $(INSTALLCMI) + $(INSTALLSH) $(FULLCOQLIB) $(INSTALLCMX) + $(INSTALLSH) $(FULLCOQLIB) $(PLUGINSCMO:.cmo=.o) $(INSTALLSH) $(FULLCOQLIB) $(TOOLS_HELPERS) ifeq ($(BEST),opt) $(INSTALLSH) $(FULLCOQLIB) $(LINKCMX) $(CORECMA:.cma=.a) $(STATICPLUGINS:.cma=.a) |