]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
snapshot
[helm.git] / helm / matita / Makefile.in
index 02686b0fb1d0ff97879a106261539b9a4d9ce834..d8265a27ae95db8babcab437ef2129ee1e800849 100644 (file)
@@ -2,8 +2,9 @@
 OCAMLFIND = @OCAMLFIND@
 CAMLP4O = @CAMLP4O@
 LABLGLADECC = @LABLGLADECC@
+REQUIRES = @FINDLIB_REQUIRES@
+HAVE_OCAMLOPT = @HAVE_OCAMLOPT@
 
-REQUIRES = lablgtk2.glade helm-registry
 OCAML_FLAGS = -package "$(REQUIRES)" -pp $(CAMLP4O)
 OCAML_THREADS_FLAGS = -thread
 OCAML_DEBUG_FLAGS =
@@ -14,11 +15,20 @@ CMOS =                              \
        buildTimeConf.cmo       \
        matitaGeneratedGui.cmo  \
        matitaGtkMisc.cmo       \
-       matitaGui.cmo
+       matitaGui.cmo           \
+       matitaTypes.cmo         \
+       matitaProof.cmo         \
+       matitaDisambiguator.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 $@ $^