]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
snapshot
[helm.git] / helm / matita / Makefile.in
index c784b0be698f86fb9a5472ec2f8a64d3824e2ab2..fb9f9cf5befe6273c53452b8b9d85693d3e47e69 100644 (file)
@@ -3,6 +3,7 @@ OCAMLFIND = @OCAMLFIND@
 CAMLP4O = @CAMLP4O@
 LABLGLADECC = @LABLGLADECC@
 REQUIRES = @FINDLIB_REQUIRES@
+HAVE_OCAMLOPT = @HAVE_OCAMLOPT@
 
 OCAML_FLAGS = -package "$(REQUIRES)" -pp $(CAMLP4O)
 OCAML_THREADS_FLAGS = -thread
@@ -14,11 +15,19 @@ CMOS =                              \
        buildTimeConf.cmo       \
        matitaGeneratedGui.cmo  \
        matitaGtkMisc.cmo       \
-       matitaGui.cmo
+       matitaGui.cmo           \
+       matitaTypes.cmo         \
+       matitaProof.cmo
 CMXS = $(patsubst %.cmo,%.cmx,$(CMOS))
 
 all: matita
+
+ifeq ($(HAVE_OCAMLOPT),yes)
 opt: matita.opt
+else
+opt:
+       @echo "Native code compilation is disabled"
+endif
 
 matita: $(CMOS) matita.ml
        $(OCAMLC) -linkpkg -o $@ $^