Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
8cb69177
Commit
8cb69177
authored
Sep 05, 2014
by
Andrei Paskevich
Browse files
add -bin-annot for OCaml >= 4.0 (thanks to JP Deplaix)
parent
c35bc50b
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
8cb69177
...
...
@@ -11,6 +11,8 @@ why3.conf
*.cmxs
*.cma
*.cmxa
*.cmt
*.cmti
*.annot
*.dep
*.vo
...
...
Makefile.in
View file @
8cb69177
...
...
@@ -74,6 +74,11 @@ ifeq (@enable_profiling@,yes)
OFLAGS
+=
-g
-p
endif
ifeq
(@enable_bin_annot@,yes)
OFLAGS
+=
-bin-annot
BFLAGS
+=
-bin-annot
endif
# external libraries common to all binaries
EXTOBJS
=
...
...
@@ -83,7 +88,7 @@ EXTCMA = $(addsuffix .cma,$(EXTLIBS)) $(addsuffix .cmo,$(EXTOBJS))
EXTCMXA
=
$(
addsuffix
.cmxa,
$(EXTLIBS)
)
$(
addsuffix
.cmx,
$(EXTOBJS)
)
INSTALLED_LIB_EXTS
=
a cma cmx cmi cmxa cmxs
COMPILED_LIB_EXTS
=
$(INSTALLED_LIB_EXTS)
o cmo annot dep output
COMPILED_LIB_EXTS
=
$(INSTALLED_LIB_EXTS)
o cmo
cmt cmti
annot dep output
TARGET_EMACS
=
share/emacs/why3.elc
...
...
configure.in
View file @
8cb69177
...
...
@@ -309,6 +309,13 @@ else
OCAMLINSTALLLIB=$OCAMLLIB
fi
# bin-annot
case "$OCAMLVERSION" in
0.*|1.*|2.*|3.*)
enable_bin_annot=no;;
*)
enable_bin_annot=yes;;
esac
# checking for rubber
if test "$enable_doc" = yes ; then
...
...
@@ -693,6 +700,7 @@ AC_SUBST(OCAMLGRAPHLIB)
dnl AC_SUBST(OCAMLWEB)
AC_SUBST(enable_profiling)
AC_SUBST(enable_bin_annot)
AC_SUBST(CAMLP5O)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment