Commit c4928f7d authored by Guillaume Melquiond's avatar Guillaume Melquiond

Merge branch 'cmxs_compilation' into 'next'

Compile and install the cmxs

See merge request !3
parents 2d310952 7098b58e
......@@ -261,10 +261,11 @@ src/coq-tactic/why3tac.cmx: WARNINGS:=$(WARNINGS)-58
# build targets
byte: lib/why3/why3.cma
opt: lib/why3/why3.cmxa
opt: lib/why3/why3.cmxa lib/why3/why3.cmxs
lib/why3/why3.cma: lib/why3/why3.cmo
lib/why3/why3.cmxa: lib/why3/why3.cmx
lib/why3/why3.cmxs: lib/why3/why3.cmx
lib/why3/why3.cmo: $(LIBCMO)
$(SHOW) 'Linking $@'
......@@ -1366,10 +1367,11 @@ byte: $(OCAMLLIBS_CMO)
opt: $(OCAMLLIBS_CMX)
byte: lib/why3/why3extract.cma
opt: lib/why3/why3extract.cmxa
opt: lib/why3/why3extract.cmxa lib/why3/why3extract.cmxs
lib/why3/why3extract.cma: lib/why3/why3extract.cmo
lib/why3/why3extract.cmxa: lib/why3/why3extract.cmx
lib/why3/why3extract.cmxs: lib/why3/why3extract.cmx
lib/why3/why3extract.cmo: $(OCAMLLIBS_CMO)
$(SHOW) 'Linking $@'
......
......@@ -2,6 +2,7 @@ description = "Why3 library"
version = "@VERSION@"
archive(byte) = "why3.cma"
archive(native) = "why3.cmxa"
plugin(native) = "why3.cmxs"
requires = "str unix num dynlink @ZIPLIB@ @MENHIRLIB@"
package "extract" (
......@@ -10,4 +11,5 @@ package "extract" (
requires = "@BIGINTPKG@"
archive(byte) = "why3extract.cma"
archive(native) = "why3extract.cmxa"
plugin(native) = "why3extract.cmxs"
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment