X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FMakefile.in;h=fb9f9cf5befe6273c53452b8b9d85693d3e47e69;hb=b5d69130dd83587b5fb9cbb39251aaa8df8c456e;hp=c784b0be698f86fb9a5472ec2f8a64d3824e2ab2;hpb=d651bf2e3d560e194fbe948dd950dd600a40eab6;p=helm.git diff --git a/helm/matita/Makefile.in b/helm/matita/Makefile.in index c784b0be6..fb9f9cf5b 100644 --- a/helm/matita/Makefile.in +++ b/helm/matita/Makefile.in @@ -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 $@ $^