diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-06-12 16:22:20 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-06-12 16:43:33 +0200 |
commit | 83d8b081c02cfde83c8fd93102f8f1aae3fe87b3 (patch) | |
tree | 53e67d72f9c7ce29e05c8c69d0e75c30c40a3cea /Makefile.common | |
parent | 9097e9a84cf3841cd5fac81a7fe309ae2dec246f (diff) | |
parent | fd8c2ff85c098149f11280af5f1a257dd6af3622 (diff) |
Merge PR#709: Bytecode compilation apart from 'make world', again
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common index 62bbbc4fd..b2e1d47df 100644 --- a/Makefile.common +++ b/Makefile.common @@ -41,10 +41,26 @@ CSDPCERT:=plugins/micromega/csdpcert$(EXE) # Object and Source files ########################################################################### -ifeq ($(HASNATDYNLINK)-$(BEST),true-opt) - DEPNATDYN:= +ifeq ($(HASNATDYNLINK)-$(BEST),false-opt) + # static link of plugins, do not mention them in .v.d + DYNDEP:=-dyndep no +else + DYNDEP:=-dyndep var +endif + +# Which coqtop do we use to build .vo file ? The best ;-) +# Note: $(BEST) could be overridden by the user if a byte build is desired +# Note: coqdep -dyndep var will use $(DYNOBJ) and $(DYNLIB) extensions +# for Declare ML Module files. + +ifeq ($(BEST),opt) +COQTOPBEST:=$(COQTOPEXE) +DYNOBJ:=.cmxs +DYNLIB:=.cmxs else - DEPNATDYN:=-natdynlink no +COQTOPBEST:=$(COQTOPBYTE) +DYNOBJ:=.cmo +DYNLIB:=.cma endif INSTALLBIN:=install |